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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c88bf
sub esp, 0x60
lea eax, [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.005a0df0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5c85b3
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x5c8632
lea eax, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x69b2d6]
mov dword [eax], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x6f1b20]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x60
ret
mov edi, eax
mov eax, edx
mov edx, ecx
mov ecx, ebx
mov ebx, edi
mov edi, ebp
mov ebp, esi
mov esi, edi
mov edi, dword [esp + 0x68]
test edi, edi
je 0x5c881f
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x64]
mov dword [esp], eax
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.005a0670
movzx eax, byte [esp + 8]
test al, al
je 0x5c87b0
mov eax, dword [0x8330c0]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ebx, dword [0x8330c4]
mov dword [esp + 0x3c], ebx
xor ebp, ebp
jmp 0x5c885b
mov eax, 0
jge 0x5c871b
mov ecx, dword [esp + 0x2c]
inc ecx
mov edx, dword [esp + 0x30]
cmp edx, ecx
jb 0x5c86c8
mov ebx, dword [esp + 0x4c]
jmp 0x5c8706
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x661be0]
mov dword [esp + 0x10], eax
call fcn.0044d800
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x34]
mov dword [ebx + ecx*4 - 4], eax
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x48]
jmp 0x5c8622
mov eax, dword [esp + 0x20]
inc eax
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jb 0x5c8730
mov ebp, dword [esp + 0x48]
mov ebx, ecx
jmp 0x5c8762
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x66e540]
mov dword [esp + 0x10], eax
call fcn.0044d800
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ecx, [eax + eax*2]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x54]
mov dword [ebp + ecx*4 - 8], edx
mov dword [ebp + ecx*4 - 4], esi
mov edx, dword [0x85d680]
test edx, edx
je 0x5c8795
mov edx, edi
call fcn.00468040
mov dword [edi], edx
mov esi, dword [ebp + ecx*4 - 0xc]
mov dword [edi + 4], esi
mov edi, edx
mov dword [ebp + ecx*4 - 0xc], edi
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov esi, ebp
mov ebp, eax
mov eax, ebx
mov ebx, dword [esp + 0x4c]
jmp 0x5c8622
lea eax, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x69b2d6]
mov dword [eax], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x6f1b20]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x60
ret
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
lea eax, [esi + 0x10]
inc ebp
cmp ebp, ebx
jge 0x5c86ae
mov esi, eax
cmp dword [eax + 8], ecx
jne 0x5c8857
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], esi
mov edi, dword [eax + 4]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
jmp 0x5c88a2
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
jmp 0x5c8857
lea eax, [esi + 1]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x28]
cmp esi, ecx
jge 0x5c88b6
mov ebx, dword [edx + esi*4]
lea eax, [edi + esi*4]
cmp dword [eax], ebx
je 0x5c888f
jmp 0x5c8885
mov eax, dword [eax]
cmp ebp, ebx
jmp 0x5c86b3
call fcn.00466c30
jmp fcn.005c8570