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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4caca0
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x80]
mov ebp, ecx
test edi, edi
jne 0x432203
mov eax, 0xc1000404
jmp 0x432665
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [ebp + 0x1a0]
test ecx, ecx
jne 0x432217
xor eax, eax
jmp 0x432222
mov eax, dword [ebp + 0x1a4]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jge 0x43265c
test ebx, ebx
jl 0x432254
mov eax, dword [ebp + 0x1a0]
lea ecx, [ebp + 0x19c]
test eax, eax
je 0x432254
mov edx, dword [ecx + 8]
sub edx, eax
sar edx, 2
cmp ebx, edx
jae 0x432254
push ebx
call fcn.00410be2
mov eax, dword [eax]
jmp 0x432259
mov eax, dword [pe_dos_header]
cmp edi, eax
je 0x432260
inc ebx
jmp 0x432209
mov ecx, edi
mov dword [esp + 0x10], ebx
call fcn.00432f10
mov eax, dword [edi + 0x11c]
mov ecx, 3
mov dword [eax + 0x14], ecx
mov eax, dword [ebp + 0x11c]
mov dword [eax + 0x14], ecx
mov eax, dword [edi + 0x17c]
cmp eax, ebp
jne 0x432592
mov ecx, dword [edi + 0xe4]
mov dword [edi + 0x17c], 0
test ecx, ecx
mov dword [edi + 0xb8], 0xffff
je 0x432592
push 0xbeb
call fcn.0044fa70
mov esi, eax
test esi, esi
je 0x4323da
cmp dword [esi + 8], 1
jne 0x432592
mov al, byte [esp + 0x80]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00406ae1
or ebx, 0xffffffff
xor eax, eax
mov edi, 0x4f1738
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x78], eax
push ecx
push 0x4f1738
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.00406978
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], 1
push ecx
mov ecx, esi
call fcn.004542b0
mov eax, dword [esp + 0x24]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x78], ebx
je 0x432341
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x24], edi
push 1
lea ecx, [esp + 0x18]
call fcn.00406ae1
mov dl, byte [esp + 0x80]
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00406ae1
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov edi, 0x501a04
mov ecx, ebx
xor eax, eax
mov dword [esp + 0x78], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x501a04
lea ecx, [esp + 0x1c]
call fcn.00406978
lea eax, [esp + 0x14]
mov ecx, esi
push eax
mov dword [esp + 0x7c], 3
call fcn.004542b0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], ebx
test eax, eax
je 0x4323bf
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x24], 0
push 1
lea ecx, [esp + 0x18]
call fcn.00406ae1
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x10]
jmp 0x432592
push 0x4f16f4
push 0x501fc0
call fcn.00422030
add esp, 8
lea ecx, [esp + 0x44]
call fcn.0046bef0
mov ecx, 0x502078
mov dword [esp + 0x78], 4
call fcn.0042c140
test eax, eax
je 0x4324eb
mov cl, byte [esp + 0x80]
xor esi, esi
mov byte [esp + 0x14], cl
push esi
lea ecx, [esp + 0x18]
call fcn.00406ae1
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
lea edx, [esp + 0x2c]
mov bl, 5
push edx
mov ecx, edi
mov byte [esp + 0x7c], bl
call fcn.004481e0
mov eax, dword [eax + 4]
mov byte [esp + 0x78], 6
cmp eax, esi
jne 0x432451
mov eax, 0x4d58e0
push eax
lea eax, [esp + 0x18]
push 0xce4
push eax
call fcn.004299b0
mov eax, dword [esp + 0x48]
add esp, 0xc
cmp eax, esi
mov byte [esp + 0x78], bl
je 0x43247d
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x3c], esi
push 1
lea ecx, [esp + 0x30]
call fcn.00406ae1
lea ecx, [esp + 0x14]
push 1
push ecx
push 0x80000002
lea ecx, [esp + 0x50]
call fcn.0046c0b0
test eax, eax
je 0x4324c1
push 0x4f1684
push 0x501fc0
call fcn.00422030
add esp, 8
lea ecx, [esp + 0x44]
push 0xbeb
call fcn.0046e530
mov eax, dword [esp + 0x24]
mov byte [esp + 0x78], 4
cmp eax, esi
je 0x4324db
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x24], esi
push 1
lea ecx, [esp + 0x18]
call fcn.00406ae1
jmp 0x43257d
mov ecx, 0x502078
call fcn.0042c660
test eax, eax
je 0x432581
lea edx, [esp + 0x2c]
mov ecx, edi
push edx
call fcn.00427050
mov ecx, dword [0x502164]
lea esi, [esp + 0x44]
push 1
push esi
mov edx, dword [ecx]
push eax
mov byte [esp + 0x84], 7
call dword [edx + 0x3c]
test eax, eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x78], 4
sete bl
test eax, eax
je 0x432547
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x3c], 0
push 1
lea ecx, [esp + 0x30]
call fcn.00406ae1
test bl, bl
je 0x432576
push 0xbeb
lea ecx, [esp + 0x48]
call fcn.0046e530
push 0x4f1614
push 0x501fc0
call fcn.00422030
add esp, 8
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], 0xffffffff
call fcn.0046bf70
mov ecx, dword [edi + 8]
mov eax, 1
cmp ecx, eax
jne 0x4325a5
mov dword [edi + 8], 2
cmp dword [ebp + 8], eax
jne 0x4325b1
mov dword [ebp + 8], 2
test ebx, ebx
jl 0x432608
mov eax, dword [ebp + 0x1a0]
test eax, eax
je 0x432608
mov ecx, dword [ebp + 0x1a4]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x432608
test ebx, ebx
mov ecx, eax
je 0x4325d7
lea ecx, [ecx + ebx*4]
mov edx, dword [ebp + 0x1a4]
lea eax, [ecx + 4]
cmp eax, edx
je 0x4325f2
sub ecx, eax
mov esi, dword [eax]
mov dword [ecx + eax], esi
add eax, 4
cmp eax, edx
jne 0x4325e6
mov eax, dword [ebp + 0x1a4]
add eax, 0xfffffffc
mov dword [esp + 0x80], eax
mov dword [ebp + 0x1a4], eax
push edi
mov ecx, ebp
call fcn.00433ec0
test eax, eax
je 0x43261f
push 0
mov ecx, ebp
call fcn.00431d00
jmp 0x432634
push edi
mov ecx, ebp
call fcn.00433ee0
test eax, eax
je 0x432634
push 0
mov ecx, ebp
call fcn.00431d40
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x1c]
sub esp, 0x18
mov ecx, edi
mov eax, esp
mov dword [esp + 0x98], esp
push eax
call fcn.004481e0
mov ecx, ebp
call fcn.0044cea0
xor eax, eax
jmp 0x432665
mov dword [esp + 0x10], ebx
mov eax, 0xc1000421
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 4