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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x593d6b
sub esp, 0x70
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x593aed
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x5939de
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x88]
test edx, edx
je 0x5939a7
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0x13c]
mov ebp, dword [esp + 0x8c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test edx, edx
jne 0x593995
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.0057f1e0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x593983
mov eax, dword [esp + 0x74]
mov byte [eax + 0x144], 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0049b280
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x48]
test edx, edx
je 0x593795
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.005934d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.005934d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x150], edx
mov edx, dword [0xdd7ec0]
test edx, edx
jne 0x593780
mov edx, dword [esp + 0x54]
mov dword [ebx + 0x154], edx
mov dword [ebx + 0x158], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x593773
mov dword [ebx + 0x15c], eax
lea eax, [0x9733a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x8dd6e0]
mov dword [esp + 8], eax
lea eax, [0x9b26e0]
mov dword [esp + 0xc], eax
call fcn.00415570
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x70
ret
lea edi, [ebx + 0x15c]
call fcn.00456fe0
jmp 0x593733
lea edi, [ebx + 0x154]
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.00456fe0
mov eax, edx
jmp 0x59371d
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0049b360
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x59389f
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.005934d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.005934d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x150], edx
mov edx, dword [0xdd7ec0]
test edx, edx
jne 0x59388a
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0x154], edx
mov dword [ebx + 0x158], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x59387d
mov dword [ebx + 0x15c], eax
lea eax, [0x9733a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x8dd6e0]
mov dword [esp + 8], eax
lea eax, [0x9b26e0]
mov dword [esp + 0xc], eax
call fcn.00415570
jmp 0x593759
lea edi, [ebx + 0x15c]
call fcn.00456fe0
jmp 0x593852
lea edi, [ebx + 0x154]
mov edx, eax
mov eax, dword [esp + 0x5c]
call fcn.00456fe0
mov eax, edx
jmp 0x59383c
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.005934d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
lea edx, [0x90d900]
mov dword [esp], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 8], edx
call fcn.004088f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x150], edx
mov edx, dword [0xdd7ec0]
test edx, edx
jne 0x59396e
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x154], edx
mov dword [ebx + 0x158], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x593961
mov dword [ebx + 0x15c], eax
lea eax, [0x9733a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x8dd6e0]
mov dword [esp + 8], eax
lea eax, [0x9b26e0]
mov dword [esp + 0xc], eax
call fcn.00415570
jmp 0x593759
lea edi, [ebx + 0x15c]
call fcn.00456fe0
jmp 0x593936
lea edi, [ebx + 0x154]
mov edx, eax
mov eax, dword [esp + 0x58]
call fcn.00456fe0
mov eax, edx
jmp 0x593920
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0057f0d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x5939cc
mov eax, dword [esp + 0x74]
xor ebx, ebx
xor edx, edx
jmp 0x59366e
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x13c]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x593adb
test ebx, ebx
jne 0x593a20
mov eax, edx
mov ecx, ebx
jmp 0x5935cb
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0049b1a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x593a55
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x30]
jmp 0x593a17
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], ecx
lea eax, [0x91b820]
mov dword [esp], eax
call fcn.0040ae10
mov edi, dword [esp + 4]
mov dword [edi + 4], 4
mov eax, dword [0xdd7ec0]
test eax, eax
jne 0x593ace
lea ecx, [0x98261c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x40]
mov dword [edi + 8], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x593ab8
mov eax, dword [esp + 0x60]
mov dword [edi + 0xc], eax
lea eax, [0xa4e440]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edi
add esp, 0x70
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x60]
call fcn.00456fe0
mov edi, edx
jmp 0x593aa0
lea eax, [0x98261c]
call fcn.00456fe0
jmp 0x593a88
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
nop
lea eax, [0x90afa0]
mov dword [esp], eax
call fcn.0040ae10
mov edi, dword [esp + 4]
mov eax, dword [0xdd7ec0]
test eax, eax
jne 0x593d51
mov ebx, dword [esp + 0x74]
mov dword [edi], ebx
mov dword [esp + 0x6c], edi
mov ebp, dword [esp + 0x88]
test ebp, ebp
jne 0x593d1f
mov esi, dword [esp + 0x80]
test esi, esi
jne 0x593ced
xor eax, eax
xor ecx, ecx
mov edx, ebp
mov ebp, dword [ebx + 0x14c]
mov esi, dword [ebx + 0x148]
cmp ebp, 4
jne 0x593bab
cmp dword [esi], 0x78696e75
jne 0x593bab
mov ebp, dword [ebx + 0x148]
mov esi, dword [ebx + 0x14c]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
lea eax, [0xa53580]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x5935b8
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
cmp ebp, 8
jne 0x593bc1
cmp dword [esi], 0x78696e75
jne 0x593bc1
cmp dword [esi + 4], 0x6d617267
je 0x593b55
mov dword [esp + 0x44], eax
mov dword [esp + 0x64], ecx
cmp ebp, 0xa
je 0x593c96
mov ebp, dword [ebx + 0x14c]
mov esi, dword [ebx + 0x148]
lea edi, [ebp - 1]
cmp edi, ebp
jae 0x593d61
movzx edi, byte [ebp + esi - 1]
xchg edi, eax
cmp al, 0x34
xchg edi, eax
jne 0x593c08
mov edi, dword [esp + 0x6c]
mov edi, ebp
mov ebp, esi
mov esi, edi
mov edi, dword [esp + 0x6c]
jmp 0x593b61
xchg edi, eax
cmp al, 0x36
xchg edi, eax
je 0x593bf5
cmp dword [ebx + 0x13c], 2
jne 0x593c57
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea eax, [0x981d34]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00443900
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
jmp 0x593b61
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea eax, [0x981d36]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00443900
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
jmp 0x593b61
mov dword [esp], esi
lea eax, [0x987800]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00402300
movzx eax, byte [esp + 0xc]
test al, al
je 0x593cd1
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
jmp 0x593b55
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
jmp 0x593bd2
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x6c]
jmp 0x593b3a
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x6c]
jmp 0x593b3a
mov eax, dword [esp + 0x74]
call fcn.00456fe0
mov ebx, eax
jmp 0x593b14
mov eax, edi
mov ecx, ebp
call fcn.00457060
nop
call fcn.004557a0
jmp fcn.00593590