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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov ecx, dword [ebp + 0xc]
fldz
push ebx
push esi
xor esi, esi
fstp qword [ecx + 0x20]
push edi
mov dword [esp + 0x44], esi
cmp dword [ecx + 0x10], esi
jbe 0x4cc83d
xor edx, edx
xor edi, edi
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], edi
nop
mov eax, dword [ebp + 0x10]
mov ebx, dword [ecx + 0x14]
add ebx, edi
mov dword [esp + 0x34], ebx
mov eax, dword [eax + 0x15d0]
add eax, edx
xor edx, edx
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
cmp dword [ebx + 0x14], edx
jbe 0x4cc81a
xor edi, edi
mov dword [esp + 0x30], edi
jmp 0x4cc540
mov eax, dword [ebx + 0x1c]
add eax, edi
mov dword [esp + 0x68], 0
mov dword [esp + 0x38], eax
cmp dword [eax + 0x18], 0
jbe 0x4cc7f7
lea esi, [eax + 0x2c]
mov dword [esp + 0x2c], esi
lea eax, [esi - 0x10]
push eax
call fcn.004b35a0
add esp, 4
test eax, eax
jne 0x4cc7d2
fld dword [esi + 0x10]
sub esp, 8
fmul qword [0x54a440]
fstp qword [esp]
call sub.MSVCRT.dll_floor
add esp, 8
call fcn.00416200
mov ecx, eax
xor edi, edi
mov eax, 0x4000000
mov dword [esp + 0x60], edi
cdq
idiv ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov ecx, dword [edx + 0x14]
imul ecx, dword [edx + 0x10]
test ecx, ecx
je 0x4cc7d2
mov edx, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x64], esi
mov ecx, dword [edx + 4]
add ecx, esi
mov dword [esp + 0x58], 0
mov dword [esp + 0x7c], ecx
mov eax, dword [ecx + 0x10]
imul eax, dword [ecx + 0x14]
test eax, eax
je 0x4cc7ad
xor esi, esi
mov dword [esp + 0x5c], esi
lea esp, [esp]
mov eax, dword [ecx + 0x18]
xor ebx, ebx
add eax, esi
mov dword [esp + 0x54], eax
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
sub edi, dword [edx - 0x10]
sub esi, dword [edx - 0xc]
mov edx, dword [edx]
mov dword [esp + 0x4c], edx
test dl, 1
je 0x4cc635
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x1c]
mov eax, dword [eax + ecx - 0x90]
sub eax, dword [edx + ecx - 0x98]
mov edx, dword [esp + 0x4c]
add edi, eax
test dl, 2
je 0x4cc655
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edx + ecx - 0x8c]
sub eax, dword [edx + ecx - 0x94]
add esi, eax
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x10]
push eax
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
push eax
push dword [ebp + 8]
call fcn.004bc3f0
add esp, 0xc
test eax, eax
je 0x4cc849
mov eax, dword [ebp + 8]
imul esi, dword [esp + 0x3c]
mov edx, dword [eax + 0x7c]
mov ecx, dword [eax + 0x80]
mov eax, dword [esp + 0x3c]
add esi, edi
sub eax, edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x4c], ecx
mov eax, dword [eax + 0x24]
lea edi, [eax + esi*4]
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x3c]
mov dword [eax + 0x74], edi
mov dword [eax + 0x8c], esi
mov eax, dword [esp + 0x50]
cmp dword [eax + 0x14], 1
jne 0x4cc6e5
test ecx, ecx
je 0x4cc72e
mov esi, dword [esp + 0x48]
jmp 0x4cc6d0
test edx, edx
je 0x4cc6de
mov eax, edx
shl dword [edi + ebx*4], 6
inc ebx
dec eax
jne 0x4cc6d6
add ebx, esi
dec ecx
jne 0x4cc6d0
jmp 0x4cc72e
test ecx, ecx
je 0x4cc72e
mov esi, dword [esp + 0x48]
lea ecx, [ecx]
test edx, edx
je 0x4cc725
mov ecx, edx
jmp 0x4cc700
mov eax, dword [edi + ebx*4]
imul dword [esp + 0x74]
add eax, 0x1000
adc edx, 0
shrd eax, edx, 0x12
mov dword [edi + ebx*4], eax
inc ebx
sar edx, 0x12
dec ecx
jne 0x4cc700
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x78]
add ebx, esi
dec ecx
mov dword [esp + 0x4c], ecx
jne 0x4cc6f0
push dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
push eax
push dword [eax + 0x10]
fld dword [esi + 0x10]
push dword [ecx + 0x10]
mov eax, dword [ebx + 0x14]
sub eax, dword [esp + 0x54]
sub esp, 8
dec eax
fstp qword [esp]
push dword [ecx + 0x14]
push eax
push dword [esp + 0x68]
push dword [esi]
push dword [esp + 0x80]
push dword [ebp + 8]
call fcn.004cc0f0
mov ecx, dword [esp + 0xb0]
add esp, 0x34
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
inc edx
add esi, 0x34
mov dword [esp + 0x58], edx
mov eax, dword [ecx + 0x10]
imul eax, dword [ecx + 0x14]
mov dword [esp + 0x5c], esi
cmp edx, eax
mov edx, dword [esp + 0x2c]
jb 0x4cc5f0
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x38]
inc edi
add esi, 0x28
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], esi
mov eax, dword [ecx + 0x14]
imul eax, dword [ecx + 0x10]
cmp edi, eax
jb 0x4cc5c3
mov esi, dword [esp + 0x2c]
jmp 0x4cc7d6
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x68]
add esi, 0x24
inc eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x68], eax
cmp eax, dword [ecx + 0x18]
jb 0x4cc562
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
inc edx
add edi, 0x98
mov dword [esp + 0x40], edx
mov dword [esp + 0x30], edi
cmp edx, dword [ebx + 0x14]
jb 0x4cc540
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
inc esi
add edi, 0x4c
mov dword [esp + 0x44], esi
add edx, 0x438
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edx
cmp esi, dword [ecx + 0x10]
jb 0x4cc500
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret