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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59d45a
sub esp, 0x68
mov eax, dword [esp + 0x70]
test eax, eax
je 0x59d31d
lea ecx, [0x63d2e0]
cmp ecx, eax
jne 0x59d313
mov ecx, dword [esp + 0x74]
je 0x59d2f8
call fcn.00499d60
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test edx, edx
jne 0x59d2e1
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x80]
mov ebp, dword [edx + 0x7c]
mov esi, dword [edx + 0x78]
lea edi, [edx + 0x78]
mov dword [esp + 0x64], edi
lea edi, [ebp + 1]
cmp edi, ebx
jg 0x59d267
lea ebx, [ebp + 1]
mov dword [edx + 0x7c], ebx
lea ebx, [esi + ebp*8]
lea edi, [0x63d280]
mov dword [ebx], edi
mov ebx, dword [0x749b10]
lea ebp, [esi + ebp*8 + 4]
test ebx, ebx
jne 0x59d244
mov dword [ebp], ecx
mov ebx, dword [edx + 0x8c]
mov ebp, dword [edx + 0x88]
mov esi, dword [edx + 0x84]
lea ecx, [edx + 0x84]
mov dword [esp + 0x60], ecx
lea ecx, [ebp + 1]
cmp ecx, ebx
jg 0x59d1c5
lea ecx, [ebp + 1]
mov dword [edx + 0x88], ecx
lea ecx, [esi + ebp*8]
mov dword [ecx], edi
lea ecx, [esi + ebp*8 + 4]
mov ebx, dword [0x749b10]
test ebx, ebx
jne 0x59d1b4
mov dword [ecx], eax
lea eax, [0x5ddbe0]
mov dword [esp], eax
call fcn.0040dcf0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
lea ecx, [0x59f1e0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [0x749b10]
lea edx, [eax + 8]
lea ebx, [eax + 0xc]
test ecx, ecx
jne 0x59d183
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x98]
mov ebx, dword [ecx + 0x94]
mov ebp, dword [ecx + 0x90]
lea esi, [ecx + 0x90]
lea edi, [ebx + 1]
cmp edi, edx
jg 0x59d104
lea edx, [ebx + 1]
mov dword [ecx + 0x94], edx
lea ecx, [ebp + ebx*4]
mov edx, dword [0x749b10]
test edx, edx
jne 0x59d0f6
mov dword [ebp + ebx*4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040e560
jmp 0x59d0d7
mov dword [esp + 0x58], esi
lea eax, [0x5c56a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
call fcn.00438950
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x98], edx
mov edx, dword [0x749b10]
test edx, edx
jne 0x59d15d
mov dword [ebx + 0x90], eax
mov ebp, eax
mov eax, dword [esp + 0x5c]
mov edx, ecx
mov ecx, ebx
mov ebx, edx
jmp 0x59d0bc
mov dword [esp + 0x54], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x6c]
jmp 0x59d14c
mov dword [esp + 0x50], ebx
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x5c]
jmp 0x59d099
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040e560
jmp 0x59d052
lea eax, [0x5d7560]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.00438950
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x8c], edx
mov edx, dword [0x749b10]
test edx, edx
jne 0x59d21e
mov dword [ebx + 0x84], eax
mov edx, ebx
lea edi, [0x63d280]
mov ebp, ecx
mov esi, eax
mov eax, dword [esp + 0x30]
jmp 0x59d030
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x6c]
jmp 0x59d209
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0040e560
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
lea edi, [0x63d280]
jmp 0x59d009
lea eax, [0x5d7560]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
call fcn.00438950
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x80], edx
mov edx, dword [0x749b10]
test edx, edx
jne 0x59d2bb
mov dword [ebx + 0x78], eax
mov edx, ebx
mov ebp, ecx
mov esi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
jmp 0x59cfe3
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x6c]
jmp 0x59d2a8
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
add esp, 0x68
ret
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov ecx, 0
jmp 0x59cf97
lea eax, [0x60b4ba]
mov dword [esp], eax
mov dword [esp + 4], 3
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
call fcn.00498c10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x59d447
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x7c]
mov esi, dword [ebx + 0x78]
mov edi, dword [ebx + 0x80]
lea ecx, [ebx + 0x78]
mov dword [esp + 0x38], ecx
lea ecx, [ebp + 1]
cmp ecx, edi
jg 0x59d3cf
lea ecx, [ebp + 1]
mov dword [ebx + 0x7c], ecx
lea ecx, [esi + ebp*8]
lea ebx, [0x63d280]
mov dword [ecx], ebx
lea ecx, [esi + ebp*8 + 4]
mov ebx, dword [0x749b10]
test ebx, ebx
jne 0x59d3b9
mov dword [ecx], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
add esp, 0x68
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
jmp 0x59d3a2
lea eax, [0x5d7560]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
call fcn.00438950
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x80], edx
mov edx, dword [0x749b10]
test edx, edx
jne 0x59d421
mov dword [ebx + 0x78], eax
mov edx, dword [esp + 0x3c]
mov ebp, ecx
mov esi, eax
mov eax, dword [esp + 0x44]
jmp 0x59d381
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x6c]
jmp 0x59d410
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
call fcn.0044a470
jmp fcn.0059cf60