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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59c467
sub esp, 0x70
lea eax, [0x65fba0]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
lea eax, [0x66e9b7]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 6
call fcn.0040e730
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax + 4]
mov eax, dword [eax]
test cl, cl
je 0x59c426
mov dword [esp + 0x34], edx
mov dword [esp + 0x5c], eax
lea eax, [0x620ba0]
mov dword [esp], eax
call fcn.00409c30
mov eax, dword [esp + 4]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x59c046
mov ebp, dword [esp + 0x4c]
inc ebp
mov ebx, eax
mov eax, edx
mov edx, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x34]
cmp ecx, ebp
jge 0x59c40d
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x5c]
lea edx, [eax + ecx*8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
nop
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [0x695b04]
mov dword [esp + 8], edx
call fcn.004cae90
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x66d337]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004c9fa0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp eax, 1
jne 0x59c0e1
mov edx, dword [ecx + 4]
test edx, edx
jne 0x59c0e1
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x6c]
jmp 0x59c039
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x6c]
xor esi, esi
jmp 0x59c10a
lea esi, [eax + 1]
mov edi, dword [esp + 0x30]
mov eax, edi
mov eax, ebx
mov ebx, edx
mov edx, eax
mov eax, edi
cmp esi, eax
jge 0x59c402
jae 0x59c460
mov dword [esp + 0x68], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edx
nop
lea eax, [ecx + esi*8]
mov dword [esp + 0x64], eax
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [0x695b04]
mov dword [esp + 8], edx
call fcn.004cae90
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov dword [edx], ebx
mov edx, dword [0x9ec0a0]
test edx, edx
jne 0x59c3ee
mov edx, dword [esp + 0x64]
mov dword [edx], ebp
test ebx, ebx
jne 0x59c18a
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x68]
jmp 0x59c0f9
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], ebp
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea eax, [0x66d339]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004cb9b0
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x59c3dd
mov ecx, dword [esp + 0x24]
cmp eax, ecx
ja 0x59c459
lea edx, [eax + 1]
cmp edx, ecx
ja 0x59c459
sub ecx, edx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x50]
add edx, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], eax
nop
test eax, eax
jne 0x59c39f
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x59c386
mov ebp, dword [esp + 0x7c]
test ebp, ebp
je 0x59c24d
cmp eax, ebp
je 0x59c22a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x68]
jmp 0x59c0f9
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00402560
movzx eax, byte [esp + 0xc]
test al, al
jne 0x59c24d
mov ebp, dword [esp + 0x7c]
jmp 0x59c211
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.0059ca80
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
jne 0x59c290
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x68]
jmp 0x59c0f9
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], edx
lea eax, [0x65bd20]
mov dword [esp], eax
call fcn.00409c30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x59c374
mov ecx, dword [esp + 0x50]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x59c35f
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x48]
cmp edx, ebx
ja 0x59c320
mov ebp, dword [esp + 0x68]
mov esi, dword [0x9ec0a0]
lea edi, [ebp + ecx*4]
test esi, esi
jne 0x59c319
mov dword [ebp + ecx*4], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
mov esi, edx
mov edx, ebx
mov ebx, esi
jmp 0x59c0f9
call fcn.0044c8c0
jmp 0x59c306
mov dword [esp + 0x60], eax
lea eax, [0x631920]
mov dword [esp], eax
mov ebp, dword [esp + 0x68]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438b20
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
jmp 0x59c2f4
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.0044c8c0
mov eax, ecx
jmp 0x59c2e1
mov edi, eax
mov eax, dword [esp + 0x50]
call fcn.0044c8c0
mov eax, edi
jmp 0x59c2c5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x68]
jmp 0x59c0f9
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x695854]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004caf30
mov eax, dword [esp + 0x10]
test eax, eax
xchg ebp, ebx
setl bl
xchg ebp, ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x28]
jmp 0x59c1fb
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
xor ebx, ebx
xor edx, edx
jmp 0x59c1e4
mov edi, dword [esp + 0x64]
mov edx, eax
mov eax, ebp
call fcn.0044c8c0
mov eax, edx
jmp 0x59c175
mov eax, edx
mov ecx, ebx
mov edx, ebp
jmp 0x59c039
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], edx
add esp, 0x70
ret
lea eax, [0x620ba0]
mov dword [esp], eax
call fcn.00409c30
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
call fcn.00426ff0
ud2
call fcn.00426ef0
ud2
call fcn.0044b170
jmp fcn.0059bfc0