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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x59e718
sub esp, 0x94
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 4]
cmp eax, 0x3e8
jge 0x59e5c4
mov dword [esp + 0x1c], eax
lea ecx, [0x6070c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004475c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
lea ecx, [0x6070c0]
mov dword [esp], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.004475c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x74]
xor eax, eax
call fcn.0045eb78
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x1c], ecx
lea edx, [0x6070c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004475c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
lea ecx, [0x6070c0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004475c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x54]
xor eax, eax
call fcn.0045eb78
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x14], ecx
lea edx, [0x600660]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004475c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
lea edi, [esp + 0x34]
xor eax, eax
call fcn.0045eb78
lea eax, [0x59e730]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x74]
mov dword [esp + 0x50], edx
lea ebx, [esp + 0x34]
mov dword [esp + 0x20], ebx
nop
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov ebx, dword [esp + 0x98]
mov ebx, dword [ebx + 0xc]
nop
nop
mov ebp, dword [esp + 0x74]
cmp dword [edx + 4], ebx
jbe 0x59e592
mov dword [ebp + ebx*4], 0
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x8c]
cmp edx, esi
jbe 0x59e70e
mov dword [ebp + esi*4], ebx
inc dword [esp + 0x8c]
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
lea ecx, [0x605b00]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004475c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
jmp 0x59e5de
mov dword [esp + 0x9c], 0
add esp, 0x94
ret
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x90]
cmp dword [esp + 0x8c], ebx
jbe 0x59e656
nop
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
nop
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x90]
cmp esi, ebx
jae 0x59e705
mov ebx, dword [ebp + esi*4]
lea ebp, [esi + 1]
mov dword [esp + 0x90], ebp
mov edx, dword [esp + 0x20]
mov ebp, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
call ebp
movzx eax, byte [esp + 0x10]
test al, al
jne 0x59e5d6
mov dword [esp + 0x98], 0
mov edx, dword [esp + 0x98]
test edx, edx
je 0x59e670
mov edx, dword [edx + 4]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
xor eax, eax
jmp 0x59e68c
mov eax, dword [esp + 0x98]
mov dword [esp + 0x9c], eax
add esp, 0x94
ret
inc eax
mov ebx, dword [esp + 0x30]
mov edx, edi
cmp eax, edx
jge 0x59e670
cmp eax, ecx
jae 0x59e700
mov ebp, dword [esp + 0x98]
mov esi, dword [ebp]
mov dword [esp + 0x28], esi
mov ebp, dword [ebp + 4]
mov edi, edx
lea edx, [eax + eax*2]
mov esi, dword [ebx + edx*4]
mov dword [esp + 0x24], esi
mov esi, dword [ebx + edx*4 + 4]
mov edx, dword [ebx + edx*4 + 8]
cmp eax, ebp
jae 0x59e6f9
lea ebp, [eax + eax*8]
mov ebx, dword [esp + 0x28]
mov dword [ebx + ebp*4 + 0x10], esi
mov dword [ebx + ebp*4 + 0x14], edx
lea edx, [ebx + ebp*4 + 0xc]
mov esi, dword [0x7e77b0]
test esi, esi
jne 0x59e6e4
mov edx, dword [esp + 0x24]
mov dword [ebx + ebp*4 + 0xc], edx
jmp 0x59e685
mov ebx, edi
mov edi, edx
mov ebp, eax
mov eax, dword [esp + 0x24]
call fcn.0045e950
mov eax, ebp
mov edi, ebx
jmp 0x59e685
mov ecx, ebp
call fcn.0045e9d0
call fcn.0045e9d0
mov eax, esi
mov ecx, ebx
call fcn.0045e9e0
mov eax, esi
mov ecx, edx
call fcn.0045e9e0
nop
call fcn.0045d540
jmp fcn.0059e380