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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x59d087
sub esp, 0x84
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
call fcn.0059b280
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test ebp, ebp
jne 0x59d054
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x94]
cmp ebx, 5
jge 0x59d016
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x59cf53
mov eax, dword [esp + 0x90]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 4], edx
call fcn.004c8110
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x6c], ebx
lea ebp, [0x7b48a0]
mov dword [esp], ebp
lea esi, [esp + 0x70]
mov dword [esp + 4], esi
call fcn.004074b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
lea edx, [0x7b48a0]
mov dword [esp], edx
lea ebx, [esp + 0x68]
mov dword [esp + 4], ebx
call fcn.004074b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea eax, [0xb81050]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.0045d850
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x5c], edx
lea edx, [0x7b48a0]
mov dword [esp], edx
lea ebx, [esp + 0x60]
mov dword [esp + 4], ebx
call fcn.004074b0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
lea edx, [0x7b48a0]
mov dword [esp], edx
lea ebx, [esp + 0x58]
mov dword [esp + 4], ebx
call fcn.004074b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0xb81070]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.0045d850
lea eax, [0xb92978]
mov dword [esp], eax
call fcn.0045e950
lea eax, [0xb92978]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x8596bc]
mov dword [esp + 4], eax
call fcn.004268a0
test eax, eax
jne 0x59cf46
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
lea edx, [0xb81030]
mov dword [esp], edx
lea ebx, [0x7b48a0]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x48]
mov dword [esp + 8], ebp
call fcn.0045d5e0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x59cf35
lea ebx, [0x793fe0]
cmp ecx, ebx
jne 0x59d06f
mov ecx, dword [edx]
mov ebp, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edx
mov esi, dword [esp + 0x2c]
xor eax, eax
jmp 0x59cda7
inc eax
mov edx, edi
lea ebx, [0x793fe0]
cmp eax, ebp
jge 0x59ce13
lea ebx, [ecx + eax*8]
mov edi, edx
mov edx, dword [ebx]
mov ebx, dword [ebx + 4]
cmp ebx, esi
jne 0x59cd9e
mov dword [esp + 0x30], eax
mov dword [esp], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004021f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x59cdf0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
jmp 0x59cd9e
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
nop
call fcn.00427060
add esp, 0x84
ret
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x54], ebx
lea ebx, [ebp + 1]
cmp ebx, edx
jg 0x59cefb
mov eax, edx
lea edx, [ecx + ebp*8 + 4]
mov dword [edx], esi
mov edx, dword [0xb92b90]
lea edi, [ecx + ebp*8]
test edx, edx
jne 0x59cee9
mov edx, dword [esp + 0x40]
mov dword [edi], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], eax
lea eax, [0x7b48a0]
mov dword [esp], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
call fcn.004074b0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
lea edx, [0x793fe0]
mov dword [esp], edx
lea edx, [esp + 0x78]
mov dword [esp + 4], edx
call fcn.00407530
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0xb81030]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.0045d850
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
nop
call fcn.00427060
add esp, 0x84
ret
mov edx, eax
mov eax, dword [esp + 0x40]
call fcn.0044c990
mov eax, edx
jmp 0x59ce4d
lea eax, [0x7b48a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00438ba0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
jmp 0x59ce2e
lea ebx, [0x793fe0]
xor ecx, ecx
xor ebp, ebp
xor edx, edx
jmp 0x59cd8a
nop
call fcn.00427060
add esp, 0x84
ret
lea ecx, [0x7ba640]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x835b45]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call fcn.0040e5b0
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x59cf95
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
jmp 0x59cb9b
lea eax, [0x7ba640]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea ecx, [0x835b45]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call fcn.0040ec90
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 5
mov eax, dword [0xb92b90]
test eax, eax
jne 0x59d009
lea eax, [0x834618]
mov dword [edi], eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call fcn.00599ea0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
jmp 0x59cb9b
lea eax, [0x834618]
call fcn.0044c990
jmp 0x59cfda
mov eax, dword [esp + 0x90]
mov dword [esp], eax
lea ecx, [0x8345a0]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call fcn.004021f0
movzx ebp, byte [esp + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x94]
jmp 0x59cb8a
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebx
nop
call fcn.00427060
add esp, 0x84
ret
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x7b4120]
mov dword [esp + 8], eax
call fcn.00407150
ud2
call fcn.0044b230
jmp fcn.0059cb00