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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x595efc
sub esp, 0x6c
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x68]
movzx ebx, byte [0x7a0668]
test bl, bl
jne 0x595eb2
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
test ecx, ecx
je 0x595dd5
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], ecx
mov ebx, dword [0x7832a4]
cmp dword [0x7832a0], ecx
je 0x595d8b
mov ebx, dword [0x783074]
cmp dword [0x783070], ecx
je 0x595d65
xor ebx, ebx
test bl, bl
je 0x595d2a
mov ebx, 1
test bl, bl
je 0x595a80
mov byte [esp + 0x88], 0
add esp, 0x6c
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00592920
movzx eax, byte [esp + 8]
test al, al
jne 0x595a74
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
test eax, eax
je 0x595aed
mov edx, dword [eax + 8]
cmp edx, 0x74e780ca
jne 0x595c17
lea edx, [0x65ee38]
cmp eax, edx
jne 0x595aed
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
mov ebp, dword [esp + 0x70]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.005958d0
mov byte [esp + 0x88], 1
add esp, 0x6c
ret
mov edx, dword [esp + 0x7c]
test edx, edx
jne 0x595b56
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
test eax, eax
je 0x595b0c
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea eax, [0x61c553]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2b
lea eax, [esp + 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.005927c0
mov byte [esp + 0x88], 0
add esp, 0x6c
ret
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x595c0c
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x24]
test edx, edx
je 0x595b8e
mov edx, dword [edx + 4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], eax
movzx eax, byte [0x7a0669]
test al, al
je 0x595b4a
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea eax, [0x620a28]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x4f
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.005927c0
jmp 0x595b4a
mov edx, dword [esp + 0x24]
test edx, edx
jmp 0x595b89
cmp edx, 0x8f230db9
jne 0x595c4d
lea edx, [0x65ee88]
cmp eax, edx
jne 0x595aed
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00595700
mov byte [esp + 0x88], 1
add esp, 0x6c
ret
cmp edx, 0xde69720b
jne 0x595aed
lea edx, [0x65ee24]
cmp eax, edx
jne 0x595aed
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 8]
mov ecx, dword [ecx]
mov dword [esp + 0x28], ecx
mov ebx, dword [eax + 0xc]
mov edx, dword [edx + 0x1c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
test eax, eax
je 0x595cae
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00409020
mov eax, dword [esp + 4]
lea ecx, [0x5de300]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x61c206]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x2a
lea ecx, [esp + 0x5c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.005927c0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00595700
mov byte [esp + 0x88], 1
add esp, 0x6c
ret
mov ebx, dword [0x78309c]
cmp dword [0x783098], ecx
je 0x595d3f
xor ebx, ebx
jmp 0x595a70
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004037c0
movzx ebx, byte [esp + 0xc]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
jmp 0x595a70
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004037c0
movzx ebx, byte [esp + 0xc]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
jmp 0x595a63
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004037c0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x595db5
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
jmp 0x595a4f
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.00595700
mov byte [esp + 0x88], 1
add esp, 0x6c
ret
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
movzx ebx, byte [0x7a0669]
test bl, bl
jne 0x595e14
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00595f10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x595a9d
mov byte [esp + 0x88], 1
add esp, 0x6c
ret
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], edx
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0058eef0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409130
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [0x5db180]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
movzx eax, byte [0x7a0669]
test al, al
jne 0x595e7a
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
jmp 0x595de8
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x616b58]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1b
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.005927c0
jmp 0x595e69
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.0058f530
mov eax, dword [esp + 0x18]
cmp dword [esp], eax
setne al
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 4], ecx
setne cl
or ecx, eax
test cl, cl
jne 0x595ee3
mov eax, dword [esp + 0x70]
jmp 0x595a22
lea eax, [0x5db180]
mov dword [esp], eax
lea eax, [0x65be50]
mov dword [esp + 4], eax
call fcn.00431a30
nop
call fcn.0045c8b0
jmp fcn.005959f0