Function at 0x4180c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
cmp dword [ebp + 8], 0
mov dword [esp + 0x58], edx
mov dword [esp + 0x24], ecx
je 0x418ab1
mov edi, dword [esp + 0x58]
mov eax, dword [ebp + 8]
lea eax, [edi + eax*8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
add eax, 0x10
mov dword [esp + 0x54], eax
jmp 0x418193
mov cl, byte [esp]
nop word cs:[eax + eax]
nop dword [eax + eax]
neg cl
mov ebx, dword [esp + 0x1c]
movsx eax, cl
mov ecx, dword [ebp + 0xc]
add dword [ecx + 0x18], eax
lea eax, [edx - 0x10]
and eax, esi
mov esi, dword [esp + 4]
mov byte [esi + edx], bl
neg edx
mov byte [eax + esi + 0x10], bl
mov ebx, dword [esp + 0x20]
inc dword [ecx + 0x1c]
lea eax, [edx + edx*2]
mov edx, dword [esp + 0x14]
shl eax, 4
mov dword [esi + eax - 0x2c], ebx
mov dword [esi + eax - 0x30], edx
movsd xmm0, qword [esp + 0x28]
movq xmm1, qword [esp + 0x30]
movsd qword [esi + eax - 0x28], xmm0
movq qword [esi + eax - 0x20], xmm1
movsd xmm0, qword [esp + 0x38]
movsd qword [esi + eax - 0x18], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [esi + eax - 0x10], xmm0
movq xmm0, qword [esp + 0x48]
movq qword [esi + eax - 8], xmm0
add edi, 8
cmp edi, dword [esp + 0x18]
je 0x418ab1
mov ecx, dword [esp + 0x24]
mov edx, edi
call fcn.0041a120
test eax, eax
je 0x418186
mov esi, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push dword [edi + 4]
mov dword [esp + 0x14], edi
push dword [edi]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.0041f360
add esp, 0x10
mov edi, dword [esi + 0x10]
shld edx, eax, 7
mov ecx, dword [esi + 0x14]
pcmpeqd xmm3, xmm3
and dl, 0x7f
movzx edx, dl
movd xmm0, edx
xor edx, edx
and eax, edi
punpcklbw xmm0, xmm0
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
movdqu xmm1, xmmword [ecx + eax]
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqa xmm2, xmm0
pcmpeqb xmm2, xmm1
pmovmskb esi, xmm2
test si, si
je 0x418220
mov ebx, dword [esp + 4]
jmp 0x41825e
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 4]
nop dword [eax + eax]
pcmpeqb xmm1, xmm3
pmovmskb esi, xmm1
test esi, esi
jne 0x418330
lea eax, [eax + edx + 0x10]
movdqa xmm2, xmm0
add edx, 0x10
and eax, ebx
movdqu xmm1, xmmword [ecx + eax]
pcmpeqb xmm2, xmm1
pmovmskb esi, xmm2
test esi, esi
je 0x418230
lea ecx, [esi - 1]
bsf di, si
and ecx, esi
movzx edi, di
mov dword [esp], ecx
mov ecx, dword [esp + 0x10]
add edi, eax
and edi, ebx
mov ebx, dword [esp + 8]
neg edi
lea edi, [edi + edi*2]
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
shl edi, 4
xor ecx, dword [ebx + edi - 0x2c]
xor esi, dword [ebx + edi - 0x30]
or esi, ecx
mov esi, dword [esp]
jne 0x418208
mov ebx, dword [esp + 8]
add ebx, edi
mov edi, dword [esp + 0xc]
mov eax, dword [ebx - 0x28]
mov ecx, dword [ebx - 0x24]
mov edx, dword [edi]
mov esi, dword [edi + 4]
mov dword [esp], eax
or eax, ecx
je 0x418965
mov eax, edx
or eax, esi
jne 0x418965
mov esi, dword [ebx - 0x18]
mov dword [esp + 4], ecx
mov ecx, 4
mov eax, esi
mul ecx
jo 0x419357
mov edi, eax
test eax, eax
js 0x419357
mov eax, ebx
mov bl, byte [ebx - 8]
test edi, edi
mov dword [esp + 0xc], esi
mov edx, dword [eax - 0x20]
mov dword [esp + 8], eax
je 0x418a07
mov eax, dword [0x6f1130]
mov esi, edx
test eax, eax
jne 0x418318
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x41937a
mov dword [0x6f1130], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov edx, esi
jne 0x418a0c
jmp 0x41937a
mov edi, dword [esp + 0xc]
mov ecx, 4
mov esi, dword [edi + 0x10]
mov eax, esi
mul ecx
jo 0x419357
mov ebx, eax
test eax, eax
js 0x419357
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov cl, byte [edi + 0x20]
test ebx, ebx
mov dword [esp + 8], esi
mov dword [esp + 0x14], edx
mov edx, dword [edi + 8]
mov dword [esp + 4], eax
mov byte [esp], cl
je 0x4183a0
mov eax, dword [0x6f1130]
mov esi, edx
test eax, eax
jne 0x41838b
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x41935e
mov dword [0x6f1130], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov edx, esi
jne 0x4183a5
jmp 0x41935e
mov eax, 4
shr ebx, 2
mov dword [esp + 0x30], eax
mov esi, edi
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 8]
add esi, 0x14
lea ecx, [ebx*4]
push ecx
push edx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x3c]
mov edx, esi
mov dword [esp + 0x38], ebx
call fcn.00427c40
mov ecx, dword [esp + 0x14]
mov al, byte [edi + 0x21]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 4]
mov bl, byte [esp]
mov dword [esp + 0x28], ecx
test al, al
mov eax, dword [esp + 0x10]
mov byte [esp + 0x48], bl
setne byte [esp + 0x49]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0x90]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
lea eax, [esp + 0x60]
pshufd xmm1, xmm0, 0x44
pshufd xmm2, xmm0, 0xee
movdqu xmmword [esp + 0x60], xmm0
pxor xmm1, xmmword [0x6061f0]
pxor xmm2, xmmword [0x606200]
movdqu xmmword [esp + 0x70], xmm1
movdqu xmmword [esp + 0x80], xmm2
mov dword [esp + 0x9c], 0
push eax
call fcn.00459bb0
add esp, 4
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
pcmpeqd xmm4, xmm4
shl edx, 0x18
xor esi, edi
mov dword [esp + 0x5c], edi
or edx, dword [esp + 0x94]
mov dword [esp + 0x1c], edx
xor ecx, edx
mov edx, dword [esp + 0x70]
add edx, eax
mov dword [esp], edx
mov edx, eax
mov eax, dword [esp + 0x74]
mov edi, edx
adc eax, ebx
shld edi, ebx, 0xd
shld ebx, edx, 0xd
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
xor ebx, eax
mov eax, dword [esp + 0x78]
xor edi, dword [esp]
add eax, esi
mov dword [esp + 4], eax
mov eax, esi
adc edx, ecx
shrd esi, ecx, 0x10
shld eax, ecx, 0x10
mov dword [esp + 8], edx
xor esi, edx
mov edx, dword [esp]
xor eax, dword [esp + 4]
add dword [esp + 0xc], eax
mov ecx, eax
adc edx, esi
shrd eax, esi, 0xb
shld ecx, esi, 0x15
mov esi, edi
mov dword [esp], edx
xor eax, edx
mov edx, dword [esp + 0xc]
xor ecx, edx
add dword [esp + 4], edi
adc dword [esp + 8], ebx
shld esi, ebx, 0x11
shrd edi, ebx, 0xf
mov ebx, dword [esp]
xor edx, dword [esp + 0x5c]
xor esi, dword [esp + 4]
xor ebx, dword [esp + 0x1c]
mov dword [esp], ebx
mov ebx, dword [esp + 8]
xor edi, ebx
xor ebx, 0xff
add edx, esi
mov dword [esp + 8], ebx
mov ebx, dword [esp]
mov dword [esp + 0xc], edx
mov edx, esi
adc ebx, edi
shld edx, edi, 0xd
shrd esi, edi, 0x13
mov edi, ecx
mov dword [esp], ebx
xor esi, ebx
xor edx, dword [esp + 0xc]
add dword [esp + 8], ecx
mov ebx, dword [esp + 4]
adc ebx, eax
shld edi, eax, 0x10
shrd ecx, eax, 0x10
xor edi, dword [esp + 8]
xor ecx, ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xc]
add dword [esp], edi
mov eax, edi
adc ebx, ecx
shld eax, ecx, 0x15
shrd edi, ecx, 0xb
mov ecx, edx
mov dword [esp + 0xc], ebx
xor edi, ebx
xor eax, dword [esp]
add dword [esp + 8], edx
mov ebx, dword [esp + 4]
adc ebx, esi
shld ecx, esi, 0x11
shrd edx, esi, 0xf
mov esi, dword [esp]
xor ecx, dword [esp + 8]
xor edx, ebx
mov dword [esp + 4], ebx
add esi, ecx
mov ebx, ecx
adc dword [esp + 0xc], edx
shld ebx, edx, 0xd
shrd ecx, edx, 0x13
mov dword [esp], esi
mov edx, eax
xor ebx, esi
xor ecx, dword [esp + 0xc]
add dword [esp + 4], eax
mov esi, dword [esp + 8]
adc esi, edi
shrd eax, edi, 0x10
shld edx, edi, 0x10
mov dword [esp + 8], esi
xor eax, esi
mov esi, dword [esp + 4]
xor edx, esi
add dword [esp + 0xc], edx
mov edi, edx
adc dword [esp], eax
shld edi, eax, 0x15
shrd edx, eax, 0xb
mov eax, dword [esp + 8]
xor edx, dword [esp]
xor edi, dword [esp + 0xc]
add esi, ebx
mov dword [esp + 4], esi
mov esi, ebx
adc eax, ecx
shld esi, ecx, 0x11
shrd ebx, ecx, 0xf
mov ecx, dword [esp + 0xc]
xor esi, dword [esp + 4]
xor ebx, eax
mov dword [esp + 8], eax
add ecx, esi
mov eax, esi
adc dword [esp], ebx
shld eax, ebx, 0xd
shrd esi, ebx, 0x13
mov ebx, dword [esp + 4]
xor eax, ecx
xor esi, dword [esp]
add dword [esp + 8], edi
mov ecx, edi
adc ebx, edx
shrd edi, edx, 0x10
shld ecx, edx, 0x10
mov edx, dword [esp + 8]
xor edi, ebx
xor ecx, edx
shld ecx, edi, 0x15
add edx, eax
adc ebx, esi
shrd esi, eax, 0xf
mov eax, dword [ebp + 0xc]
xor edi, edi
xor esi, ecx
xor esi, ebx
xor esi, edx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov edx, esi
mov dword [esp + 0xc], esi
shr edx, 0x19
movd xmm1, edx
mov dword [esp + 0x1c], edx
punpcklbw xmm1, xmm1
mov dword [esp], ecx
and ecx, esi
pshuflw xmm1, xmm1, 0
mov dword [esp + 4], eax
movdqu xmm0, xmmword [eax + ecx]
pshufd xmm1, xmm1, 0
mov edx, ecx
movdqa xmm3, xmm1
pcmpeqb xmm3, xmm0
movdqa xmm2, xmm0
pmovmskb ebx, xmm3
jmp 0x41870f
bsf si, bx
lea eax, [ebx - 1]
movzx esi, si
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
and dword [esp + 8], ebx
add esi, edx
and esi, dword [esp]
neg esi
lea esi, [esi + esi*2]
shl esi, 4
mov ebx, dword [eax + esi - 0x2c]
mov eax, dword [eax + esi - 0x30]
xor ebx, dword [esp + 0x20]
xor eax, dword [esp + 0x14]
or eax, ebx
mov ebx, dword [esp + 8]
je 0x418861
test bx, bx
jne 0x4186d0
mov eax, dword [esp + 4]
nop dword [eax + eax]
pcmpeqb xmm2, xmm4
pmovmskb esi, xmm2
test esi, esi
jne 0x418750
lea edx, [edx + edi + 0x10]
movdqa xmm3, xmm1
add edi, 0x10
and edx, dword [esp]
movdqu xmm2, xmmword [eax + edx]
pcmpeqb xmm3, xmm2
pmovmskb ebx, xmm3
test ebx, ebx
je 0x418720
jmp 0x4186d0
mov esi, dword [esp]
pmovmskb edx, xmm0
test edx, edx
je 0x418770
mov edi, dword [esp + 0x10]
jmp 0x418796
mov edi, dword [esp + 0x10]
mov ebx, esi
mov esi, 0x10
nop dword [eax + eax]
add ecx, esi
add esi, 0x10
and ecx, ebx
movdqu xmm0, xmmword [eax + ecx]
pmovmskb edx, xmm0
test edx, edx
je 0x418780
mov esi, ebx
bsf ax, dx
mov ebx, dword [esp + 0xc]
movzx edx, ax
mov eax, dword [esp + 4]
add edx, ecx
and edx, esi
mov cl, byte [eax + edx]
test cl, cl
js 0x4187c6
movdqa xmm0, xmmword [eax]
pmovmskb eax, xmm0
bsf ax, ax
movzx edx, ax
mov eax, dword [esp + 4]
mov cl, byte [eax + edx]
mov eax, dword [ebp + 0xc]
and cl, 1
cmp dword [eax + 0x18], 0
jne 0x418110
test cl, cl
je 0x418110
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x54]
mov byte [esp], cl
lea ecx, [esp + 0x60]
push esi
call fcn.004252b0
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
and ebx, ecx
mov esi, ecx
mov dword [esp + 4], eax
movdqu xmm0, xmmword [eax + ebx]
pmovmskb ecx, xmm0
test ecx, ecx
jne 0x418834
mov edx, 0x10
nop word cs:[eax + eax]
nop
add ebx, edx
add edx, 0x10
and ebx, esi
movdqu xmm0, xmmword [eax + ebx]
pmovmskb ecx, xmm0
test ecx, ecx
je 0x418820
bsf ax, cx
movzx edx, ax
mov eax, dword [esp + 4]
add edx, ebx
and edx, esi
cmp byte [eax + edx], 0
js 0x4180fe
movdqa xmm0, xmmword [eax]
pmovmskb eax, xmm0
bsf ax, ax
movzx edx, ax
jmp 0x4180fe
mov edi, dword [esp + 4]
movsd xmm0, qword [esp + 0x28]
movq xmm1, qword [esp + 0x30]
add edi, esi
mov eax, dword [edi - 0x14]
mov ecx, dword [edi - 0x20]
mov edx, dword [edi - 0x1c]
mov ebx, dword [edi - 0x10]
mov esi, dword [edi - 0xc]
mov dword [esp + 8], eax
mov ah, byte [edi - 7]
movsd qword [edi - 0x28], xmm0
movq qword [edi - 0x20], xmm1
movsd xmm0, qword [esp + 0x38]
cmp ah, 2
movsd qword [edi - 0x18], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [edi - 0x10], xmm0
movq xmm0, qword [esp + 0x48]
movq qword [edi - 8], xmm0
mov edi, dword [esp + 0x10]
je 0x418186
test edx, 0x3fffffff
mov dword [esp + 4], ebx
je 0x4188db
push ecx
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
test esi, esi
je 0x4189d3
mov edi, dword [esp + 8]
lea eax, [esi + esi*2]
lea eax, [edi + eax*4]
mov dword [esp], eax
jmp 0x418909
cmp edi, dword [esp]
je 0x4189d3
mov eax, dword [edi + 8]
mov esi, edi
test eax, eax
je 0x418940
mov edi, dword [esi]
shl eax, 2
lea ebx, [eax + eax*2]
add edi, 4
jmp 0x418928
add edi, 0xc
add ebx, 0xfffffff4
je 0x418940
cmp dword [edi], 0
je 0x418920
push dword [edi - 4]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
jmp 0x418920
mov eax, dword [esi + 4]
lea edi, [esi + 0xc]
test eax, eax
je 0x418900
shl eax, 2
lea eax, [eax + eax*2]
test eax, eax
je 0x418900
push dword [esi]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
jmp 0x418900
mov dword [esp + 4], esi
mov esi, dword [edi + 0x10]
mov ecx, 4
mov dword [esp + 8], edx
mov eax, esi
mul ecx
jo 0x419357
mov ebx, eax
test eax, eax
js 0x419357
mov al, byte [edi + 0x20]
mov edx, dword [edi + 8]
test ebx, ebx
mov dword [esp + 0x14], esi
mov byte [esp], al
je 0x418a63
mov eax, dword [0x6f1130]
mov esi, edx
test eax, eax
jne 0x4189bb
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x41935e
mov dword [0x6f1130], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov edx, esi
jne 0x418a68
jmp 0x41935e
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x10]
test eax, eax
je 0x418186
shl eax, 2
lea eax, [eax + eax*2]
test eax, eax
je 0x418186
push dword [esp + 8]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
jmp 0x418186
mov eax, 4
mov esi, dword [esp + 8]
shr edi, 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0xc]
add esi, 0xffffffd8
lea ecx, [esi + 0x14]
mov dword [esp + 8], ecx
lea ecx, [edi*4]
push ecx
push edx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edx, dword [esp + 8]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], edi
call fcn.00427c40
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov al, byte [esi + 0x21]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
jmp 0x4183f0
mov eax, 4
shr ebx, 2
mov dword [esp + 0x30], eax
mov esi, edi
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x14]
add esi, 0x14
lea ecx, [ebx*4]
push ecx
push edx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x3c]
mov edx, esi
mov dword [esp + 0x38], ebx
call fcn.00427c40
mov ecx, dword [esp + 4]
mov al, byte [edi + 0x21]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 8]
jmp 0x4183e9
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x418c40
call fcn.005eeb70
test eax, eax
je 0x419388
movdqu xmm0, xmmword [eax]
lea esi, [esp + 0x60]
movd edx, xmm0
pshufd xmm1, xmm0, 0x55
add edx, 1
movd ecx, xmm1
adc ecx, 0
mov dword [eax], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov eax, dword [0x6d3de0]
mov ecx, esi
movsd xmm1, qword [edi + 0x38]
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [edi + 0x30]
movsd qword [esp + 0x88], xmm1
movsd xmm1, qword [edi + 0x28]
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [edi + 0x20]
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [edi + 0x18]
movsd qword [esp + 0x70], xmm1
movsd xmm1, qword [edi + 8]
movsd xmm2, qword [edi + 0x10]
movsd qword [esp + 0x68], xmm2
movsd qword [esp + 0x60], xmm1
movdqu xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0x61fe20
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x38], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004180c0
add esp, 8
movsd xmm2, qword [edi + 0x20]
movups xmm0, xmmword [esp + 0x60]
movups xmm1, xmmword [esp + 0x70]
mov ecx, esi
movsd qword [esp + 0x78], xmm2
movsd xmm2, qword [edi + 0x18]
movsd qword [esp + 0x70], xmm2
movsd xmm2, qword [edi + 8]
movsd xmm3, qword [edi + 0x10]
movsd qword [esp + 0x68], xmm3
movsd qword [esp + 0x60], xmm2
movups xmmword [edi + 8], xmm0
movups xmmword [edi + 0x18], xmm1
movq xmm0, qword [esp + 0x90]
movq xmm1, qword [esp + 0x80]
movq xmm2, qword [esp + 0x88]
movq qword [esp + 0x38], xmm0
movq qword [esp + 0x30], xmm2
movq qword [esp + 0x28], xmm1
movsd xmm3, qword [edi + 0x38]
movsd qword [esp + 0x90], xmm3
movq xmm3, qword [edi + 0x28]
movq xmm4, qword [edi + 0x30]
movq qword [esp + 0x88], xmm4
movq qword [esp + 0x80], xmm3
movq qword [edi + 0x38], xmm0
movq qword [edi + 0x30], xmm2
movq qword [edi + 0x28], xmm1
call fcn.004193b0
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x24]
movdqa xmm0, xmmword [edi]
lea esi, [eax + edi + 1]
add ecx, 0x10
lea ebx, [edi + 0x10]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x54], esi
pmovmskb eax, xmm0
not eax
test ax, ax
je 0x418c90
test edi, edi
je 0x41933c
lea ecx, [eax - 1]
mov dword [esp + 0x1c], ebx
and ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x418cc4
cmp ebx, esi
jae 0x41933c
movdqa xmm0, xmmword [ebx]
add edi, 0xfffffd00
add ebx, 0x10
pmovmskb eax, xmm0
cmp ax, 0xffff
je 0x418c90
mov ecx, 0xfffffffe
mov dword [esp + 0x1c], ebx
sub ecx, eax
not eax
mov edx, eax
and edx, ecx
mov dword [esp + 0x10], edx
bsf ax, ax
mov ecx, 4
movzx eax, ax
neg eax
lea ebx, [eax + eax*2]
shl ebx, 4
mov eax, dword [edi + ebx - 0x18]
mov dword [esp], eax
mul ecx
jo 0x419357
mov esi, eax
test eax, eax
js 0x419357
mov eax, dword [edi + ebx - 0x30]
mov edx, dword [edi + ebx - 0x24]
mov cl, byte [edi + ebx - 8]
test esi, esi
mov dword [esp + 0x14], eax
mov eax, dword [edi + ebx - 0x2c]
mov dword [esp + 0xc], edx
mov edx, dword [edi + ebx - 0x20]
mov byte [esp + 4], cl
mov dword [esp + 0x20], eax
mov eax, dword [edi + ebx - 0x28]
mov dword [esp + 8], eax
je 0x418d60
mov eax, dword [0x6f1130]
mov dword [esp + 0x18], edx
test eax, eax
jne 0x418d40
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x41936c
mov dword [0x6f1130], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x418d65
jmp 0x41936c
mov eax, 4
shr esi, 2
mov dword [esp + 0x30], eax
mov ecx, edi
lea edi, [edi + ebx - 0x28]
mov dword [esp + 0x34], esi
mov esi, dword [esp]
mov dword [esp + 0x5c], ecx
lea ebx, [ecx + ebx - 0x14]
lea ecx, [esi*4]
push ecx
push edx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x3c]
mov edx, ebx
mov dword [esp + 0x38], esi
call fcn.00427c40
mov eax, dword [esp + 0xc]
cmp byte [edi + 0x21], 0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov al, byte [esp + 4]
mov byte [esp + 0x48], al
mov eax, dword [esp + 0x24]
setne byte [esp + 0x49]
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0x90]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
lea eax, [esp + 0x60]
pshufd xmm1, xmm0, 0x44
pshufd xmm2, xmm0, 0xee
movdqu xmmword [esp + 0x60], xmm0
pxor xmm1, xmmword [0x6061f0]
pxor xmm2, xmmword [0x606200]
movdqu xmmword [esp + 0x70], xmm1
movdqu xmmword [esp + 0x80], xmm2
mov dword [esp + 0x9c], 0
push eax
call fcn.00459bb0
add esp, 4
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
shl edx, 0x18
xor esi, edi
mov dword [esp + 0x58], edi
or edx, dword [esp + 0x94]
mov dword [esp + 0x18], edx
xor ecx, edx
mov edx, dword [esp + 0x70]
add edx, eax
mov dword [esp], edx
mov edx, eax
mov eax, dword [esp + 0x74]
mov edi, edx
adc eax, ebx
shld edi, ebx, 0xd
shld ebx, edx, 0xd
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
xor ebx, eax
mov eax, dword [esp + 0x78]
xor edi, dword [esp]
add eax, esi
mov dword [esp + 4], eax
mov eax, esi
adc edx, ecx
shrd esi, ecx, 0x10
shld eax, ecx, 0x10
mov dword [esp + 8], edx
xor esi, edx
mov edx, dword [esp]
xor eax, dword [esp + 4]
add dword [esp + 0xc], eax
mov ecx, eax
adc edx, esi
shrd eax, esi, 0xb
shld ecx, esi, 0x15
mov esi, edi
mov dword [esp], edx
xor eax, edx
mov edx, dword [esp + 0xc]
xor ecx, edx
add dword [esp + 4], edi
adc dword [esp + 8], ebx
shld esi, ebx, 0x11
shrd edi, ebx, 0xf
mov ebx, dword [esp]
xor edx, dword [esp + 0x58]
xor esi, dword [esp + 4]
xor ebx, dword [esp + 0x18]
mov dword [esp], ebx
mov ebx, dword [esp + 8]
xor edi, ebx
xor ebx, 0xff
add edx, esi
mov dword [esp + 8], ebx
mov ebx, dword [esp]
mov dword [esp + 0xc], edx
mov edx, esi
adc ebx, edi
shld edx, edi, 0xd
shrd esi, edi, 0x13
mov edi, ecx
mov dword [esp], ebx
xor esi, ebx
xor edx, dword [esp + 0xc]
add dword [esp + 8], ecx
mov ebx, dword [esp + 4]
adc ebx, eax
shld edi, eax, 0x10
shrd ecx, eax, 0x10
xor edi, dword [esp + 8]
xor ecx, ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xc]
add dword [esp], edi
mov eax, edi
adc ebx, ecx
shld eax, ecx, 0x15
shrd edi, ecx, 0xb
mov ecx, edx
mov dword [esp + 0xc], ebx
xor edi, ebx
xor eax, dword [esp]
add dword [esp + 8], edx
mov ebx, dword [esp + 4]
adc ebx, esi
shld ecx, esi, 0x11
shrd edx, esi, 0xf
mov esi, dword [esp]
xor ecx, dword [esp + 8]
xor edx, ebx
mov dword [esp + 4], ebx
add esi, ecx
mov ebx, ecx
adc dword [esp + 0xc], edx
shld ebx, edx, 0xd
shrd ecx, edx, 0x13
mov dword [esp], esi
mov edx, eax
xor ebx, esi
xor ecx, dword [esp + 0xc]
add dword [esp + 4], eax
mov esi, dword [esp + 8]
adc esi, edi
shrd eax, edi, 0x10
shld edx, edi, 0x10
mov dword [esp + 8], esi
xor eax, esi
mov esi, dword [esp + 4]
xor edx, esi
add dword [esp + 0xc], edx
mov edi, edx
adc dword [esp], eax
shld edi, eax, 0x15
shrd edx, eax, 0xb
mov eax, dword [esp + 8]
xor edx, dword [esp]
xor edi, dword [esp + 0xc]
add esi, ebx
mov dword [esp + 4], esi
mov esi, ebx
adc eax, ecx
shld esi, ecx, 0x11
shrd ebx, ecx, 0xf
mov ecx, dword [esp + 0xc]
xor esi, dword [esp + 4]
xor ebx, eax
mov dword [esp + 8], eax
add ecx, esi
mov eax, esi
adc dword [esp], ebx
shld eax, ebx, 0xd
shrd esi, ebx, 0x13
mov ebx, dword [esp + 4]
xor eax, ecx
xor esi, dword [esp]
add dword [esp + 8], edi
mov ecx, edi
adc ebx, edx
shrd edi, edx, 0x10
shld ecx, edx, 0x10
mov edx, dword [esp + 8]
xor edi, ebx
xor ecx, edx
shld ecx, edi, 0x15
add edx, eax
adc ebx, esi
shrd esi, eax, 0xf
mov eax, dword [esp + 0x24]
xor esi, ecx
xor esi, ebx
xor ebx, ebx
xor esi, edx
mov ecx, dword [eax + 0x20]
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x18], esi
mov dword [esp + 4], ecx
mov ecx, esi
mov dword [esp + 8], edi
and edi, esi
mov dword [esp], edx
mov dword [esp + 0xc], eax
shr ecx, 0x19
movdqu xmm1, xmmword [edx + edi]
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqa xmm2, xmm0
pcmpeqb xmm2, xmm1
pmovmskb edx, xmm2
mov esi, dword [esp + 0x10]
test dx, dx
je 0x4190a0
mov eax, dword [esp + 8]
jmp 0x4190e5
mov eax, dword [esp + 8]
nop word cs:[eax + eax]
nop
pcmpeqd xmm2, xmm2
pcmpeqb xmm1, xmm2
pmovmskb ecx, xmm1
test ecx, ecx
jne 0x4191b0
mov ecx, dword [esp]
lea edi, [edi + ebx + 0x10]
movdqa xmm2, xmm0
add ebx, 0x10
and edi, eax
movdqu xmm1, xmmword [ecx + edi]
pcmpeqb xmm2, xmm1
pmovmskb edx, xmm2
test edx, edx
je 0x4190b0
bsf cx, dx
mov esi, dword [esp]
movzx ecx, cx
add ecx, edi
and ecx, eax
not ecx
mov ecx, dword [esi + ecx*4]
cmp ecx, dword [esp + 0xc]
jae 0x419344
mov esi, dword [esp + 4]
lea eax, [edx - 1]
imul ecx, ecx, 0x38
and eax, edx
mov edx, dword [esi + ecx + 4]
mov esi, dword [esi + ecx]
xor edx, dword [esp + 0x20]
xor esi, dword [esp + 0x14]
or esi, edx
mov edx, eax
jne 0x41908e
mov esi, dword [esp + 4]
movsd xmm0, qword [esp + 0x28]
movq xmm1, qword [esp + 0x30]
mov eax, dword [esi + ecx + 0x10]
mov edx, dword [esi + ecx + 0x20]
mov dword [esp + 0xb0], eax
mov eax, dword [esi + ecx + 0x14]
mov dword [esp + 0xac], edx
mov edx, dword [esi + ecx + 0x24]
mov dword [esp + 0xb4], eax
mov eax, dword [esi + ecx + 0x1c]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], eax
mov al, byte [esi + ecx + 0x29]
movsd qword [esi + ecx + 8], xmm0
movq qword [esi + ecx + 0x10], xmm1
movsd xmm0, qword [esp + 0x38]
movsd qword [esi + ecx + 0x18], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [esi + ecx + 0x20], xmm0
movq xmm0, qword [esp + 0x48]
movq qword [esi + ecx + 0x28], xmm0
mov esi, dword [esp + 0x10]
jmp 0x419211
movsd xmm2, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x38]
movq xmm0, qword [esp + 0x48]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x60]
movsd qword [esp + 0x78], xmm2
movsd qword [esp + 0x70], xmm1
movq xmm2, qword [esp + 0x28]
movq xmm1, qword [esp + 0x30]
movq qword [esp + 0x80], xmm0
movq qword [esp + 0x68], xmm1
movq qword [esp + 0x60], xmm2
push eax
push dword [esp + 0x24]
push dword [esp + 0x1c]
call fcn.0042ce30
add esp, 0xc
mov al, 2
cmp al, 2
mov eax, esi
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x1c]
je 0x418c6c
test dword [esp + 0xb4], 0x3fffffff
je 0x419248
push dword [esp + 0xb0]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xa8], 0
je 0x4192e0
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*4]
mov dword [esp], eax
jmp 0x419275
cmp ebx, dword [esp]
je 0x4192e0
mov eax, dword [ebx + 8]
mov edi, ebx
test eax, eax
je 0x4192b0
mov ebx, dword [edi]
shl eax, 2
lea esi, [eax + eax*2]
add ebx, 4
jmp 0x419298
add ebx, 0xc
add esi, 0xfffffff4
je 0x4192b0
cmp dword [ebx], 0
je 0x419290
push dword [ebx - 4]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
jmp 0x419290
mov eax, dword [edi + 4]
lea ebx, [edi + 0xc]
test eax, eax
je 0x419270
shl eax, 2
lea eax, [eax + eax*2]
test eax, eax
je 0x419270
push dword [edi]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
jmp 0x419270
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0xac], 0
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x1c]
mov eax, ecx
je 0x418c6c
mov eax, dword [esp + 0xac]
lea eax, [eax*4]
lea eax, [eax + eax*2]
test eax, eax
mov eax, ecx
je 0x418c6c
push dword [esp + 0xa4]
push 0
push dword [0x6f1130]
mov dword [esp + 0x1c], ecx
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp + 0x10]
jmp 0x418c6c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp + 0xc]
push 0x682b94
call fcn.0045a150
add esp, 4
ud2
call fcn.0040a620
ud2
mov ecx, ebx
mov edx, 4
call fcn.0040a640
ud2
mov ecx, esi
mov edx, 4
call fcn.0040a640
ud2
mov ecx, edi
mov edx, 4
call fcn.0040a640
ud2
lea eax, [esp + 0x60]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_532d2b14c05f9bc20b2d27cbb5f4550d28343a36library_std_src_threadlocal.rs
mov edx, 0x46
push 0x6d8df8
push 0x60a6f8
push eax
call fcn.0045d480
add esp, 0xc
ud2