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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x586c63
sub esp, 0x90
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
call fcn.00586390
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x586c54
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x54], eax
mov byte [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.00569350
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x80], 0
mov byte [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
call fcn.00569350
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov ebx, dword [ecx + 0x1c]
mov dword [esp], edx
call ebx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x88]
test ecx, ecx
jne 0x58698f
xor ecx, ecx
jmp 0x5869a7
movzx ecx, byte [esp + 0x80]
test cl, cl
je 0x5869a2
mov ecx, 0xffffffff
jmp 0x5869a7
mov ecx, 1
test ecx, ecx
jle 0x5869d0
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x5869b7
xor ecx, ecx
jmp 0x5869cc
movzx ecx, byte [esp + 0x70]
test cl, cl
je 0x5869c7
mov ecx, 0xffffffff
jmp 0x5869cc
mov ecx, 1
test ecx, ecx
jg 0x5869df
mov byte [esp + 0xb0], 0
add esp, 0x90
ret
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0055fce0
mov eax, dword [esp + 8]
test eax, eax
jge 0x586a1a
lea eax, [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0055fce0
mov eax, dword [esp + 8]
test eax, eax
jl 0x586a29
mov byte [esp + 0xb0], 0
add esp, 0x90
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
call fcn.005866d0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov byte [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x60]
mov dword [esp], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.00561ab0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0055f760
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.0055fae0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
lea ecx, [esp + 0x80]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0055f760
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.0055fae0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0055fef0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call fcn.0055fef0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 8]
test edx, edx
jne 0x586bc6
xor edx, edx
jmp 0x586bd9
movzx edx, byte [eax]
test dl, dl
je 0x586bd4
mov edx, 0xffffffff
jmp 0x586bd9
mov edx, 1
test edx, edx
jne 0x586c0e
mov edx, dword [ecx + 8]
test edx, edx
jne 0x586be8
xor ecx, ecx
jmp 0x586bfb
movzx ecx, byte [ecx]
test cl, cl
je 0x586bf6
mov ecx, 0xffffffff
jmp 0x586bfb
mov ecx, 1
test ecx, ecx
jne 0x586c0e
mov byte [esp + 0xb0], 0
add esp, 0x90
ret
mov dword [esp + 0x38], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.0055fae0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
call fcn.0055fce0
mov eax, dword [esp + 8]
test eax, eax
sete al
mov byte [esp + 0xb0], al
add esp, 0x90
ret
mov byte [esp + 0xb0], 0
add esp, 0x90
ret
call fcn.00455690
jmp fcn.00586800