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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2e4
mov ebp, dword [esp + 0x2fc]
cmp byte [esp + 0x2f8], 0
mov ebx, edx
mov esi, ecx
je 0x40b2a5
lea eax, [ebp + 0x48]
lea ecx, [esp + 0x1e5]
push 0xff
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [ebp + 0x147]
mov edi, dword [ebp + 8]
test bl, bl
mov dword [esp + 0x54], esi
je 0x40b3c9
mov esi, ebx
jmp 0x40b3e0
movaps xmm0, xmmword [0x4de280]
movaps xmm1, xmmword [0x4de290]
movaps xmm2, xmmword [str._________._0123456789:_____ABCDEFGHIJKLMNOPQRSTUVWXYZ____abcdefghijklmnopqrstuvwxyz]
lea eax, [esp + 0x88]
lea ecx, [esp + 0x1e5]
movups xmmword [esp + 0x88], xmm0
movups xmmword [esp + 0x98], xmm1
movaps xmm1, xmmword [0x4de2b0]
movups xmmword [esp + 0xa8], xmm2
movaps xmm2, xmmword [0x4de2c0]
movups xmmword [esp + 0xb8], xmm1
movaps xmm1, xmmword [0x4de2d0]
movups xmmword [esp + 0xc8], xmm2
movaps xmm2, xmmword [0x4de2e0]
movups xmmword [esp + 0xd8], xmm1
movaps xmm1, xmmword [0x4de2f0]
movups xmmword [esp + 0xe8], xmm2
movaps xmm2, xmmword [0x4de300]
movups xmmword [esp + 0xf8], xmm1
movaps xmm1, xmmword [0x4de310]
movups xmmword [esp + 0x108], xmm2
movaps xmm2, xmmword [0x4de320]
movups xmmword [esp + 0x118], xmm1
movaps xmm1, xmmword [0x4de330]
movups xmmword [esp + 0x128], xmm2
movaps xmm2, xmmword [0x4de340]
movups xmmword [esp + 0x138], xmm1
movaps xmm1, xmmword [0x4de350]
movups xmmword [esp + 0x148], xmm2
movaps xmm2, xmmword [0x4de360]
movups xmmword [esp + 0x158], xmm1
movaps xmm1, xmmword [0x4de370]
movups xmmword [esp + 0x168], xmm2
movups xmmword [esp + 0x178], xmm1
push 0xff
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [esp + 0x187]
mov edi, dword [ebp + 8]
test bl, bl
mov dword [esp + 0x54], esi
jne 0x40b29e
test edi, edi
js 0x40c469
cmp edi, 1
jbe 0x40c47d
mov esi, ebx
lea edi, [edi + edi - 4]
movzx ecx, al
mov ebx, eax
mov eax, 0xffffffff
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
bsr ecx, ecx
mov byte [esp + 4], bl
not ecx
shr eax, cl
lea ecx, [eax + 1]
not eax
tzcnt edx, ecx
and eax, ecx
xor ecx, ecx
test bl, bl
mov ebx, 1
cmovne ecx, edx
cmovne ebx, eax
mov dword [esp + 0x20], ecx
shl edi, cl
mov eax, edi
sub eax, ebx
jb 0x40c3f1
cmp eax, 0x7ffffffe
jbe 0x40b45f
mov ecx, dword [esp + 0x54]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0x7ffffffe
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], 0
mov dword [ecx], 1
jmp 0x40ba1d
mov ebx, dword [ebp + 0x154]
mov ecx, esi
mov dword [esp + 8], esi
test cl, cl
je 0x40b499
test ebx, ebx
je 0x40c491
dec ebx
test edi, edi
mov eax, 4
mov dword [esp], 4
jne 0x40b4be
test ebx, ebx
mov dword [esp + 0x24], eax
jne 0x40b54d
jmp 0x40b5ee
test ebx, ebx
je 0x40c4a7
mov eax, ebx
dec eax
js 0x40c4bb
lea ebx, [ebx + ebx - 2]
test edi, edi
mov eax, 4
mov dword [esp], 4
je 0x40b488
cmp edi, 0x1fffffff
ja 0x40c3ec
lea ebp, [edi*4]
test ebp, ebp
js 0x40c3ec
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x40b4fc
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x40c45d
mov dword [0x5371d8], eax
push ebp
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40c45d
cmp edi, 2
mov ecx, eax
jb 0x40b534
lea ecx, [ebp - 4]
push ecx
push 0
push eax
mov esi, eax
call sub.VCRUNTIME140.dll_memset
mov eax, esi
mov dword [esp + 0xc], 4
add esp, 0xc
lea ecx, [esi + ebp - 4]
mov ebp, dword [esp + 0x2fc]
mov dword [ecx], 0
test ebx, ebx
mov dword [esp + 0x24], eax
je 0x40b5ee
cmp ebx, 0xaaaaaaa
ja 0x40c3ec
lea eax, [ebx*4]
mov esi, ebx
lea ebx, [eax + eax*2]
test ebx, ebx
js 0x40c3ec
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x40b590
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x40c405
mov dword [0x5371d8], eax
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40c405
mov ebx, esi
cmp esi, 2
mov edx, eax
mov dword [esp], eax
jb 0x40b5da
mov edx, dword [esp]
lea ecx, [ebx - 1]
nop word cs:[eax + eax]
nop
mov dword [edx], 0
mov dword [edx + 4], 4
mov dword [edx + 8], 0
add edx, 0xc
dec ecx
jne 0x40b5c0
mov dword [edx], 0
mov dword [edx + 4], 4
mov dword [edx + 8], 0
mov eax, dword [ebp + 0x38]
mov esi, dword [ebp + 0x34]
mov dword [esp + 0x38], ebx
test eax, eax
mov dword [esp + 0x4c], eax
je 0x40b653
cmp eax, 0x1fffffff
ja 0x40c3ec
lea ebx, [eax*4]
test ebx, ebx
js 0x40c3ec
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x40b63d
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x40c405
mov dword [0x5371d8], eax
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40c405
mov ebp, eax
jmp 0x40b65a
mov ebp, 4
xor ebx, ebx
push ebx
push esi
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x2fc]
mov ebx, dword [eax + 0x3c]
test ebx, ebx
je 0x40b68c
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x10], ecx
lock inc dword [ebx]
jle 0x40c4a5
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x30], ecx
jmp 0x40b68c
movzx eax, byte [eax + 0x160]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1e5]
mov byte [esp + 0xc], al
lea eax, [esp + 0xc8]
inc esi
push 0xff
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [esp + 0x88], edi
mov ecx, dword [esp]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xac], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xb0], ebx
mov ebp, dword [esp + 0x2fc]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x30]
movsd xmm0, qword [ebp + 0x148]
mov dword [esp + 0xb8], eax
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x1e0], al
mov eax, dword [esp + 0x20]
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], eax
movzx eax, byte [esp + 4]
mov byte [esp + 0x1c7], al
mov eax, dword [esp + 8]
movsd qword [esp + 0x1c8], xmm0
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1d8], 0
cmp al, 2
je 0x40b7c3
movzx eax, al
cmp eax, 1
jne 0x40b821
lea eax, [esp + 0x88]
xor ecx, ecx
jmp 0x40b7cf
lea eax, [esp + 0x88]
mov ecx, 1
mov edx, ebp
push eax
call fcn.004160d0
add esp, 4
mov edi, dword [esp + 0x90]
cmp dword [esp + 0x88], edi
jbe 0x40b939
mov eax, dword [esp + 0x8c]
test edi, edi
je 0x40b917
lea esi, [edi*4]
push esi
push eax
push 0
push dword [0x5371d8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
jne 0x40b92b
jmp 0x40b9cc
mov ebx, dword [ebp + 8]
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], 1
shl eax, cl
mov dword [esp + 0x1c], eax
test ebx, ebx
mov dword [esp + 4], ebx
je 0x40ba28
cmp ebx, 0x1fffffff
ja 0x40c3ec
lea edi, [ebx*4]
test edi, edi
js 0x40c3ec
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x40b885
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x40c4e0
mov dword [0x5371d8], eax
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [esp + 0xc], eax
je 0x40c4e0
cmp ebx, 2
jb 0x40ba41
lea esi, [edi - 4]
push esi
push 0
mov ebx, dword [esp + 0x14]
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebx + edi - 4], 0
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x40b8e2
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x40c4e0
mov dword [0x5371d8], eax
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40c4e0
mov ebx, eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, ebx
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 4]
add eax, esi
jmp 0x40ba8f
push eax
push 0
push dword [0x5371d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 4
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0xa8]
cmp dword [esp + 0xa0], edi
jbe 0x40b993
mov eax, dword [esp + 0xa4]
test edi, edi
je 0x40b971
lea esi, [edi*4]
push esi
push eax
push 0
push dword [0x5371d8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
jne 0x40b985
jmp 0x40b9cc
push eax
push 0
push dword [0x5371d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 4
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], edi
mov edi, dword [esp + 0x9c]
cmp dword [esp + 0x94], edi
jbe 0x40b9fa
mov eax, dword [esp + 0x98]
test edi, edi
je 0x40b9d8
lea ecx, [edi*4]
lea esi, [ecx + ecx*2]
push esi
push eax
push 0
push dword [0x5371d8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
jne 0x40b9ec
mov ecx, 4
mov edx, esi
call fcn.004d6180
push eax
push 0
push dword [0x5371d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 4
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], edi
mov esi, dword [esp + 0x54]
lea ecx, [esp + 0x88]
lea eax, [esi + 4]
push 0x15c
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi], 0
add esp, 0x2e4
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
test edi, edi
jne 0x40ba99
jmp 0x40bad1
mov eax, dword [esp + 0xc]
mov dword [eax], 0
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
je 0x40ba61
mov edi, dword [esp + 0x18]
jmp 0x40ba78
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [esp + 0x18]
test eax, eax
je 0x40c4db
mov dword [0x5371d8], eax
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40c4db
mov dword [eax], 0
test edi, edi
je 0x40bad1
js 0x40c3ec
mov eax, dword [0x5371d8]
test eax, eax
jne 0x40babb
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x40c4cf
mov dword [0x5371d8], eax
push edi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [esp + 0x34], eax
je 0x40c4cf
test ebx, ebx
mov edx, edi
je 0x40c140
mov ecx, dword [ebp + 4]
lea eax, [ebx + ebx*4]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [esp], 0
mov edx, ecx
lea eax, [ecx + eax*4]
mov ecx, dword [ebp + 0x158]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0x15c]
lea eax, [eax + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov ecx, dword [ebp + 0x20]
add eax, 4
mov dword [esp + 0x68], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
jmp 0x40bb8b
cmp dword [esp + 4], 1
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
je 0x40c36c
mov ebx, dword [esp]
mov dword [eax], ebx
mov dword [ecx], ebx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add ebx, dword [esp + 0x1c]
add edx, 0x14
inc ecx
mov dword [esp], ebx
cmp edx, dword [esp + 0x70]
mov dword [esp + 0x2c], edx
je 0x40c131
cmp ecx, dword [esp + 4]
je 0x40c42d
mov dword [esp + 0x28], ecx
test ecx, ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
je 0x40bb63
mov ecx, dword [esp + 0x28]
cmp ecx, 1
je 0x40bb50
cmp ecx, dword [esp + 0x50]
je 0x40be65
cmp ecx, dword [esp + 0x64]
je 0x40be65
mov ebx, dword [esp]
mov eax, dword [esp + 0x1c]
lea edx, [ebx + eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [eax + ecx*4], ebx
mov eax, dword [esp + 0x10]
mov dword [eax + ecx*4], edx
mov eax, edx
mov ecx, dword [esp + 0x20]
shr eax, cl
cmp eax, dword [esp + 0x18]
jae 0x40c39c
mov ecx, dword [esp + 0x34]
mov byte [ecx + eax], 1
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 8], 0
mov ecx, dword [esp + 0x28]
je 0x40bc70
cmp dword [esp + 4], ecx
jbe 0x40c38e
lea edx, [ecx + ecx*4]
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x88]
mov dword [esp + 8], edx
mov edx, dword [esp]
mov eax, dword [esp + 8]
push dword [ebx + eax*4 + 8]
push dword [esp + 0x40]
push dword [esp + 0x48]
call fcn.00415fc0
add esp, 0xc
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x88]
push dword [ebx + eax*4 + 8]
push dword [esp + 0x40]
push dword [esp + 0x48]
call fcn.00415fc0
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp dword [esp + 4], ecx
lea edx, [esp + 0x88]
lea ebx, [esp + 0x58]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
jbe 0x40c380
mov edx, dword [esp + 0x14]
lea eax, [ecx + ecx*4]
mov ecx, dword [edx + eax*4]
xor edx, edx
test ecx, ecx
je 0x40c0b1
xor ebx, ebx
cmp ecx, edi
jae 0x40c125
lea eax, [ecx + ecx*8]
mov ecx, dword [esi + eax + 5]
mov dword [esp + 0x30], ecx
movzx ecx, byte [esi + eax]
mov eax, dword [esi + eax + 1]
mov dword [esp + 0x48], eax
movzx eax, byte [esp]
mov byte [esp + 0x44], cl
movzx ecx, cl
cmp ebx, ecx
mov dword [esp + 0x24], ecx
jb 0x40bd3d
movzx ecx, byte [esp + ecx + 0xc8]
test dl, 1
jne 0x40be1a
jmp 0x40be1e
xor eax, eax
movzx ecx, byte [esp + 8]
mov edx, dword [esp + 0x90]
add ecx, dword [esp + 0x58]
cmp ecx, edx
jae 0x40c352
mov edx, dword [esp + 0x8c]
mov dword [edx + ecx*4], eax
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0x24]
mov dl, 1
inc ebx
cmp ebx, ecx
je 0x40be0b
movzx ebp, bl
test dl, 1
mov ah, byte [esp + ebp + 0xc8]
mov dword [esp], ebp
je 0x40bd53
cmp al, ah
je 0x40bd34
mov ecx, dword [esp + 0x2c]
mov byte [esp + 8], ah
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x40bd05
cmp dword [esp + 4], ecx
jbe 0x40c300
mov eax, dword [esp + 0x14]
jmp 0x40bd99
mov eax, dword [ecx]
cmp eax, 1
jne 0x40bd07
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + ebp*4 + 0xc]
cmp dword [esp + 4], ecx
jbe 0x40c300
lea ebp, [ecx + ecx*4]
mov ecx, dword [eax + ebp*4 + 4]
test ecx, ecx
je 0x40bdd0
mov eax, dword [esp + 0x2fc]
mov edx, dword [esp]
movzx eax, byte [eax + edx + 0x48]
add ecx, eax
cmp ecx, dword [esp + 0x38]
jae 0x40c32a
mov eax, dword [esp + 0x4c]
lea ecx, [eax + ecx*4]
jmp 0x40bd80
lea eax, [eax + ebp*4]
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x40bd87
cmp ecx, edi
jae 0x40c125
lea ecx, [ecx + ecx*8]
mov edx, ebx
movzx ebx, byte [esi + ecx]
lea eax, [esi + ecx + 5]
cmp bl, dl
mov ebx, edx
jb 0x40bde0
jne 0x40bd87
add ecx, esi
inc ecx
jmp 0x40bd80
mov ebx, ecx
movzx ecx, byte [esp + ecx + 0xc8]
test dl, 1
je 0x40be1e
cmp al, cl
je 0x40be40
movzx edx, byte [esp + 0x44]
movzx eax, cl
mov byte [esp], cl
lea ecx, [esp + 0x74]
push dword [esp + 0x48]
push eax
call fcn.00415e30
add esp, 8
movzx eax, byte [esp]
mov dl, 1
mov ecx, dword [esp + 0x30]
inc ebx
mov byte [esp], al
test ecx, ecx
jne 0x40bcbd
movzx ecx, byte [esp]
cmp ebx, 0xff
jbe 0x40c0c0
jmp 0x40c115
mov edx, dword [esp + 0x50]
cmp ecx, edx
jne 0x40be8e
mov eax, dword [esp + 0xc]
mov ebx, dword [esp]
mov dword [eax + edx*4], ebx
mov ebx, dword [esp + 0x10]
mov dword [ebx + edx*4], 0
mov eax, dword [esp + 0x2c]
cmp dword [eax + 8], 0
jne 0x40becb
jmp 0x40befe
mov eax, dword [esp + 0xc]
mov edx, dword [esp]
mov dword [eax + ecx*4], 0
mov eax, dword [esp + 0x10]
mov dword [eax + ecx*4], edx
mov eax, edx
mov ecx, dword [esp + 0x20]
shr eax, cl
cmp eax, dword [esp + 0x18]
jae 0x40c3dc
mov ecx, dword [esp + 0x34]
mov byte [ecx + eax], 1
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp dword [eax + 8], 0
je 0x40befe
cmp dword [esp + 4], ecx
jbe 0x40c38e
mov ebx, dword [esp + 0x14]
mov edx, dword [esp]
lea eax, [ecx + ecx*4]
lea ecx, [esp + 0x88]
push dword [ebx + eax*4 + 8]
push dword [esp + 0x40]
push dword [esp + 0x48]
call fcn.00415fc0
mov ecx, dword [esp + 0x34]
add esp, 0xc
cmp dword [esp + 4], ecx
jbe 0x40c380
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x24], ebx
mov dword [esp + 8], edx
test ecx, ecx
je 0x40c045
xor eax, eax
xor ebx, ebx
jmp 0x40bf6d
cmp eax, dword [esp + 8]
jae 0x40c35c
mov edx, dword [esp + 0x24]
mov cl, ch
mov dword [edx + eax*4], ebp
mov ebp, dword [esp + 0x2fc]
mov al, 1
mov byte [esp + 0x30], cl
mov ecx, dword [esp + 0x48]
inc ebx
test ecx, ecx
je 0x40c030
cmp ecx, edi
jae 0x40c125
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + edx + 1]
movzx ebp, byte [esi + edx]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + edx + 5]
cmp ebx, ebp
mov dword [esp + 0x48], ecx
movzx ecx, byte [esp + 0x30]
jb 0x40bfd4
mov ch, byte [esp + ebp + 0xc8]
mov ebp, dword [esp + 0x2fc]
test al, 1
jne 0x40c004
jmp 0x40c00c
movzx eax, dl
add eax, dword [esp]
cmp eax, dword [esp + 8]
jae 0x40c30e
mov ecx, dword [esp + 0x24]
mov dword [ecx + eax*4], 0
mov al, 1
mov ecx, edx
inc ebx
cmp ebp, ebx
je 0x40bff0
movzx edx, bl
test al, 1
movzx edx, byte [esp + edx + 0xc8]
je 0x40bfb0
cmp cl, dl
je 0x40bfcf
jmp 0x40bfb0
mov ebx, ebp
mov ch, byte [esp + ebp + 0xc8]
mov ebp, dword [esp + 0x2fc]
test al, 1
je 0x40c00c
cmp cl, ch
je 0x40bf5c
movzx eax, ch
mov ebp, dword [esp + 0x44]
add eax, dword [esp]
cmp ebp, 1
jne 0x40bf40
xor ebp, ebp
cmp eax, dword [esp + 8]
jb 0x40bf4a
jmp 0x40c30e
movzx ecx, byte [esp + 0x30]
cmp ebx, 0xff
jbe 0x40c050
mov ebx, dword [esp]
jmp 0x40bb6a
xor eax, eax
xor ebx, ebx
nop dword [eax]
lea ebp, [ebx + 1]
cmp ebx, 0xff
mov edx, 0xff
cmovae ebp, edx
movzx edx, byte [esp + ebx + 0xc8]
test al, 1
je 0x40c071
cmp cl, dl
je 0x40c090
movzx ecx, dl
add ecx, dword [esp]
cmp ecx, dword [esp + 8]
jae 0x40c310
mov eax, dword [esp + 0x24]
mov dword [eax + ecx*4], 0
mov al, 1
mov ecx, edx
cmp ebx, 0xfe
ja 0x40c0a2
cmp ebp, 0xff
mov ebx, ebp
jbe 0x40c050
mov ebx, dword [esp]
mov ebp, dword [esp + 0x2fc]
jmp 0x40bb6a
xor ebx, ebx
nop word cs:[eax + eax]
nop dword [eax]
lea ebp, [ebx + 1]
cmp ebx, 0xff
mov eax, ebx
mov ebx, 0xff
cmovae ebp, ebx
mov ebx, eax
movzx eax, byte [esp + eax + 0xc8]
test dl, 1
je 0x40c0e6
cmp cl, al
je 0x40c103
lea ecx, [esp + 0x74]
mov edx, ebx
mov byte [esp], al
movzx eax, al
push 1
push eax
call fcn.00415e30
add esp, 8
movzx ecx, byte [esp]
mov dl, 1
cmp ebx, 0xfe
ja 0x40c115
cmp ebp, 0xff
mov ebx, ebp
jbe 0x40c0c0
mov ebp, dword [esp + 0x2fc]
mov ebx, dword [esp + 0x60]
jmp 0x40bb6a
mov edx, edi
push 0x4e303c
call fcn.004d63d0
mov edx, dword [esp + 0xbc]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0x10]
test edx, edx
je 0x40c244
mov eax, dword [esp + 0x1c]
xor ebp, ebp
mov dword [esp], edx
lea eax, [eax*4]
mov dword [esp + 0x14], eax
jmp 0x40c17c
mov edx, dword [esp]
inc ebp
cmp ebp, edx
je 0x40c244
mov eax, ebp
mov ecx, dword [esp + 0x20]
shl eax, cl
cmp ebp, edi
je 0x40c344
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x90]
cmp byte [ecx + ebp], 0
mov edi, edx
je 0x40c1f0
sub edi, eax
jb 0x40c411
cmp dword [esp + 0x1c], edi
ja 0x40c41d
cmp dword [esp + 0x20], 0x1d
mov edi, dword [esp + 0x18]
ja 0x40c170
shl eax, 2
mov edx, dword [esp + 0x14]
add eax, dword [esp + 0x8c]
nop word [eax + eax]
mov ecx, dword [eax]
cmp ecx, ebx
jae 0x40c31e
mov ecx, dword [esi + ecx*4]
mov dword [eax], ecx
add eax, 4
add edx, 0xfffffffc
jne 0x40c1d0
jmp 0x40c170
sub edi, eax
jb 0x40c441
cmp dword [esp + 0x1c], edi
ja 0x40c44d
cmp dword [esp + 0x20], 0x1d
mov edi, dword [esp + 0x18]
ja 0x40c170
shl eax, 2
mov edx, dword [esp + 0x14]
add eax, dword [esp + 0x8c]
nop
mov ecx, dword [eax]
cmp ecx, ebx
jae 0x40c338
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + ecx*4]
mov esi, dword [esp + 0x10]
mov dword [eax], ecx
add eax, 4
add edx, 0xfffffffc
jne 0x40c220
jmp 0x40c170
mov edx, dword [esp + 0x2fc]
mov ecx, dword [edx + 0x150]
cmp ecx, ebx
jae 0x40c3ac
mov eax, dword [esi + ecx*4]
mov ecx, dword [edx + 0x154]
cmp ecx, ebx
mov dword [esp + 0x1d0], eax
jae 0x40c3b8
mov eax, dword [esi + ecx*4]
mov ecx, dword [edx + 0x158]
cmp ecx, ebx
mov dword [esp + 0x1d4], eax
jae 0x40c3c4
mov eax, dword [esp + 0xc]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edx + 0x15c]
cmp ecx, ebx
mov dword [esp + 0x1d8], eax
jae 0x40c3d0
mov eax, dword [esi + ecx*4]
test edi, edi
mov dword [esp + 0x1dc], eax
je 0x40c2c5
push dword [esp + 0x34]
push 0
push dword [0x5371d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x10]
push 0
push dword [0x5371d8]
call esi
push dword [esp + 0xc]
push 0
push dword [0x5371d8]
call esi
mov edi, dword [esp + 0x90]
cmp dword [esp + 0x88], edi
ja 0x40b7ee
jmp 0x40b939
mov edx, dword [esp + 4]
push 0x4e305c
call fcn.004d63d0
mov ecx, eax
mov edx, dword [esp + 8]
push 0x4df75c
call fcn.004d63d0
mov edx, ebx
push 0x4df70c
call fcn.004d63d0
mov edx, dword [esp + 0x38]
push 0x4e306c
call fcn.004d63d0
mov edx, ebx
push 0x4df6dc
call fcn.004d63d0
mov ecx, edi
mov edx, edi
push 0x4df6ac
call fcn.004d63d0
push 0x4df78c
call fcn.004d63d0
mov edx, dword [esp + 8]
mov ecx, eax
push 0x4df74c
call fcn.004d63d0
mov ecx, 1
mov edx, 1
push 0x4df73c
call fcn.004d63d0
mov edx, dword [esp + 4]
push 0x4dfa68
call fcn.004d63d0
mov edx, dword [esp + 4]
push 0x4dfa78
call fcn.004d63d0
mov edx, dword [esp + 0x18]
mov ecx, eax
push 0x4df71c
call fcn.004d63d0
mov edx, ebx
push 0x4df66c
call fcn.004d63d0
mov edx, ebx
push 0x4df67c
call fcn.004d63d0
mov edx, ebx
push 0x4df68c
call fcn.004d63d0
mov edx, ebx
push 0x4df69c
call fcn.004d63d0
mov edx, dword [esp + 0x18]
mov ecx, eax
push 0x4df72c
call fcn.004d63d0
call fcn.0041f600
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs
mov edx, 0x2b
push 0x4df61c
call fcn.004d6490
mov ecx, 4
mov edx, ebx
call fcn.004d6180
mov ecx, eax
push 0x4df6ec
call fcn.004d6370
mov ecx, dword [esp + 0x1c]
mov edx, edi
push 0x4df6fc
call fcn.004d6430
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs
mov edx, 0x2b
push 0x4e06b4
call fcn.004d6490
mov ecx, eax
push 0x4df6bc
call fcn.004d6370
mov ecx, dword [esp + 0x1c]
mov edx, edi
push 0x4df6cc
call fcn.004d6430
mov ecx, 4
mov edx, ebp
call fcn.004d6180
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs
mov edx, 0x2b
push 0x4df5fc
call fcn.004d6490
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs
mov edx, 0x2b
push 0x4df60c
call fcn.004d6490
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs
mov edx, 0x2b
push 0x4df64c
call fcn.004d6490
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs
mov edx, 0x2b
push 0x4df62c
call fcn.004d6490
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs
mov edx, 0x2b
push 0x4df63c
call fcn.004d6490
mov ecx, 1
mov edx, edi
call fcn.004d6180
mov edi, 4
mov ecx, 4
mov edx, edi
call fcn.004d6180
int3