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

Disassembly:
jmp 0x707410
sub esp, 0x64
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x68]
push ebx
push esi
push edi
cmp dword [edx + 0x1c], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jne 0x707443
mov ax, word [edx + 0xa]
shr ax, 0xf
test al, al
je 0x707686
mov ebx, dword [esp + 0x78]
xor edi, edi
mov eax, dword [esp + 0x7c]
xor esi, esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edi
lea eax, [ebx + eax*4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
cmp ebx, eax
je 0x707551
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0040f0fb
test al, al
jne 0x707540
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
lea eax, [edi + 1]
shl eax, 2
lea ecx, [edx + edx*2]
cmp eax, ecx
jb 0x7074e2
lea eax, [edx + edx]
push eax
lea ecx, [esp + 0x18]
call fcn.00406285
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040f0fb
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x707523
mov ecx, edx
lea eax, [edi + 1]
sub ecx, esi
sub ecx, eax
mov eax, edx
shr eax, 3
cmp ecx, eax
ja 0x70751f
push edx
lea ecx, [esp + 0x18]
call fcn.00406285
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040f0fb
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x707523
mov eax, dword [esp + 0x3c]
inc edi
cmp dword [eax], 0xffffffff
mov dword [esp + 0x18], edi
je 0x707532
dec esi
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
nop dword [eax + eax]
add ebx, 4
cmp ebx, dword [esp + 0x10]
jne 0x707476
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], 4
mov dword [esp + 0x40], eax
xor ecx, ecx
mov ax, word [edx + 0xa]
shr ax, 0xf
mov dword [esp + 0x44], ecx
test al, al
je 0x707583
lea eax, [esp + 0x40]
mov ecx, edx
push eax
call fcn.00413cbe
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
lea edi, [esi + ecx*8]
cmp esi, edi
je 0x7075bf
cmp dword [esp + 0x7c], 0
je 0x7075ac
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.0040f0fb
test al, al
je 0x7075b8
push dword [esi + 4]
mov ecx, ebx
push dword [esi]
call fcn.00403abc
add esi, 8
cmp esi, edi
jne 0x707592
cmp dword [esp + 0x7c], 0
je 0x7075e5
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040f0fb
test al, al
je 0x70765a
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xc], eax
test eax, eax
je 0x707612
push ecx
mov eax, esp
mov dword [eax], 2
lea eax, [esp + 0x10]
push dword [esp + 0x10]
push eax
call fcn.0040c757
mov eax, dword [esp + 0x18]
add esp, 0xc
lea esi, [ebx + 0x1c]
lea ecx, [esp + 0xc]
cmp ecx, esi
je 0x707648
mov ecx, dword [esi]
test ecx, ecx
je 0x707631
push ecx
push esi
call fcn.00413d7c
mov eax, dword [esp + 0x14]
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x70765a
push esi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0040c810
add esp, 0xc
jmp 0x70765a
test eax, eax
je 0x70765a
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00413d7c
add esp, 8
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x4c]
cmp esi, eax
je 0x707670
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 0x20]
push 4
shl eax, 2
push eax
push dword [esp + 0x1c]
call fcn.00415398
add esp, 0xc
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x64
ret 0xc