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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1a4]
cmp eax, dword [ecx + 8]
jbe 0x5c32a7
sub esp, 0x224
mov ecx, dword [esp + 0x228]
movzx edx, byte [ecx + 0x295]
test dl, dl
je 0x5c2f33
lea edi, [esp + 0x11c]
xor eax, eax
call fcn.0045f204
mov ecx, dword [esp + 0x228]
mov edx, dword [ecx + 0x78]
mov esi, dword [ecx + 0x7c]
lea ebx, [0x68ae40]
cmp edx, ebx
jne 0x5c3290
lea edi, [esp + 0x11c]
call fcn.0045f4f8
mov eax, dword [esp + 0x154]
jmp 0x5c2f66
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.0045f208
mov ecx, dword [esp + 0x228]
mov edx, dword [ecx + 0x78]
mov esi, dword [ecx + 0x7c]
lea ebx, [0x68b380]
cmp edx, ebx
jne 0x5c327a
lea edi, [esp + 0x3c]
call fcn.0045f520
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], 0
mov dword [esp], ecx
call fcn.00408d40
mov eax, dword [esp + 8]
lea ecx, [0x66a040]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b53b0
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x230]
add edx, ecx
mov dword [esp + 0x28], edx
jmp 0x5c2fd1
mov ebx, dword [esp + 0x2c]
lea ecx, [ebx + eax]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jae 0x5c3245
mov dword [esp + 0x2c], ecx
lea eax, [0x66a040]
mov dword [esp], eax
call fcn.0040b430
mov eax, dword [esp + 4]
mov dword [esp + 0x20c], eax
mov ecx, dword [esp + 0x228]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
call fcn.005b7ea0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x228]
mov dword [esp], ecx
lea edx, [0x6493a0]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x20c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.005b8bc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5c3230
mov eax, dword [esp + 0x20c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
cmp edx, ecx
jb 0x5c320f
mov ebx, dword [eax + 4]
cmp edx, ebx
jb 0x5c31ee
mov eax, dword [esp + 0x228]
mov dword [esp], eax
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
lea esi, [ebp + edx]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
sub ebx, edx
mov dword [esp + 0xc], ebx
call fcn.005c2c60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x5c31d9
lea edi, [esp + 0x210]
xor eax, eax
call fcn.0045f23b
mov ecx, dword [esp + 0x20c]
mov edx, dword [ecx]
mov eax, ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x210], edx
mov dword [esp + 0x214], ecx
mov dword [esp + 0x218], ebx
mov dword [esp + 0x21c], ebp
mov dword [esp + 0x220], esi
mov ecx, dword [esp + 0x228]
mov edx, dword [ecx + 0x104]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x100]
mov esi, ecx
mov ecx, dword [ecx + 0x108]
cmp ecx, ebx
jae 0x5c3180
lea eax, [0x66a700]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00448240
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x228]
mov dword [ebx + 0x108], edx
mov edx, dword [0x8d5630]
test edx, edx
jne 0x5c3168
mov dword [ebx + 0x100], eax
jmp 0x5c3173
lea edi, [ebx + 0x100]
call fcn.0045efb0
mov esi, ebx
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x20c]
lea ecx, [edx + 1]
mov dword [esi + 0x104], ecx
mov ecx, dword [0x8d5630]
lea edx, [edx + edx*4]
lea edi, [ebp + edx*4]
test ecx, ecx
jne 0x5c31a8
lea esi, [esp + 0x210]
call fcn.0045f71e
jmp 0x5c31cc
lea eax, [0x66a700]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x210]
mov dword [esp + 8], eax
call fcn.00410760
mov eax, dword [esp + 0x20c]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5c2fc2
jmp 0x5c3245
mov dword [esp + 0x234], ecx
mov dword [esp + 0x238], edx
add esp, 0x224
ret
mov eax, dword [0x8ad848]
mov ecx, dword [0x8ad84c]
mov dword [esp + 0x234], eax
mov dword [esp + 0x238], ecx
add esp, 0x224
ret
mov eax, dword [0x8ad840]
mov ecx, dword [0x8ad844]
mov dword [esp + 0x234], eax
mov dword [esp + 0x238], ecx
add esp, 0x224
ret
mov dword [esp + 0x234], ecx
mov dword [esp + 0x238], edx
add esp, 0x224
ret
mov eax, dword [esp + 0x228]
mov ecx, dword [eax + 0x104]
test ecx, ecx
je 0x5c325d
mov byte [eax + 0x2a0], 1
mov dword [esp + 0x234], 0
mov dword [esp + 0x238], 0
add esp, 0x224
ret
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x65a380]
mov dword [esp + 8], eax
call fcn.00408a40
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x65a380]
mov dword [esp + 8], eax
call fcn.00408a40
nop
call fcn.0045dba0
jmp fcn.005c2ec0