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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x54]
cmp eax, dword [ecx + 8]
jbe 0x593f53
sub esp, 0xd4
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax]
mov edx, dword [eax + 0x38]
test edx, edx
je 0x593f36
mov dword [esp + 0x64], ecx
lea eax, [0x64a0e0]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x38]
mov edi, dword [esp + 4]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x2c]
mov dword [edi + 4], ecx
mov dword [edi + 8], ebx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x5939f1
mov dword [edi], edx
jmp 0x5939fc
mov ecx, eax
mov eax, edx
call fcn.0045f3a0
mov eax, ecx
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ebx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x593a1d
mov dword [edi + 0xc], edx
jmp 0x593a31
lea ecx, [edi + 0xc]
mov ebx, edi
mov edi, ecx
mov ebp, eax
mov eax, edx
call fcn.0045f3a0
mov eax, ebp
mov edi, ebx
mov ecx, dword [esp + 0x64]
movzx edx, word [ecx + 0x24]
mov word [edi + 0x18], dx
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov dword [edi + 0x1c], ebx
mov ebx, dword [0x84e4b0]
test ebx, ebx
jne 0x593a55
mov dword [edi + 0x20], edx
jmp 0x593a65
lea ebx, [edi + 0x20]
mov ebp, edi
mov edi, ebx
mov eax, edx
call fcn.0045f3a0
mov edi, ebp
mov dword [esp], ecx
mov dword [esp + 4], edi
call fcn.00590cb0
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x593f21
mov dword [esp + 0x60], esi
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0045f62d
lea edi, [esp + 0x94]
call fcn.0045faba
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x38]
movzx edx, byte [edx + 0xd]
test dl, dl
je 0x593ac7
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x30]
test ebx, ebx
setne bl
jmp 0x593acd
mov edx, dword [esp + 0x60]
xor ebx, ebx
mov byte [esp + 0xd1], bl
mov ebx, dword [ecx + 0x38]
movzx ebx, byte [ebx + 0xc]
test bl, bl
je 0x593ae9
mov ebx, dword [edx + 0x24]
test ebx, ebx
setne bl
jmp 0x593aeb
xor ebx, ebx
mov byte [esp + 0xd0], bl
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.005a3b00
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.005a3b00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00588050
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x593f0c
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 4]
test edx, edx
je 0x593eef
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.0045f639
mov byte [esp + 0x78], 1
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x38]
mov ebx, dword [esp + 0x64]
movzx ebp, word [ebx + 0x24]
mov esi, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov word [esp], bp
mov ebp, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.0057ff70
movzx ecx, word [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov word [esp + 0x7a], cx
test edx, edx
jne 0x593eb9
mov word [esp], cx
call fcn.0057f670
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 4]
test ecx, ecx
jne 0x593e8b
mov dword [esp + 0x48], eax
mov byte [esp + 0x37], dl
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x48]
mov dword [esp], eax
lea ebp, [0x66ed29]
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x22
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0057f430
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
call fcn.00408d20
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x37]
cmp cl, 0xe2
je 0x593c66
lea ecx, [0x6cf7d8]
jmp 0x593c8b
lea eax, [0x640e20]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
lea ecx, [0x6cf42c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x68], edx
lea ebp, [0x63cdc0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.004090c0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
test ebx, ebx
jne 0x593cd3
mov ebx, dword [0x826cf8]
mov ecx, dword [0x826cfc]
mov eax, dword [edx + 0x14]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], ecx
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x593de1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00587470
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x66db22]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1f
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044b990
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
lea edx, [0x63c100]
mov dword [esp], edx
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov dword [edi + 4], eax
mov eax, dword [0x84e4b0]
test eax, eax
jne 0x593dbd
mov eax, dword [esp + 0x50]
mov dword [edi], eax
jmp 0x593dc6
mov eax, dword [esp + 0x50]
call fcn.0045f3a0
lea eax, [0x6cf47c]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], edi
add esp, 0xd4
ret
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebx
mov dword [esp + 0x7c], edx
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.005a69c0
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x44]
mov eax, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
call ecx
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.005a69c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00588050
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x593e6e
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
add esp, 0xd4
ret
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xd4
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00587470
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
add esp, 0xd4
ret
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.00587470
mov eax, dword [esp + 0x68]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xe0], eax
add esp, 0xd4
ret
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xd4
ret
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
add esp, 0xd4
ret
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
add esp, 0xd4
ret
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xd4
ret
call fcn.0045df90
jmp fcn.00593980