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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59a821
sub esp, 0x70
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x10], ecx
call fcn.0059a210
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
lea ecx, [0x66b6c0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
call fcn.004093b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x59a574
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
jmp 0x59a5b4
mov byte [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
call fcn.005249f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005221d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.00522550
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005221d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.00522550
lea eax, [0x66b660]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
call fcn.004093b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x59a6e4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00522960
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
call fcn.00522960
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x50]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
jmp 0x59a78e
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00522960
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call fcn.00522960
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x78]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 8]
test edx, edx
jne 0x59a799
xor edx, edx
jmp 0x59a7ac
movzx edx, byte [eax]
test dl, dl
je 0x59a7a7
mov edx, 0xffffffff
jmp 0x59a7ac
mov edx, 1
test edx, edx
jne 0x59a7de
mov edx, dword [ecx + 8]
test edx, edx
jne 0x59a7bb
xor ecx, ecx
jmp 0x59a7ce
movzx ecx, byte [ecx]
test cl, cl
je 0x59a7c9
mov ecx, 0xffffffff
jmp 0x59a7ce
mov ecx, 1
test ecx, ecx
jne 0x59a7de
mov byte [esp + 0x94], 0
add esp, 0x70
ret
mov dword [esp + 0x40], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.00522550
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.00522750
mov eax, dword [esp + 8]
test eax, eax
sete al
mov byte [esp + 0x94], al
add esp, 0x70
ret
call fcn.00461660
jmp fcn.0059a4c0