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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
cmp dword [ebp + 8], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ecx
je 0x45eaab
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
lea ecx, [eax + ecx*8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
jmp 0x45e515
mov ecx, dword [ebp + 0xc]
and al, 1
movzx eax, al
sub dword [ecx + 8], eax
lea eax, [edi - 0x10]
and esi, eax
mov eax, dword [esp + 0x20]
mov byte [edx + edi], al
neg edi
mov byte [esi + edx + 0x10], al
mov esi, dword [esp + 8]
inc dword [ecx + 0xc]
lea eax, [edi + edi*2]
mov edi, dword [esp + 0x10]
shl eax, 4
mov dword [edx + eax - 0x30], esi
mov dword [edx + eax - 0x2c], edi
movsd xmm0, qword [esp + 0x78]
movq xmm1, qword [esp + 0x80]
movsd qword [edx + eax - 0x28], xmm0
movq qword [edx + eax - 0x20], xmm1
movsd xmm0, qword [esp + 0x88]
movsd qword [edx + eax - 0x18], xmm0
movsd xmm0, qword [esp + 0x90]
movsd qword [edx + eax - 0x10], xmm0
movq xmm0, qword [esp + 0x98]
movq qword [edx + eax - 8], xmm0
nop word cs:[eax + eax]
mov eax, dword [esp + 0x24]
add eax, 8
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
je 0x45eaab
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x28], 0
je 0x45e500
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 0xc], edi
push edi
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.00462b80
add esp, 0x10
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x14]
mov ebx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x14], edx
and ebx, eax
shr eax, 0x19
movd xmm0, eax
mov eax, dword [esi + 0x1c]
xor esi, esi
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
mov dword [esp + 0xc], ecx
pshufd xmm0, xmm0, 0
movdqu xmm1, xmmword [eax + ebx]
movdqa xmm2, xmm0
mov dword [esp + 0x18], eax
pcmpeqb xmm2, xmm1
pmovmskb edi, xmm2
test di, di
jne 0x45e5d2
nop word cs:[eax + eax]
pcmpeqd xmm2, xmm2
pcmpeqb xmm1, xmm2
pmovmskb ecx, xmm1
test ecx, ecx
jne 0x45e500
lea ebx, [esi + ebx + 0x10]
movdqa xmm2, xmm0
add esi, 0x10
and ebx, edx
movdqu xmm1, xmmword [eax + ebx]
pcmpeqb xmm2, xmm1
pmovmskb edi, xmm2
test edi, edi
je 0x45e5a0
tzcnt ecx, edi
add ecx, ebx
and ecx, edx
mov edx, eax
shl ecx, 2
sub edx, ecx
mov ecx, dword [edx - 4]
cmp dword [esp + 0xc], ecx
jbe 0x45f0b9
mov eax, dword [esp + 4]
lea edx, [edi - 1]
imul ecx, ecx, 0x38
and edx, edi
mov edi, dword [eax + ecx + 0x2c]
mov eax, dword [eax + ecx + 0x28]
xor edi, dword [esp + 0x10]
xor eax, dword [esp + 8]
or eax, edi
mov edi, edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
jne 0x45e591
mov edi, dword [esp + 4]
mov esi, dword [ebp + 0xc]
add edi, ecx
cmp dword [esi + 0xc], 0
je 0x45e732
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov dword [esp + 4], edi
push dword [esp + 0x10]
push dword [esp + 0xc]
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.0045d760
add esp, 0x10
mov ecx, eax
mov edx, dword [esi]
mov edi, dword [esi + 4]
mov ebx, eax
mov dword [esp + 0x18], 0
shr ecx, 0x19
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
lea esi, [edx - 0x30]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], edi
pshufd xmm0, xmm0, 0
and ebx, edi
movdqu xmm1, xmmword [edx + ebx]
mov eax, ebx
movdqa xmm2, xmm1
pcmpeqb xmm2, xmm0
pmovmskb ebx, xmm2
nop word cs:[eax + eax]
nop
test bx, bx
je 0x45e6e0
tzcnt edi, ebx
lea ecx, [ebx - 1]
add edi, eax
and ecx, ebx
and edi, dword [esp + 0xc]
neg edi
lea edi, [edi + edi*2]
shl edi, 4
mov ebx, dword [esi + edi + 4]
mov edx, dword [esi + edi]
xor ebx, dword [esp + 0x10]
xor edx, dword [esp + 8]
or edx, ebx
mov ebx, ecx
jne 0x45e6a0
jmp 0x45e70e
pcmpeqd xmm2, xmm2
pcmpeqb xmm1, xmm2
pmovmskb ecx, xmm1
test ecx, ecx
jne 0x45e72e
mov ebx, eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
lea ebx, [ebx + eax + 0x10]
add eax, 0x10
mov dword [esp + 0x18], eax
jmp 0x45e680
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + edi - 0x28]
or eax, dword [ecx + edi - 0x24]
je 0x45e72e
lea eax, [ecx + edi - 0x28]
mov edi, dword [esp + 4]
mov ecx, dword [edi]
or ecx, dword [edi + 4]
cmove edi, eax
jmp 0x45e732
mov edi, dword [esp + 4]
mov ebx, dword [edi + 0x10]
mov eax, dword [edi]
mov edx, dword [edi + 4]
movzx ecx, byte [edi + 0x22]
mov esi, dword [edi + 0xc]
test ebx, ebx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov byte [esp + 0x14], cl
mov dword [esp + 0x18], esi
je 0x45e7bb
cmp ebx, 0x1fffffff
ja 0x45f0c7
lea eax, [ebx*4]
mov dword [esp + 0x28], ebx
test eax, eax
mov dword [esp + 0x20], eax
js 0x45f0c7
movzx eax, byte [0x592110]
mov eax, dword [0x5920d8]
test eax, eax
jne 0x45e79a
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x45f0da
mov dword [0x5920d8], eax
mov ecx, dword [esp + 0x20]
push ecx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x45f0da
mov esi, eax
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
jmp 0x45e7c7
lea eax, [ebx*4]
mov esi, 4
push eax
push dword [esp + 0x1c]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebx
lea ecx, [esp + 0x8c]
mov edx, dword [edi + 0x18]
push dword [edi + 0x1c]
call fcn.0042b020
add esp, 4
mov ecx, dword [esp + 4]
movzx eax, word [edi + 0x20]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x7c], ecx
movzx ecx, byte [esp + 0x14]
mov byte [esp + 0x9a], cl
mov ecx, dword [esi + 0x10]
mov word [esp + 0x98], ax
push dword [esp + 0x10]
push dword [esp + 0xc]
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.0045d760
add esp, 0x10
cmp dword [esi + 8], 0
je 0x45ea73
mov ecx, eax
mov edx, dword [esi]
mov esi, dword [esi + 4]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
shr ecx, 0x19
movd xmm0, ecx
mov dword [esp + 0x20], ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
lea edi, [edx - 0x30]
mov dword [esp + 0x14], edx
mov dword [esp + 4], esi
pshufd xmm0, xmm0, 0
and eax, esi
movdqu xmm1, xmmword [edx + eax]
mov ebx, eax
movdqa xmm2, xmm1
pcmpeqb xmm2, xmm0
pmovmskb edx, xmm2
test dx, dx
je 0x45e8e0
lea eax, [edx - 1]
and eax, edx
tzcnt edx, edx
add edx, ebx
and edx, dword [esp + 4]
neg edx
lea esi, [edx + edx*2]
shl esi, 4
mov edx, dword [edi + esi + 4]
mov ecx, dword [edi + esi]
xor edx, dword [esp + 0x10]
xor ecx, dword [esp + 8]
or ecx, edx
mov edx, eax
jne 0x45e8a0
jmp 0x45e939
cmp dword [esp + 0xc], 1
mov esi, dword [esp + 4]
mov edx, 1
mov eax, ebx
je 0x45e909
pmovmskb ecx, xmm1
xor edx, edx
test ecx, ecx
setne dl
tzcnt ecx, ecx
add ecx, eax
and ecx, esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], edx
pcmpeqd xmm2, xmm2
mov edx, dword [esp + 0x14]
pcmpeqb xmm1, xmm2
pmovmskb ecx, xmm1
test ecx, ecx
jne 0x45ea86
mov ecx, dword [esp + 0x18]
lea eax, [eax + ecx + 0x10]
add ecx, 0x10
mov dword [esp + 0x18], ecx
jmp 0x45e88b
mov eax, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x78]
movq xmm1, qword [esp + 0x80]
mov edi, dword [eax + esi - 0x10]
mov edx, dword [eax + esi - 0x20]
mov ecx, dword [eax + esi - 0x1c]
mov ebx, dword [eax + esi - 0x14]
mov dword [esp + 8], edi
mov edi, dword [eax + esi - 0xc]
movsd qword [eax + esi - 0x28], xmm0
cmp edx, 0x80000000
movsd xmm0, qword [esp + 0x98]
movq qword [eax + esi - 0x20], xmm1
mov dword [esp + 4], edi
movsd qword [eax + esi - 8], xmm0
movsd xmm0, qword [esp + 0x88]
movsd qword [eax + esi - 0x18], xmm0
movq xmm0, qword [esp + 0x90]
movq qword [eax + esi - 0x10], xmm0
je 0x45e500
test edx, edx
mov dword [esp + 0xc], ebx
je 0x45e9c3
push ecx
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 4], 0
je 0x45ea52
xor edi, edi
jmp 0x45e9e7
inc edi
cmp edi, dword [esp + 4]
je 0x45ea52
mov eax, dword [esp + 8]
lea ecx, [edi + edi*2]
mov dword [esp + 0x10], ecx
mov esi, dword [eax + ecx*4 + 8]
test esi, esi
je 0x45ea30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov ebx, dword [eax + ecx*4 + 4]
add ebx, 4
jmp 0x45ea16
add ebx, 0x10
dec esi
je 0x45ea30
cmp dword [ebx - 4], 0
je 0x45ea10
push dword [ebx]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x45ea10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx*4]
cmp dword [eax], 0
je 0x45e9e0
push dword [eax + 4]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x45e9e0
cmp dword [esp + 0xc], 0
je 0x45e500
push dword [esp + 8]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x45e500
lea edx, [esi + 0x10]
mov ecx, esi
mov edi, eax
call fcn.00464820
mov eax, edi
jmp 0x45e850
mov edi, dword [esp + 0x28]
movzx eax, byte [edx + edi]
test al, al
js 0x45e478
movdqa xmm0, xmmword [edx]
pmovmskb eax, xmm0
tzcnt edi, eax
movzx eax, byte [edx + edi]
jmp 0x45e478
mov eax, dword [esp + 0x2c]
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x45ecbd
call fcn.004b3550
test eax, eax
je 0x45f0e8
movdqu xmm0, xmmword [eax]
lea ebx, [esp + 0xa0]
movd edx, xmm0
pshufd xmm1, xmm0, 0x55
add edx, 1
movd ecx, xmm1
adc ecx, 0
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, ebx
movsd xmm1, qword [esi + 0x38]
movsd qword [esp + 0xd0], xmm1
movsd xmm1, qword [esi + 0x30]
movsd qword [esp + 0xc8], xmm1
movsd xmm1, qword [esi + 0x28]
movsd qword [esp + 0xc0], xmm1
movsd xmm1, qword [esi + 0x20]
movsd qword [esp + 0xb8], xmm1
movsd xmm1, qword [esi + 0x18]
movsd qword [esp + 0xb0], xmm1
movsd xmm1, qword [esi + 8]
movsd xmm2, qword [esi + 0x10]
movsd qword [esp + 0xa8], xmm2
movsd qword [esp + 0xa0], xmm1
movdqu xmmword [esi + 8], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 8
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x5812f0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
push edi
push dword [ebp + 8]
call fcn.0045e440
add esp, 8
movsd xmm0, qword [esp + 0xd0]
movsd xmm1, qword [esp + 0xa8]
mov ecx, ebx
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [esp + 0xc8]
movsd qword [esp + 0x40], xmm1
movq xmm2, qword [esp + 0x40]
movsd qword [esp + 0x60], xmm0
movsd xmm0, qword [esp + 0xc0]
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0xb8]
movsd qword [esp + 0x50], xmm0
movsd xmm0, qword [esp + 0xb0]
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [esp + 0xa0]
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [esi + 0x38]
movsd qword [esp + 0xd0], xmm0
movsd xmm0, qword [esi + 0x30]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [esi + 0x28]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [esi + 0x20]
movsd qword [esp + 0xb8], xmm0
movsd xmm0, qword [esi + 0x18]
movsd qword [esp + 0xb0], xmm0
movsd xmm0, qword [esi + 8]
movq xmm1, qword [esi + 0x10]
movsd qword [esp + 0xa0], xmm0
movsd xmm0, qword [esp + 0x38]
movq qword [esp + 0xa8], xmm1
movq qword [esi + 0x10], xmm2
movsd qword [esi + 8], xmm0
movsd xmm0, qword [esp + 0x48]
movsd qword [esi + 0x18], xmm0
movsd xmm0, qword [esp + 0x50]
movsd qword [esi + 0x20], xmm0
movsd xmm0, qword [esp + 0x58]
movsd qword [esi + 0x28], xmm0
movsd xmm0, qword [esp + 0x60]
movsd qword [esi + 0x30], xmm0
movq xmm0, qword [esp + 0x68]
movq qword [esi + 0x38], xmm0
call fcn.00434e80
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
movdqa xmm0, xmmword [eax]
mov dword [esp + 0x1c], eax
add eax, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
pmovmskb ecx, xmm0
not ecx
add eax, 0x10
mov dword [esp + 0x24], ecx
mov dword [esp + 0x74], eax
jmp 0x45ed0d
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.00460570
add esp, 0xc
cmp dword [esp + 0x30], 0
je 0x45f0a3
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test dx, dx
jne 0x45ed4b
nop dword [eax]
movdqa xmm0, xmmword [ecx]
add edi, 0xfffffd00
add ecx, 0x10
pmovmskb edx, xmm0
cmp edx, 0xffff
je 0x45ed30
not edx
tzcnt eax, edx
mov dword [esp + 0x20], ecx
neg eax
lea esi, [eax + eax*2]
shl esi, 4
mov eax, dword [edi + esi - 0x30]
mov ebx, dword [edi + esi - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [edi + esi - 0x2c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], eax
mov eax, dword [edi + esi - 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [edi + esi - 0x18]
test eax, eax
mov dword [esp + 4], eax
movzx eax, byte [edi + esi - 6]
mov byte [esp + 0x14], al
mov eax, dword [edi + esi - 0x24]
mov dword [esp + 0x18], eax
je 0x45ee10
mov ebx, dword [esp + 4]
cmp ebx, 0x1fffffff
ja 0x45f0c7
lea eax, [ebx*4]
test eax, eax
mov dword [esp + 0x1c], eax
js 0x45f0c7
mov dword [esp + 0x24], edx
movzx eax, byte [0x592110]
mov eax, dword [0x5920d8]
test eax, eax
jne 0x45ede1
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x45f0cc
mov dword [0x5920d8], eax
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x45f0cc
mov ebx, eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 4]
mov dword [esp + 0x34], eax
jmp 0x45ee23
mov ebx, dword [esp + 4]
mov dword [esp + 0x34], 4
lea ecx, [ebx*4]
dec dword [esp + 0x30]
lea eax, [edx - 1]
add esi, edi
mov dword [esp + 0x1c], edi
and eax, edx
mov dword [esp + 0x24], eax
push ecx
push dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x4c]
mov edx, dword [esi - 0x10]
push dword [esi - 0xc]
call fcn.0042b020
add esp, 4
mov ecx, dword [esp + 0xc]
movzx eax, word [esi - 8]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 4]
mov dword [esp + 0x3c], ecx
movzx ecx, byte [esp + 0x14]
mov byte [esp + 0x5a], cl
mov ecx, dword [esi]
mov word [esp + 0x58], ax
push dword [esp + 0x10]
push dword [esp + 0xc]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.00462b80
add esp, 0x10
mov ecx, eax
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x20]
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], eax
mov eax, ecx
mov dword [esp + 4], edx
and edx, ecx
mov dword [esp + 0x18], ebx
shr eax, 0x19
movdqu xmm1, xmmword [ebx + edx]
movd xmm0, eax
mov eax, dword [esi + 0x18]
xor esi, esi
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqa xmm2, xmm0
mov dword [esp + 0x14], eax
pcmpeqb xmm2, xmm1
pmovmskb edi, xmm2
test di, di
je 0x45ef00
mov ecx, dword [esp + 4]
jmp 0x45ef42
mov ecx, dword [esp + 4]
nop word cs:[eax + eax]
nop
pcmpeqd xmm2, xmm2
pcmpeqb xmm1, xmm2
pmovmskb eax, xmm1
test eax, eax
jne 0x45ecf0
lea edx, [esi + edx + 0x10]
movdqa xmm2, xmm0
add esi, 0x10
and edx, ecx
movdqu xmm1, xmmword [ebx + edx]
pcmpeqb xmm2, xmm1
pmovmskb edi, xmm2
test edi, edi
je 0x45ef10
tzcnt eax, edi
add eax, edx
and eax, ecx
mov ecx, ebx
shl eax, 2
sub ecx, eax
mov ecx, dword [ecx - 4]
cmp dword [esp + 0x14], ecx
jbe 0x45f0ab
mov ebx, dword [esp + 0xc]
lea eax, [edi - 1]
imul ecx, ecx, 0x38
and eax, edi
mov edi, dword [ebx + ecx + 0x2c]
mov ebx, dword [ebx + ecx + 0x28]
xor edi, dword [esp + 0x10]
xor ebx, dword [esp + 8]
or ebx, edi
mov ebx, dword [esp + 0x18]
mov edi, eax
jne 0x45eef5
mov esi, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x38]
movq xmm1, qword [esp + 0x40]
mov edi, dword [esi + ecx + 0x18]
mov edx, dword [esi + ecx + 8]
mov eax, dword [esi + ecx + 0xc]
mov ebx, dword [esi + ecx + 0x14]
mov dword [esp + 8], edi
mov edi, dword [esi + ecx + 0x1c]
movsd qword [esi + ecx], xmm0
cmp edx, 0x80000000
movsd xmm0, qword [esp + 0x58]
movq qword [esi + ecx + 8], xmm1
mov dword [esp + 4], edi
movsd qword [esi + ecx + 0x20], xmm0
movsd xmm0, qword [esp + 0x48]
movsd qword [esi + ecx + 0x10], xmm0
movq xmm0, qword [esp + 0x50]
movq qword [esi + ecx + 0x18], xmm0
je 0x45ed0d
test edx, edx
mov dword [esp + 0xc], ebx
je 0x45f005
push eax
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 4], 0
je 0x45f082
xor edi, edi
jmp 0x45f017
inc edi
cmp edi, dword [esp + 4]
je 0x45f082
mov eax, dword [esp + 8]
lea ecx, [edi + edi*2]
mov dword [esp + 0x10], ecx
mov ebx, dword [eax + ecx*4 + 8]
test ebx, ebx
je 0x45f060
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4 + 4]
add esi, 4
jmp 0x45f046
add esi, 0x10
dec ebx
je 0x45f060
cmp dword [esi - 4], 0
je 0x45f040
push dword [esi]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x45f040
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx*4]
cmp dword [eax], 0
je 0x45f010
push dword [eax + 4]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x45f010
cmp dword [esp + 0xc], 0
je 0x45ed0d
push dword [esp + 8]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x45ed0d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp + 0x14]
push 0x581154
call fcn.004699c0
mov edx, dword [esp + 0xc]
push 0x581154
call fcn.004699c0
call fcn.00429f20
mov edx, dword [esp + 0x1c]
mov ecx, 4
call fcn.00429f60
mov edx, dword [esp + 0x20]
mov ecx, 4
call fcn.00429f60
lea eax, [esp + 0x38]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x571568
push 0x57132c
push eax
call fcn.0046f0c0
nop word cs:[eax + eax]