571 lines
16 KiB
Plaintext
571 lines
16 KiB
Plaintext
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.41.34120.0
|
|
|
|
include listing.inc
|
|
|
|
INCLUDELIB MSVCRTD
|
|
INCLUDELIB OLDNAMES
|
|
|
|
_DATA SEGMENT
|
|
COMM infolog:BYTE:0200H
|
|
_DATA ENDS
|
|
msvcjmc SEGMENT
|
|
__7583A0D2_mmintrin@h DB 01H
|
|
__DDA0A690_concurrencysal@h DB 01H
|
|
__9ECC08BE_sal@h DB 01H
|
|
__E05D733A_vadefs@h DB 01H
|
|
__6A355E0E_vcruntime@h DB 01H
|
|
__1B0272D9_corecrt@h DB 01H
|
|
__45DED006_corecrt_malloc@h DB 01H
|
|
__FA77ED4C_malloc@h DB 01H
|
|
__EAE0325A_xmmintrin@h DB 01H
|
|
__0ED14FEE_winpackagefamily@h DB 01H
|
|
__F92EF742_winapifamily@h DB 01H
|
|
__22E515EB_sdkddkver@h DB 01H
|
|
__A09A3A7D_excpt@h DB 01H
|
|
__AC8FA393_stdarg@h DB 01H
|
|
__29F49F40_specstrings_undef@h DB 01H
|
|
__D0F42932_specstrings_strict@h DB 01H
|
|
__F00405FD_sdv_driverspecs@h DB 01H
|
|
__173E09CA_driverspecs@h DB 01H
|
|
__9A452361_specstrings@h DB 01H
|
|
__74484FB3_corecrt_wctype@h DB 01H
|
|
__1EC467ED_ctype@h DB 01H
|
|
__98517906_kernelspecs@h DB 01H
|
|
__D3497022_basetsd@h DB 01H
|
|
__61CC25A1_errno@h DB 01H
|
|
__890838BD_vcruntime_string@h DB 01H
|
|
__E4C945B4_corecrt_memcpy_s@h DB 01H
|
|
__8EAFF484_corecrt_memory@h DB 01H
|
|
__6490AEC5_corecrt_wstring@h DB 01H
|
|
__E8295E1E_string@h DB 01H
|
|
__7FCB5136_guiddef@h DB 01H
|
|
__FF8A9E11_pshpack4@h DB 01H
|
|
__D5438902_poppack@h DB 01H
|
|
__FB07E2A3_pshpack2@h DB 01H
|
|
__F6906775_pshpack8@h DB 01H
|
|
__F9415CFA_pshpack1@h DB 01H
|
|
__E58C6F1C_apiset@h DB 01H
|
|
__A5C52262_ktmtypes@h DB 01H
|
|
__FBBA8F9D_winnt@h DB 01H
|
|
__A32D3D2C_minwindef@h DB 01H
|
|
__7D798299_windef@h DB 01H
|
|
__9AE108E9_apisetcconv@h DB 01H
|
|
__9CE53D2C_minwinbase@h DB 01H
|
|
__5D0AA210_apiquery2@h DB 01H
|
|
__4DD4E726_processenv@h DB 01H
|
|
__3575CC96_fileapi@h DB 01H
|
|
__8EA220E6_fileapifromapp@h DB 01H
|
|
__BF9B31FE_debugapi@h DB 01H
|
|
__C3AFE134_utilapiset@h DB 01H
|
|
__76F69E51_handleapi@h DB 01H
|
|
__7E63D784_errhandlingapi@h DB 01H
|
|
__FFA7003C_fibersapi@h DB 01H
|
|
__8971CECF_namedpipeapi@h DB 01H
|
|
__46C9D8A6_profileapi@h DB 01H
|
|
__98D4F0A3_heapapi@h DB 01H
|
|
__50EF2A88_ioapiset@h DB 01H
|
|
__92EA1464_synchapi@h DB 01H
|
|
__A53D8AED_interlockedapi@h DB 01H
|
|
__B506CAAF_processthreadsapi@h DB 01H
|
|
__FF735694_sysinfoapi@h DB 01H
|
|
__29589789_memoryapi@h DB 01H
|
|
__E9C7A663_enclaveapi@h DB 01H
|
|
__D035F9F7_threadpoollegacyapiset@h DB 01H
|
|
__C899130C_threadpoolapiset@h DB 01H
|
|
__E0441EE7_jobapi@h DB 01H
|
|
__CEF86838_jobapi2@h DB 01H
|
|
__35AC6B9A_wow64apiset@h DB 01H
|
|
__C8AE41A5_libloaderapi@h DB 01H
|
|
__CC9E232D_securitybaseapi@h DB 01H
|
|
__C9D0C9B8_namespaceapi@h DB 01H
|
|
__30FF9CAD_systemtopologyapi@h DB 01H
|
|
__4D358795_processtopologyapi@h DB 01H
|
|
__40446D10_securityappcontainer@h DB 01H
|
|
__3A952EDF_realtimeapiset@h DB 01H
|
|
__F4865F4B_winerror@h DB 01H
|
|
__53C1BD93_timezoneapi@h DB 01H
|
|
__1FFBEDBF_winbase@h DB 01H
|
|
__43D3FA34_wingdi@h DB 01H
|
|
__D24A7391_tvout@h DB 01H
|
|
__7713A6C8_winuser@h DB 01H
|
|
__0B345F71_datetimeapi@h DB 01H
|
|
__9AC6960C_winnls@h DB 01H
|
|
__973A40A8_stringapiset@h DB 01H
|
|
__CC46FEE2_wincontypes@h DB 01H
|
|
__97D70BE1_consoleapi@h DB 01H
|
|
__27EC5E18_consoleapi2@h DB 01H
|
|
__262E342F_consoleapi3@h DB 01H
|
|
__641DCD70_wincon@h DB 01H
|
|
__5A96C7A7_verrsrc@h DB 01H
|
|
__B69C6FF2_winver@h DB 01H
|
|
__7AEB8C37_reason@h DB 01H
|
|
__59F1A8A9_winreg@h DB 01H
|
|
__EE0E2B7F_wnnc@h DB 01H
|
|
__DCDB7054_winnetwk@h DB 01H
|
|
__81DDEDE3_stralign@h DB 01H
|
|
__2134D1B4_winsvc@h DB 01H
|
|
__11C07376_mcx@h DB 01H
|
|
__577CE3E7_ime_cmodes@h DB 01H
|
|
__1E72C31E_imm@h DB 01H
|
|
__E15BF856_windows@h DB 01H
|
|
__8FC206A7_ssc_internal@h DB 01H
|
|
__44420885_corecrt_stdio_config@h DB 01H
|
|
__AB601D8D_corecrt_wstdio@h DB 01H
|
|
__C1EC35D3_stdio@h DB 01H
|
|
__13F5961F_stddef@h DB 01H
|
|
__FD6DBD68_corecrt_search@h DB 01H
|
|
__E2E33A61_corecrt_wstdlib@h DB 01H
|
|
__26263363_limits@h DB 01H
|
|
__6E5ACABA_stdlib@h DB 01H
|
|
__9049550C_stb_image@h DB 01H
|
|
__98501D5C_stdint@h DB 01H
|
|
__264E89B8_khrplatform@h DB 01H
|
|
__799FCA13_gl@h DB 01H
|
|
__A57296D0_wgl@h DB 01H
|
|
__417F438F_glfw3@h DB 01H
|
|
__8F82BB96_emmintrin@h DB 01H
|
|
__5023D31F_pmmintrin@h DB 01H
|
|
__E0FAA09D_tmmintrin@h DB 01H
|
|
__C9C1B51E_smmintrin@h DB 01H
|
|
__ACA33CD2_nmmintrin@h DB 01H
|
|
__7918C69C_wmmintrin@h DB 01H
|
|
__B28C8B9B_zmmintrin@h DB 01H
|
|
__85982951_immintrin@h DB 01H
|
|
__19139D6C_assert@h DB 01H
|
|
__0C16F932_StgSharpC@h DB 01H
|
|
__B2F9F159_intrin0@inl@h DB 01H
|
|
__0833F55F_setjmp@h DB 01H
|
|
__3F5BC814_ammintrin@h DB 01H
|
|
__2E054928_intrin@h DB 01H
|
|
__5A8332CE_isa_availability@h DB 01H
|
|
__EB6C2FE1_ssc_intrinsic@h DB 01H
|
|
__A2A5DCB5_string@c DB 01H
|
|
msvcjmc ENDS
|
|
PUBLIC index_pair_sse
|
|
PUBLIC __JustMyCode_Default
|
|
EXTRN _RTC_CheckStackVars:PROC
|
|
EXTRN _RTC_InitBase:PROC
|
|
EXTRN _RTC_Shutdown:PROC
|
|
EXTRN __CheckForDebuggerJustMyCode:PROC
|
|
EXTRN __GSHandlerCheck:PROC
|
|
EXTRN __security_check_cookie:PROC
|
|
EXTRN __security_cookie:QWORD
|
|
; COMDAT pdata
|
|
pdata SEGMENT
|
|
$pdata$index_pair_sse DD imagerel $LN23
|
|
DD imagerel $LN23+681
|
|
DD imagerel $unwind$index_pair_sse
|
|
pdata ENDS
|
|
; COMDAT rtc$TMZ
|
|
rtc$TMZ SEGMENT
|
|
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
|
|
rtc$TMZ ENDS
|
|
; COMDAT rtc$IMZ
|
|
rtc$IMZ SEGMENT
|
|
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
|
|
rtc$IMZ ENDS
|
|
; COMDAT voltbl
|
|
voltbl SEGMENT
|
|
_volmd DW 03fH
|
|
DW 0290H
|
|
voltbl ENDS
|
|
; COMDAT xdata
|
|
xdata SEGMENT
|
|
$unwind$index_pair_sse DD 025054619H
|
|
DD 0117231cH
|
|
DD 070100047H
|
|
DD 0500fH
|
|
DD imagerel __GSHandlerCheck
|
|
DD 0228H
|
|
xdata ENDS
|
|
; COMDAT CONST
|
|
CONST SEGMENT
|
|
index_pair_sse$rtcName$0 DB 073H
|
|
DB 00H
|
|
ORG $+14
|
|
index_pair_sse$rtcVarDesc DD 0b0H
|
|
DD 010H
|
|
DQ FLAT:index_pair_sse$rtcName$0
|
|
ORG $+48
|
|
index_pair_sse$rtcFrameData DD 01H
|
|
DD 00H
|
|
DQ FLAT:index_pair_sse$rtcVarDesc
|
|
CONST ENDS
|
|
; Function compile flags: /Odt
|
|
; COMDAT __JustMyCode_Default
|
|
_TEXT SEGMENT
|
|
__JustMyCode_Default PROC ; COMDAT
|
|
00000 c2 00 00 ret 0
|
|
__JustMyCode_Default ENDP
|
|
_TEXT ENDS
|
|
; Function compile flags: /Odtp /RTCsu /ZI
|
|
; File D:\NitloadIndustry\Ñо¿ÏîÄ¿\1-Flagship\TH2020\ProjectFile\ÄÚºËÔ´´úÂë\StgSharp.C\string.c
|
|
; COMDAT index_pair_sse
|
|
_TEXT SEGMENT
|
|
index$ = 4
|
|
result$ = 36
|
|
size$ = 68
|
|
end$ = 100
|
|
s$ = 144
|
|
vec$ = 192
|
|
com$ = 240
|
|
i$4 = 280
|
|
i$5 = 312
|
|
tv152 = 516
|
|
__$ArrayPad$ = 520
|
|
str$ = 560
|
|
target$ = 568
|
|
length$ = 576
|
|
index_pair_sse PROC ; COMDAT
|
|
|
|
; 4 : {
|
|
|
|
$LN23:
|
|
00000 44 89 44 24 18 mov DWORD PTR [rsp+24], r8d
|
|
00005 89 54 24 10 mov DWORD PTR [rsp+16], edx
|
|
00009 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
|
|
0000e 55 push rbp
|
|
0000f 57 push rdi
|
|
00010 48 81 ec 38 02
|
|
00 00 sub rsp, 568 ; 00000238H
|
|
00017 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
|
|
0001c 48 8d 7c 24 20 lea rdi, QWORD PTR [rsp+32]
|
|
00021 b9 56 00 00 00 mov ecx, 86 ; 00000056H
|
|
00026 b8 cc cc cc cc mov eax, -858993460 ; ccccccccH
|
|
0002b f3 ab rep stosd
|
|
0002d 48 8b 8c 24 58
|
|
02 00 00 mov rcx, QWORD PTR [rsp+600]
|
|
00035 48 8b 05 00 00
|
|
00 00 mov rax, QWORD PTR __security_cookie
|
|
0003c 48 33 c5 xor rax, rbp
|
|
0003f 48 89 85 08 02
|
|
00 00 mov QWORD PTR __$ArrayPad$[rbp], rax
|
|
00046 48 8d 0d 00 00
|
|
00 00 lea rcx, OFFSET FLAT:__A2A5DCB5_string@c
|
|
0004d e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
|
00052 90 npad 1
|
|
|
|
; 5 : int index = 0, result = 0, size = length, end = size - 8;
|
|
|
|
00053 c7 45 04 00 00
|
|
00 00 mov DWORD PTR index$[rbp], 0
|
|
0005a c7 45 24 00 00
|
|
00 00 mov DWORD PTR result$[rbp], 0
|
|
00061 8b 85 40 02 00
|
|
00 mov eax, DWORD PTR length$[rbp]
|
|
00067 89 45 44 mov DWORD PTR size$[rbp], eax
|
|
0006a 8b 45 44 mov eax, DWORD PTR size$[rbp]
|
|
0006d 83 e8 08 sub eax, 8
|
|
00070 89 45 64 mov DWORD PTR end$[rbp], eax
|
|
|
|
; 6 : __m128i s = {
|
|
|
|
00073 0f b6 85 38 02
|
|
00 00 movzx eax, BYTE PTR target$[rbp]
|
|
0007a 88 85 90 00 00
|
|
00 mov BYTE PTR s$[rbp], al
|
|
00080 0f b6 85 38 02
|
|
00 00 movzx eax, BYTE PTR target$[rbp]
|
|
00087 88 85 91 00 00
|
|
00 mov BYTE PTR s$[rbp+1], al
|
|
0008d 0f b6 85 38 02
|
|
00 00 movzx eax, BYTE PTR target$[rbp]
|
|
00094 88 85 92 00 00
|
|
00 mov BYTE PTR s$[rbp+2], al
|
|
0009a 0f b6 85 38 02
|
|
00 00 movzx eax, BYTE PTR target$[rbp]
|
|
000a1 88 85 93 00 00
|
|
00 mov BYTE PTR s$[rbp+3], al
|
|
000a7 48 8d 85 94 00
|
|
00 00 lea rax, QWORD PTR s$[rbp+4]
|
|
000ae 48 8b f8 mov rdi, rax
|
|
000b1 33 c0 xor eax, eax
|
|
000b3 b9 0c 00 00 00 mov ecx, 12
|
|
000b8 f3 aa rep stosb
|
|
$LN2@index_pair:
|
|
|
|
; 7 : target,
|
|
; 8 : target,
|
|
; 9 : target,
|
|
; 10 : target,
|
|
; 11 : };
|
|
; 12 : __m128i vec, com;
|
|
; 13 :
|
|
; 14 : while (index < end) {
|
|
|
|
000ba 8b 45 64 mov eax, DWORD PTR end$[rbp]
|
|
000bd 39 45 04 cmp DWORD PTR index$[rbp], eax
|
|
000c0 0f 8d 52 01 00
|
|
00 jge $LN3@index_pair
|
|
|
|
; 15 : vec = _mm_loadu_epi32(str + index);
|
|
|
|
000c6 48 63 45 04 movsxd rax, DWORD PTR index$[rbp]
|
|
000ca 48 8b 8d 30 02
|
|
00 00 mov rcx, QWORD PTR str$[rbp]
|
|
000d1 48 8d 04 41 lea rax, QWORD PTR [rcx+rax*2]
|
|
000d5 c5 fa 6f 00 vmovdqu xmm0, XMMWORD PTR [rax]
|
|
000d9 66 0f 7f 85 c0
|
|
00 00 00 movdqa XMMWORD PTR vec$[rbp], xmm0
|
|
|
|
; 16 : com = _mm_cmpeq_epi16(vec, s);
|
|
|
|
000e1 66 0f 6f 85 c0
|
|
00 00 00 movdqa xmm0, XMMWORD PTR vec$[rbp]
|
|
000e9 66 0f 75 85 90
|
|
00 00 00 pcmpeqw xmm0, XMMWORD PTR s$[rbp]
|
|
000f1 66 0f 7f 85 f0
|
|
00 00 00 movdqa XMMWORD PTR com$[rbp], xmm0
|
|
|
|
; 17 : result = _mm_movemask_epi8(com);
|
|
|
|
000f9 66 0f 6f 85 f0
|
|
00 00 00 movdqa xmm0, XMMWORD PTR com$[rbp]
|
|
00101 66 0f d7 c0 pmovmskb eax, xmm0
|
|
00105 89 45 24 mov DWORD PTR result$[rbp], eax
|
|
|
|
; 18 : if (result) {
|
|
|
|
00108 83 7d 24 00 cmp DWORD PTR result$[rbp], 0
|
|
0010c 74 56 je SHORT $LN13@index_pair
|
|
|
|
; 19 : for (size_t i = 0; i < 7; i++) {
|
|
|
|
0010e 48 c7 85 18 01
|
|
00 00 00 00 00
|
|
00 mov QWORD PTR i$4[rbp], 0
|
|
00119 eb 11 jmp SHORT $LN6@index_pair
|
|
$LN4@index_pair:
|
|
0011b 48 8b 85 18 01
|
|
00 00 mov rax, QWORD PTR i$4[rbp]
|
|
00122 48 ff c0 inc rax
|
|
00125 48 89 85 18 01
|
|
00 00 mov QWORD PTR i$4[rbp], rax
|
|
$LN6@index_pair:
|
|
0012c 48 83 bd 18 01
|
|
00 00 07 cmp QWORD PTR i$4[rbp], 7
|
|
00134 73 2e jae SHORT $LN5@index_pair
|
|
|
|
; 20 : if (((result & 0xF) == 0xF)) {
|
|
|
|
00136 8b 45 24 mov eax, DWORD PTR result$[rbp]
|
|
00139 83 e0 0f and eax, 15
|
|
0013c 83 f8 0f cmp eax, 15
|
|
0013f 75 10 jne SHORT $LN14@index_pair
|
|
|
|
; 21 : return index + i;
|
|
|
|
00141 48 63 45 04 movsxd rax, DWORD PTR index$[rbp]
|
|
00145 48 03 85 18 01
|
|
00 00 add rax, QWORD PTR i$4[rbp]
|
|
0014c e9 29 01 00 00 jmp $LN1@index_pair
|
|
$LN14@index_pair:
|
|
|
|
; 22 : }
|
|
; 23 : if (result == 0) {
|
|
|
|
00151 83 7d 24 00 cmp DWORD PTR result$[rbp], 0
|
|
00155 75 02 jne SHORT $LN15@index_pair
|
|
|
|
; 24 : break;
|
|
|
|
00157 eb 0b jmp SHORT $LN5@index_pair
|
|
$LN15@index_pair:
|
|
|
|
; 25 : }
|
|
; 26 : result >>= 2;
|
|
|
|
00159 8b 45 24 mov eax, DWORD PTR result$[rbp]
|
|
0015c c1 f8 02 sar eax, 2
|
|
0015f 89 45 24 mov DWORD PTR result$[rbp], eax
|
|
|
|
; 27 : }
|
|
|
|
00162 eb b7 jmp SHORT $LN4@index_pair
|
|
$LN5@index_pair:
|
|
$LN13@index_pair:
|
|
|
|
; 28 : }
|
|
; 29 : index += 1;
|
|
|
|
00164 8b 45 04 mov eax, DWORD PTR index$[rbp]
|
|
00167 ff c0 inc eax
|
|
00169 89 45 04 mov DWORD PTR index$[rbp], eax
|
|
|
|
; 30 : vec = _mm_loadu_epi32(str + index);
|
|
|
|
0016c 48 63 45 04 movsxd rax, DWORD PTR index$[rbp]
|
|
00170 48 8b 8d 30 02
|
|
00 00 mov rcx, QWORD PTR str$[rbp]
|
|
00177 48 8d 04 41 lea rax, QWORD PTR [rcx+rax*2]
|
|
0017b c5 fa 6f 00 vmovdqu xmm0, XMMWORD PTR [rax]
|
|
0017f 66 0f 7f 85 c0
|
|
00 00 00 movdqa XMMWORD PTR vec$[rbp], xmm0
|
|
|
|
; 31 : com = _mm_cmpeq_epi16(vec, s);
|
|
|
|
00187 66 0f 6f 85 c0
|
|
00 00 00 movdqa xmm0, XMMWORD PTR vec$[rbp]
|
|
0018f 66 0f 75 85 90
|
|
00 00 00 pcmpeqw xmm0, XMMWORD PTR s$[rbp]
|
|
00197 66 0f 7f 85 f0
|
|
00 00 00 movdqa XMMWORD PTR com$[rbp], xmm0
|
|
|
|
; 32 : result = _mm_movemask_epi8(com);
|
|
|
|
0019f 66 0f 6f 85 f0
|
|
00 00 00 movdqa xmm0, XMMWORD PTR com$[rbp]
|
|
001a7 66 0f d7 c0 pmovmskb eax, xmm0
|
|
001ab 89 45 24 mov DWORD PTR result$[rbp], eax
|
|
|
|
; 33 : if (result) {
|
|
|
|
001ae 83 7d 24 00 cmp DWORD PTR result$[rbp], 0
|
|
001b2 74 56 je SHORT $LN16@index_pair
|
|
|
|
; 34 : for (size_t i = 0; i < 7; i++) {
|
|
|
|
001b4 48 c7 85 38 01
|
|
00 00 00 00 00
|
|
00 mov QWORD PTR i$5[rbp], 0
|
|
001bf eb 11 jmp SHORT $LN9@index_pair
|
|
$LN7@index_pair:
|
|
001c1 48 8b 85 38 01
|
|
00 00 mov rax, QWORD PTR i$5[rbp]
|
|
001c8 48 ff c0 inc rax
|
|
001cb 48 89 85 38 01
|
|
00 00 mov QWORD PTR i$5[rbp], rax
|
|
$LN9@index_pair:
|
|
001d2 48 83 bd 38 01
|
|
00 00 07 cmp QWORD PTR i$5[rbp], 7
|
|
001da 73 2e jae SHORT $LN8@index_pair
|
|
|
|
; 35 : if (((result & 0xF) == 0xF)) {
|
|
|
|
001dc 8b 45 24 mov eax, DWORD PTR result$[rbp]
|
|
001df 83 e0 0f and eax, 15
|
|
001e2 83 f8 0f cmp eax, 15
|
|
001e5 75 10 jne SHORT $LN17@index_pair
|
|
|
|
; 36 : return index + i;
|
|
|
|
001e7 48 63 45 04 movsxd rax, DWORD PTR index$[rbp]
|
|
001eb 48 03 85 38 01
|
|
00 00 add rax, QWORD PTR i$5[rbp]
|
|
001f2 e9 83 00 00 00 jmp $LN1@index_pair
|
|
$LN17@index_pair:
|
|
|
|
; 37 : }
|
|
; 38 : if (result == 0) {
|
|
|
|
001f7 83 7d 24 00 cmp DWORD PTR result$[rbp], 0
|
|
001fb 75 02 jne SHORT $LN18@index_pair
|
|
|
|
; 39 : break;
|
|
|
|
001fd eb 0b jmp SHORT $LN8@index_pair
|
|
$LN18@index_pair:
|
|
|
|
; 40 : }
|
|
; 41 : result >>= 2;
|
|
|
|
001ff 8b 45 24 mov eax, DWORD PTR result$[rbp]
|
|
00202 c1 f8 02 sar eax, 2
|
|
00205 89 45 24 mov DWORD PTR result$[rbp], eax
|
|
|
|
; 42 : }
|
|
|
|
00208 eb b7 jmp SHORT $LN7@index_pair
|
|
$LN8@index_pair:
|
|
$LN16@index_pair:
|
|
|
|
; 43 : }
|
|
; 44 : index += 7;
|
|
|
|
0020a 8b 45 04 mov eax, DWORD PTR index$[rbp]
|
|
0020d 83 c0 07 add eax, 7
|
|
00210 89 45 04 mov DWORD PTR index$[rbp], eax
|
|
|
|
; 45 : }
|
|
|
|
00213 e9 a2 fe ff ff jmp $LN2@index_pair
|
|
$LN3@index_pair:
|
|
|
|
; 46 : for (; (index < size - 1) && (!result); index += 2) {
|
|
|
|
00218 eb 09 jmp SHORT $LN12@index_pair
|
|
$LN10@index_pair:
|
|
0021a 8b 45 04 mov eax, DWORD PTR index$[rbp]
|
|
0021d 83 c0 02 add eax, 2
|
|
00220 89 45 04 mov DWORD PTR index$[rbp], eax
|
|
$LN12@index_pair:
|
|
00223 8b 45 44 mov eax, DWORD PTR size$[rbp]
|
|
00226 ff c8 dec eax
|
|
00228 39 45 04 cmp DWORD PTR index$[rbp], eax
|
|
0022b 7d 3d jge SHORT $LN11@index_pair
|
|
0022d 83 7d 24 00 cmp DWORD PTR result$[rbp], 0
|
|
00231 75 37 jne SHORT $LN11@index_pair
|
|
|
|
; 47 : result = *(int *)(str + index) == target;
|
|
|
|
00233 48 63 45 04 movsxd rax, DWORD PTR index$[rbp]
|
|
00237 48 8b 8d 30 02
|
|
00 00 mov rcx, QWORD PTR str$[rbp]
|
|
0023e 8b 95 38 02 00
|
|
00 mov edx, DWORD PTR target$[rbp]
|
|
00244 39 14 41 cmp DWORD PTR [rcx+rax*2], edx
|
|
00247 75 0c jne SHORT $LN21@index_pair
|
|
00249 c7 85 04 02 00
|
|
00 01 00 00 00 mov DWORD PTR tv152[rbp], 1
|
|
00253 eb 0a jmp SHORT $LN22@index_pair
|
|
$LN21@index_pair:
|
|
00255 c7 85 04 02 00
|
|
00 00 00 00 00 mov DWORD PTR tv152[rbp], 0
|
|
$LN22@index_pair:
|
|
0025f 8b 85 04 02 00
|
|
00 mov eax, DWORD PTR tv152[rbp]
|
|
00265 89 45 24 mov DWORD PTR result$[rbp], eax
|
|
|
|
; 48 : }
|
|
|
|
00268 eb b0 jmp SHORT $LN10@index_pair
|
|
$LN11@index_pair:
|
|
|
|
; 49 : if (result) {
|
|
|
|
0026a 83 7d 24 00 cmp DWORD PTR result$[rbp], 0
|
|
0026e 74 05 je SHORT $LN19@index_pair
|
|
|
|
; 50 : return index;
|
|
|
|
00270 8b 45 04 mov eax, DWORD PTR index$[rbp]
|
|
00273 eb 05 jmp SHORT $LN1@index_pair
|
|
$LN19@index_pair:
|
|
|
|
; 51 : }
|
|
; 52 : return -1;
|
|
|
|
00275 b8 ff ff ff ff mov eax, -1
|
|
$LN1@index_pair:
|
|
|
|
; 53 : }
|
|
|
|
0027a 48 8b f8 mov rdi, rax
|
|
0027d 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32]
|
|
00281 48 8d 15 00 00
|
|
00 00 lea rdx, OFFSET FLAT:index_pair_sse$rtcFrameData
|
|
00288 e8 00 00 00 00 call _RTC_CheckStackVars
|
|
0028d 48 8b c7 mov rax, rdi
|
|
00290 48 8b 8d 08 02
|
|
00 00 mov rcx, QWORD PTR __$ArrayPad$[rbp]
|
|
00297 48 33 cd xor rcx, rbp
|
|
0029a e8 00 00 00 00 call __security_check_cookie
|
|
0029f 48 8d a5 18 02
|
|
00 00 lea rsp, QWORD PTR [rbp+536]
|
|
002a6 5f pop rdi
|
|
002a7 5d pop rbp
|
|
002a8 c3 ret 0
|
|
index_pair_sse ENDP
|
|
_TEXT ENDS
|
|
END
|