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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5880fb
sub esp, 0x68
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc], edx
call fcn.00586ba0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x70]
movzx edx, byte [ecx]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x60], esi
mov edi, dword [ecx + 4]
mov esi, dword [eax + 4]
mov dword [esp + 0x5c], esi
movzx esi, byte [eax]
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], ecx
movzx ecx, byte [eax]
mov byte [esp + 0x1b], cl
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0xc]
mov byte [eax], dl
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebp
mov edx, dword [0x9eca70]
test edx, edx
je 0x587e05
mov edx, edi
call fcn.00468460
mov dword [edi], edx
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov edi, edx
mov dword [eax + 4], edi
mov eax, dword [esp + 0x70]
xchg esi, ebx
mov byte [eax], bl
xchg esi, ebx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [0x9eca70]
test edx, edx
jne 0x587e30
mov edx, dword [esp + 0x5c]
jmp 0x587e41
call fcn.00468460
mov edx, dword [esp + 0x5c]
mov dword [edi], edx
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov dword [eax + 4], edx
movzx eax, byte [esp + 0x1b]
mov edx, dword [esp + 0x64]
mov byte [edx], al
mov eax, dword [esp + 0x3c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [0x9eca70]
test eax, eax
jne 0x587e69
mov eax, dword [esp + 0x58]
jmp 0x587e7a
call fcn.00468460
mov eax, dword [esp + 0x58]
mov dword [edi], eax
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edx + 4], eax
movzx eax, byte [esp + 0x8c]
test al, al
je 0x5880f7
nop
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
je 0x587fa5
mov edx, dword [eax + 0xc]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
cmp edx, ebx
jl 0x587eb8
mov esi, dword [eax + 4]
mov edi, ebx
jmp 0x587f40
mov dword [esp + 0x38], ebx
mov dword [esp + 0x54], ebp
cmp ebx, 1
jne 0x587f06
lea eax, [0x6e5080]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e0b0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x38]
mov ebx, 1
mov edx, 1
jmp 0x587f40
lea eax, [0x6e5080]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [ebx + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 8], ecx
call fcn.0044e0b0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x38]
mov ebx, edi
mov edx, dword [esp + 0x20]
cmp ebx, edi
jg 0x587f46
mov edi, ebx
cmp esi, ebp
je 0x587f80
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x4c], esi
mov dword [esp], esi
mov dword [esp + 4], ebp
shl edi, 2
mov dword [esp + 8], edi
call fcn.00468df0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov edx, dword [0x9eca70]
test edx, edx
je 0x587f9d
call fcn.00468460
mov dword [edi], esi
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [eax + 4], esi
movzx edx, byte [ecx]
mov byte [eax], dl
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 8], edx
call fcn.00586a50
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 8], ecx
call fcn.00586800
nop
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
je 0x5880f7
mov edx, dword [ecx + 0xc]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 4]
cmp edx, ebx
jl 0x58800a
mov esi, dword [ecx + 4]
mov edi, ebx
jmp 0x588092
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ebp
cmp ebx, 1
jne 0x588058
lea eax, [0x6e5080]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e0b0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov ebx, 1
mov edx, 1
jmp 0x588092
lea eax, [0x6e5080]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
call fcn.0044e0b0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov ebx, edi
mov edx, dword [esp + 0x1c]
cmp ebx, edi
jg 0x588098
mov edi, ebx
cmp esi, ebp
je 0x5880d2
mov dword [esp + 0x48], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
shl edi, 2
mov dword [esp + 8], edi
call fcn.00468df0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x48]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
mov edx, dword [0x9eca70]
test edx, edx
je 0x5880ef
call fcn.00468460
mov dword [edi], esi
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov dword [ecx + 4], esi
movzx eax, byte [eax]
mov byte [ecx], al
add esp, 0x68
ret
call fcn.00467050
jmp fcn.00587d50