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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59428d
sub esp, 0x18
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0xac], 0
mov dword [ecx + 0xb0], 0
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x593e97
mov dword [ecx + 0xa8], 0
jmp 0x593ea4
lea edi, [ecx + 0xa8]
xor eax, eax
call fcn.00463860
mov dword [ecx + 0xbc], 0
mov dword [ecx + 0xc0], 0
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x593ece
mov dword [ecx + 0xb8], 0
jmp 0x593edb
lea edi, [ecx + 0xb8]
xor eax, eax
call fcn.00463860
mov dword [ecx + 0xc8], 0
mov dword [ecx + 0xcc], 0
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x593f05
mov dword [ecx + 0xc4], 0
jmp 0x593f12
lea edi, [ecx + 0xc4]
xor eax, eax
call fcn.00463860
mov dword [ecx + 0xd4], 0
mov dword [ecx + 0xd8], 0
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x593f3c
mov dword [ecx + 0xd0], 0
jmp 0x593f49
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 0x593f83
mov dword [ecx + 0xe8], ebx
mov dword [ecx + 0xec], ebp
mov ebx, dword [0x7e34c0]
test ebx, ebx
jne 0x593f78
mov dword [ecx + 0xe4], eax
jmp 0x593f83
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 0x593fb9
mov dword [ecx + 0xf4], ebx
mov dword [ecx + 0xf8], ebp
mov ebx, dword [0x7e34c0]
test ebx, ebx
jne 0x593fae
mov dword [ecx + 0xf0], eax
jmp 0x593fb9
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 0x593fef
mov dword [ecx + 0x100], ebx
mov dword [ecx + 0x104], ebp
mov ebx, dword [0x7e34c0]
test ebx, ebx
jne 0x593fe4
mov dword [ecx + 0xfc], eax
jmp 0x593fef
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 0x594025
mov dword [ecx + 0x10c], ebx
mov dword [ecx + 0x110], ebp
mov ebx, dword [0x7e34c0]
test ebx, ebx
jne 0x59401a
mov dword [ecx + 0x108], eax
jmp 0x594025
lea edi, [ecx + 0x108]
call fcn.00463860
movzx eax, byte [edx]
cmp al, 6
jg 0x594156
cmp al, 5
je 0x59411e
cmp al, 6
jne 0x594284
mov eax, dword [edx + 0x64]
mov ebx, dword [edx + 0x60]
mov ebp, dword [edx + 0x68]
test eax, eax
je 0x59407e
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.00593320
movzx eax, byte [esp + 0x14]
test al, al
je 0x594115
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 0x5940df
movzx esi, byte [ecx + 0x40]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5940af
movzx esi, byte [edx + 0x84]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5940df
movzx esi, byte [edx + 0x85]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5940df
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.005934c0
movzx eax, byte [esp + 0x10]
test al, al
je 0x5940d6
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x5940df
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.00593680
movzx eax, byte [esp + 0x10]
test al, al
jne 0x594284
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.00593320
movzx eax, byte [esp + 0x14]
test al, al
jne 0x594284
mov byte [esp + 0x24], 0
add esp, 0x18
ret
cmp al, 7
jne 0x5941f3
mov eax, dword [edx + 0x64]
mov ebx, dword [edx + 0x60]
mov ebp, dword [edx + 0x68]
test eax, eax
je 0x594196
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.00593320
movzx eax, byte [esp + 0x14]
test al, al
je 0x5941ea
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 0x594284
movzx esi, byte [ecx + 0x40]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5941c0
movzx edx, byte [edx + 0x84]
test dl, dl
jne 0x594284
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.005934c0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x594284
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 0
add esp, 0x18
ret
cmp al, 9
jne 0x594284
mov eax, dword [edx + 0x64]
mov ebx, dword [edx + 0x60]
mov ebp, dword [edx + 0x68]
test eax, eax
je 0x594233
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.00593320
movzx eax, byte [esp + 0x14]
test al, al
je 0x59427b
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 0x594284
movzx esi, byte [ecx + 0x40]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x594255
movzx edx, byte [edx + 0x84]
test dl, dl
jne 0x594284
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.005934c0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x594284
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.00593e50