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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f24f0
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x74]
or ebp, 0xffffffff
xor esi, esi
mov ebx, ebp
mov eax, dword [edi + 8]
test eax, eax
jle 0x4cc57f
lea eax, [esp + 0x14]
push esi
push eax
mov ecx, edi
call fcn.00416560
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4cc56a
cmp dword [esp + 0x20], 0xa
je 0x4cc597
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], ebp
call fcn.004ba050
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jl 0x4cc54e
mov eax, dword [edi + 8]
lea ecx, [eax - 1]
cmp ebx, ecx
jne 0x4cc5bd
add eax, 0xfffffffc
mov ebp, ecx
mov dword [esp + 0x74], eax
jmp 0x4cc68f
lea ecx, [esp + 0x14]
mov ebx, esi
mov dword [esp + 0x6c], ebp
call fcn.004ba050
cmp esi, 1
jne 0x4cc57f
mov dword [esp + 0x74], 0
mov ebp, 3
jmp 0x4cc68f
lea ecx, [ebx - 2]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, edi
call fcn.00416560
mov eax, dword [esp + 0x48]
mov dword [esp + 0x6c], 1
cmp eax, 0xa
jne 0x4cc616
lea esi, [ebx - 3]
lea eax, [esp + 0x14]
push esi
push eax
mov ecx, edi
call fcn.00416560
cmp dword [esp + 0x20], 7
jne 0x4cc607
lea ecx, [ebx - 1]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x14]
call fcn.004ba050
jmp 0x4cc61d
lea ecx, [esp + 0x14]
mov dword [esp + 0x74], esi
call fcn.004ba050
jmp 0x4cc61d
lea edx, [ebx - 1]
mov dword [esp + 0x74], edx
lea eax, [ebx - 1]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, edi
call fcn.00416560
mov eax, dword [esp + 0x34]
mov byte [esp + 0x6c], 2
cmp eax, 7
jne 0x4cc63f
mov ebp, ebx
jmp 0x4cc670
lea edx, [ebx + 1]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, edi
call fcn.00416560
mov eax, dword [esp + 0x20]
cmp eax, 6
je 0x4cc664
cmp eax, 7
je 0x4cc664
cmp eax, 8
mov ebp, ebx
jne 0x4cc667
lea ebp, [ebx + 2]
lea ecx, [esp + 0x14]
call fcn.004ba050
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 1
call fcn.004ba050
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004ba050
mov ecx, dword [esp + 0x78]
push 0xffffffffffffffff
push 0
call fcn.004163d0
mov esi, dword [esp + 0x74]
mov eax, esi
cmp eax, ebp
jg 0x4cc76d
lea ecx, [esp + 0x14]
push esi
push ecx
mov ecx, edi
call fcn.00416560
mov eax, dword [esp + 0x74]
mov dword [esp + 0x6c], 3
cmp esi, eax
jne 0x4cc6d1
mov dword [esp + 0x20], 0
jmp 0x4cc711
mov eax, dword [esp + 0x20]
cmp eax, 7
je 0x4cc709
cmp eax, 8
jne 0x4cc711
sub esp, 0x14
mov ecx, edi
mov edx, esp
mov dword [esp + 0x24], esp
push 0
push edx
call fcn.00416560
lea eax, [esp + 0x64]
lea ecx, [esp + 0x28]
push eax
call fcn.004ba0a0
lea ecx, [esp + 0x50]
call fcn.004ba050
mov dword [esp + 0x20], 6
lea eax, [esp + 0x14]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x2c]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x34]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, dword [esp + 0x8c]
call fcn.00416650
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004ba050
inc esi
cmp esi, ebp
jle 0x4cc6aa
mov eax, dword [esp + 0x74]
mov esi, ebx
sub esi, eax
dec ebx
lea ecx, [esp + 0x50]
push ebx
push ecx
mov ecx, edi
call fcn.00416560
mov eax, dword [esp + 0x5c]
cmp eax, 7
je 0x4cc791
cmp eax, 8
jne 0x4cc793
neg esi
lea ecx, [esp + 0x50]
call fcn.004ba050
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 8