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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x593f6d
sub esp, 0x18
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0xac], 0
mov dword [ecx + 0xb0], 0
mov edx, dword [0x7e2780]
test edx, edx
jne 0x593b77
mov dword [ecx + 0xa8], 0
jmp 0x593b84
lea edi, [ecx + 0xa8]
xor eax, eax
call fcn.00463860
mov dword [ecx + 0xbc], 0
mov dword [ecx + 0xc0], 0
mov edx, dword [0x7e2780]
test edx, edx
jne 0x593bae
mov dword [ecx + 0xb8], 0
jmp 0x593bbb
lea edi, [ecx + 0xb8]
xor eax, eax
call fcn.00463860
mov dword [ecx + 0xc8], 0
mov dword [ecx + 0xcc], 0
mov edx, dword [0x7e2780]
test edx, edx
jne 0x593be5
mov dword [ecx + 0xc4], 0
jmp 0x593bf2
lea edi, [ecx + 0xc4]
xor eax, eax
call fcn.00463860
mov dword [ecx + 0xd4], 0
mov dword [ecx + 0xd8], 0
mov edx, dword [0x7e2780]
test edx, edx
jne 0x593c1c
mov dword [ecx + 0xd0], 0
jmp 0x593c29
lea edi, [ecx + 0xd0]
xor eax, eax
call fcn.00463860
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x34]
mov eax, dword [edx + 0x30]
mov ebp, dword [edx + 0x38]
test ebx, ebx
je 0x593c63
mov dword [ecx + 0xe8], ebx
mov dword [ecx + 0xec], ebp
mov ebx, dword [0x7e2780]
test ebx, ebx
jne 0x593c58
mov dword [ecx + 0xe4], eax
jmp 0x593c63
lea edi, [ecx + 0xe4]
call fcn.00463860
mov ebx, dword [edx + 0x40]
mov eax, dword [edx + 0x3c]
mov ebp, dword [edx + 0x44]
test ebx, ebx
je 0x593c99
mov dword [ecx + 0xf4], ebx
mov dword [ecx + 0xf8], ebp
mov ebx, dword [0x7e2780]
test ebx, ebx
jne 0x593c8e
mov dword [ecx + 0xf0], eax
jmp 0x593c99
lea edi, [ecx + 0xf0]
call fcn.00463860
mov ebx, dword [edx + 0x4c]
mov eax, dword [edx + 0x48]
mov ebp, dword [edx + 0x50]
test ebx, ebx
je 0x593ccf
mov dword [ecx + 0x100], ebx
mov dword [ecx + 0x104], ebp
mov ebx, dword [0x7e2780]
test ebx, ebx
jne 0x593cc4
mov dword [ecx + 0xfc], eax
jmp 0x593ccf
lea edi, [ecx + 0xfc]
call fcn.00463860
mov ebx, dword [edx + 0x58]
mov eax, dword [edx + 0x54]
mov ebp, dword [edx + 0x5c]
test ebx, ebx
je 0x593d05
mov dword [ecx + 0x10c], ebx
mov dword [ecx + 0x110], ebp
mov ebx, dword [0x7e2780]
test ebx, ebx
jne 0x593cfa
mov dword [ecx + 0x108], eax
jmp 0x593d05
lea edi, [ecx + 0x108]
call fcn.00463860
movzx eax, byte [edx]
cmp al, 6
jg 0x593e36
cmp al, 5
je 0x593dfe
cmp al, 6
jne 0x593f64
mov eax, dword [edx + 0x64]
mov ebx, dword [edx + 0x60]
mov ebp, dword [edx + 0x68]
test eax, eax
je 0x593d5e
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], 0
call fcn.00593000
movzx eax, byte [esp + 0x14]
test al, al
je 0x593df5
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x70]
mov ebx, dword [edx + 0x6c]
mov ebp, dword [edx + 0x74]
test eax, eax
je 0x593dbf
movzx esi, byte [ecx + 0x40]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x593d8f
movzx esi, byte [edx + 0x84]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x593dbf
movzx esi, byte [edx + 0x85]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x593dbf
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.005931a0
movzx eax, byte [esp + 0x10]
test al, al
je 0x593db6
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x593dbf
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x7c]
mov edx, dword [edx + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.00593360
movzx eax, byte [esp + 0x10]
test al, al
jne 0x593f64
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov eax, dword [edx + 0x60]
mov ebx, dword [edx + 0x64]
mov edx, dword [edx + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], 1
call fcn.00593000
movzx eax, byte [esp + 0x14]
test al, al
jne 0x593f64
mov byte [esp + 0x24], 0
add esp, 0x18
ret
cmp al, 7
jne 0x593ed3
mov eax, dword [edx + 0x64]
mov ebx, dword [edx + 0x60]
mov ebp, dword [edx + 0x68]
test eax, eax
je 0x593e76
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], 0
call fcn.00593000
movzx eax, byte [esp + 0x14]
test al, al
je 0x593eca
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x70]
mov ebx, dword [edx + 0x6c]
mov ebp, dword [edx + 0x74]
test eax, eax
je 0x593f64
movzx esi, byte [ecx + 0x40]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x593ea0
movzx edx, byte [edx + 0x84]
test dl, dl
jne 0x593f64
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.005931a0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x593f64
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 0
add esp, 0x18
ret
cmp al, 9
jne 0x593f64
mov eax, dword [edx + 0x64]
mov ebx, dword [edx + 0x60]
mov ebp, dword [edx + 0x68]
test eax, eax
je 0x593f13
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], 0
call fcn.00593000
movzx eax, byte [esp + 0x14]
test al, al
je 0x593f5b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x70]
mov ebx, dword [edx + 0x6c]
mov ebp, dword [edx + 0x74]
test eax, eax
je 0x593f64
movzx esi, byte [ecx + 0x40]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x593f35
movzx edx, byte [edx + 0x84]
test dl, dl
jne 0x593f64
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.005931a0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x593f64
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 1
add esp, 0x18
ret
call fcn.00462450
jmp fcn.00593b30