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

Disassembly:
mov ecx, dword [0x8cbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59bada
sub esp, 0x54
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
call fcn.0059baf0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x59b9ab
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x3c], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004a2110
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [0x6446e0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0040d870
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x59b987
mov ecx, dword [esp + 0x68]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x64]
jmp 0x59b9d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x54
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x54
ret
dec edx
test edx, edx
jl 0x59b9e7
cmp ecx, edx
jbe 0x59bad2
lea ebp, [ebx + edx]
cmp byte [ebp], 0x2e
jne 0x59b9cf
jmp 0x59b9ec
mov edx, 0xffffffff
lea eax, [edx + 1]
cmp ecx, eax
jb 0x59bacd
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
lea eax, [0x6480c0]
mov dword [esp], eax
call fcn.0040fcf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [0x8cc0e0]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x34]
sub edx, ebx
dec edx
mov ebx, edx
neg edx
sar edx, 0x1f
mov ebp, dword [esp + 0x38]
and ebp, edx
mov edx, dword [esp + 0x64]
add edx, ebp
test ecx, ecx
jne 0x59ba4a
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
jmp 0x59ba5c
call fcn.0046bec0
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov ebp, dword [esp + 0x4c]
mov dword [edi + 4], ebp
mov dword [eax], ecx
mov dword [eax + 4], ebp
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x59ba7c
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
jmp 0x59ba8e
call fcn.0046bec0
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov ebp, dword [esp + 0x44]
mov dword [edi + 4], ebp
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebp
mov dword [eax + 0x1c], ebx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
je 0x59baa8
call fcn.0046beb0
mov dword [edi], edx
mov dword [eax + 0x18], edx
lea ecx, [0x701f8c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x54
ret
call fcn.0046bf90
mov eax, edx
call fcn.0046bf30
nop
call fcn.0046aab0
jmp fcn.0059b8c0