Function at 0x5c1470
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 0x5c1829
sub esp, 0x94
mov eax, dword [esp + 0x9c]
test eax, eax
jne 0x5c14a4
mov ecx, dword [esp + 0x98]
jmp 0x5c14b0
mov ecx, dword [esp + 0x98]
cmp byte [ecx], 0x2a
je 0x5c14f4
lea edx, [esp + 0x48]
mov dword [esp], edx
lea edx, [0x60ba1a]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0044def0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x98]
mov ebp, eax
mov eax, ecx
mov ecx, ebp
jmp 0x5c14f8
mov edx, eax
mov ebx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x70], ecx
lea ebp, [0x5e3fc0]
mov dword [esp + 0x8c], ebp
lea ebp, [0x667c54]
mov dword [esp + 0x90], ebp
mov ebp, dword [esp + 0x8c]
test ebp, ebp
je 0x5c152d
lea esi, [0x669338]
jmp 0x5c1531
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebp
call fcn.0045e100
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
mov ebx, dword [esp + 4]
test ecx, ecx
je 0x5c1567
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x68], edx
mov dword [esp + 0x24], ecx
xor ebp, ebp
jmp 0x5c1593
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x94
ret
add eax, 0xc
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x68]
mov ebp, edx
mov edx, esi
mov esi, dword [eax + 4]
mov edi, dword [eax]
cmp ebp, ebx
jae 0x5c181f
mov dword [esp + 0x28], ebp
mov dword [esp + 0x80], eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x2c], esi
mov edx, dword [edx + ebp*4]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
jmp 0x5c171a
mov esi, dword [esp + 0x2c]
cmp ebx, esi
jge 0x5c16e1
jae 0x5c180d
mov eax, dword [edi + ebx*4]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0045e400
mov eax, dword [esp + 8]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx + 0x50]
mov dword [esp], eax
call ecx
cmp dword [esp + 4], 0x16
je 0x5c161b
mov ecx, dword [esp + 0x9c]
jmp 0x5c16d2
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov eax, dword [eax + 0x80]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x9c]
cmp dword [esp + 8], ecx
jne 0x5c1665
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5c17ea
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
mov eax, dword [eax + 0x80]
mov edx, dword [esp + 4]
mov dword [esp + 0x7c], edx
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x9c]
cmp dword [esp + 8], ecx
jne 0x5c16d2
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5c17cd
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
lea edx, [ebp + 1]
cmp ecx, edx
jg 0x5c1584
jmp 0x5c1567
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov esi, eax
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x34]
cmp esi, ebx
jle 0x5c15cd
mov dword [esp + 0x30], esi
sub esi, ebx
mov dword [esp + 0x3c], esi
shr esi, 0x1f
mov ebp, dword [esp + 0x3c]
add ebp, esi
sar ebp, 1
lea esi, [ebp + ebx]
mov ebx, dword [esp + 0x2c]
cmp ebx, esi
jbe 0x5c1816
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], esi
mov eax, dword [edi + esi*4]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0045e400
mov eax, dword [esp + 8]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx + 0x80]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
call fcn.004028a0
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x5c17b8
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
jmp 0x5c16f1
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + edx + 1]
mov eax, dword [esp + 0x30]
jmp 0x5c16f1
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa4], eax
add esp, 0x94
ret
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x94
ret
mov eax, ebx
mov ecx, esi
call fcn.00461150
mov eax, esi
mov ecx, ebx
call fcn.00461150
mov eax, ebp
mov ecx, ebx
call fcn.00461150
nop
call fcn.0045fcc0
jmp fcn.005c1470