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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5c89de
sub esp, 0x94
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0045f765
nop
mov word [esp + 0x26], 0
mov ecx, dword [esp + 0xbc]
mov edx, ecx
shr cx, 8
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], dl
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x5c8639
lea ecx, [esp + 0x68]
jmp 0x5c8745
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x5c89c5
mov eax, dword [esp + 0x74]
add eax, 2
cmp eax, 2
jge 0x5c868a
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x6c0e57]
mov dword [eax], ecx
lea ecx, [0x895524]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0xbc]
movzx eax, byte [esp + 0x7c]
test al, al
je 0x5c86d8
mov eax, dword [esp + 0x74]
add eax, 2
lea ecx, [esp + 0x68]
cmp dword [ecx + 0x10], eax
jge 0x5c86dc
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6ca732]
mov dword [eax], ecx
lea ecx, [0x895524]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x68]
jmp 0x5c8745
lea ecx, [esp + 0x68]
mov eax, dword [esp + 0x74]
lea ebx, [eax + 2]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
cmp ebp, ebx
jae 0x5c8730
mov dword [esp + 0x30], eax
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
lea eax, [0x67e920]
mov dword [esp + 0x10], eax
call fcn.00447800
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x68]
mov edx, dword [esp + 0xbc]
movzx edi, word [esp + 0x26]
mov word [esi + eax], di
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x5c8bb0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x54], eax
mov dword [esp], ecx
mov dword [esp + 4], 1
mov byte [esp + 8], 0
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
call fcn.00545460
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x5c89f0]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 1
mov byte [esp + 8], 0
lea eax, [esp + 0x58]
mov dword [esp + 0xc], eax
call fcn.00545460
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
test eax, eax
je 0x5c881a
xor esi, esi
xor edx, edx
xor ebx, ebx
jmp 0x5c883e
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x84]
sub ebx, ebp
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, ebp
add ebx, dword [esp + 0x70]
sub edx, ebp
xor eax, eax
xor ecx, ecx
test eax, eax
je 0x5c885d
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
jne 0x5c8971
jmp 0x5c8974
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], edx
lea eax, [0x67e920]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00447740
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea ecx, [0x5cc9f0]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x34]
mov dword [esp], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
call fcn.0059e720
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x5c8959
mov ecx, dword [esp + 0xbc]
cmp ecx, eax
jne 0x5c8959
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ecx
add esp, 0x94
ret
lea eax, [0x67e720]
mov dword [esp], eax
lea eax, [0x894e10]
mov dword [esp + 4], eax
call fcn.00433690
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
lea eax, [0x6c45cc]
mov dword [esp], eax
mov dword [esp + 4], 0x22
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00511cc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x5c89b9
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00433690
lea eax, [0x67e720]
mov dword [esp], eax
lea eax, [0x894e50]
mov dword [esp + 4], eax
call fcn.00433690
nop
call fcn.0045e260
jmp fcn.005c85e0