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

Disassembly:
mov ecx, dword [0x8602c0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58a505
sub esp, 0x5c
mov eax, 0
mov dword [esp + 0x58], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
lea ebx, [0x611320]
mov dword [esp + 4], ebx
lea ebx, [0x860140]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0xc]
lea ecx, [0x605460]
cmp eax, ecx
jne 0x589fd0
mov eax, dword [esp + 0x10]
jmp 0x589fd2
xor eax, eax
test eax, eax
jne 0x589fe1
mov ecx, dword [esp + 0x60]
xor eax, eax
jmp 0x58a090
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 8]
test edx, edx
je 0x58a039
mov dword [esp + 0x24], ebx
mov eax, dword [edx]
mov ebp, dword [esp + 0x60]
mov esi, dword [ebp + 0x4c]
mov edi, dword [ebp + 0x50]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x58a089
lea edi, [esp + 0x40]
mov edx, eax
mov eax, 0
call fcn.00467eea
lea ecx, [0x58a510]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], ebx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x7c]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x40]
mov dword [esp + 0x58], edx
mov byte [esp + 0x23], 1
jmp 0x58a08d
mov ecx, dword [esp + 0x60]
setne al
mov byte [esp + 0x22], al
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x30], edx
mov ebx, dword [ecx + 0x1c]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x6c]
test ebp, ebp
je 0x58a3c5
mov ebp, dword [esp + 0x6c]
lea esi, [0x68a4ac]
cmp ebp, esi
jne 0x58a18b
cmp ebx, esi
je 0x58a0c6
xor edx, edx
mov dword [esp + 0x34], edx
lea eax, [ecx + 0x48]
mov dword [esp], eax
call fcn.00587070
movzx eax, byte [esp + 4]
test al, al
je 0x58a135
nop
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
call fcn.0059f4f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea ebx, [0x68adc0]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
jmp 0x58a2a1
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
call fcn.0059f4f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ebx, [0x68adc0]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
jmp 0x58a2a1
lea esi, [0x68a494]
cmp ebp, esi
jne 0x58a1e9
cmp ebx, esi
je 0x58a19b
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
call fcn.005a0a80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ebx, [0x68ad60]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
jmp 0x58a2a1
lea esi, [0x68a4c4]
cmp ebp, esi
jne 0x58a244
cmp ebx, esi
je 0x58a1f9
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
call fcn.00593e80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ebx, [0x68adf0]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
jmp 0x58a2a1
lea esi, [0x68a47c]
cmp ebp, esi
jne 0x58a3c5
cmp ebx, esi
je 0x58a258
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
call fcn.005a13b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ebx, [0x68ad90]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x58a2d9
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
movzx eax, byte [esp + 0x22]
test al, 1
je 0x58a2d5
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
lea eax, [0x6258e0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x6393c4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x4c]
mov dword [eax + 0xc], edx
mov edx, dword [0x860560]
test edx, edx
je 0x58a318
call fcn.00467c40
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x58a332
mov ecx, dword [esp + 0x30]
jmp 0x58a33d
call fcn.00467c40
mov ecx, dword [esp + 0x30]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x58a357
mov ecx, dword [esp + 0x70]
jmp 0x58a362
call fcn.00467c40
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x860560]
test ecx, ecx
je 0x58a384
call fcn.00467c40
mov dword [edi], ebx
mov dword [eax + 0x24], ebx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x68a1b4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x58a3c1
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
lea eax, [0x619f00]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x17
lea ecx, [0x63fe7c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x58]
mov ebx, dword [ecx + 0x54]
mov dword [eax + 0xc], edx
mov edx, dword [0x860560]
test edx, edx
je 0x58a404
call fcn.00467c40
mov dword [edi], ebx
mov dword [esp + 0x3c], eax
mov dword [eax + 8], ebx
lea ecx, [0x6258e0]
mov dword [esp], ecx
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x6393c4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x4c]
mov dword [eax + 0xc], edx
mov edx, dword [0x860560]
test edx, edx
je 0x58a44a
call fcn.00467c40
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x58a464
mov ecx, dword [esp + 0x30]
jmp 0x58a46f
call fcn.00467c40
mov ecx, dword [esp + 0x30]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x58a489
mov ecx, dword [esp + 0x70]
jmp 0x58a494
call fcn.00467c40
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 0x1c], ecx
lea ecx, [0x68a218]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x58a4b0
mov ecx, dword [esp + 0x3c]
jmp 0x58a4bb
call fcn.00467c40
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [eax + 0x24], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x68a1b4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x58a4f8
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
call fcn.00466840
jmp fcn.00589f50