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

Disassembly:
push 0xffffffffffffffff
push 0x662c93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push ebp
mov ebp, dword [esp + 0x128]
mov ebx, dword [esp + 0x11c]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x28], esi
cmp dword [esi + 0x18], 1
je 0x4cc146
mov eax, dword [esp + 0x140]
test eax, eax
je 0x4cc10a
test byte [eax + 0xc], 2
jne 0x4cc146
mov edx, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esp + 0x138]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x134]
push edi
push ebp
push edx
mov edx, dword [esp + 0x13c]
push edx
push ebx
call dword [eax + 0x48]
test eax, eax
jne 0x4cc845
jmp 0x4cc14d
mov edi, dword [esp + 0x138]
mov eax, dword [0x68b770]
mov dword [esp + 0x78], 0
mov ecx, eax
mov dword [esp + 0x70], eax
test edi, edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
je 0x4cc198
mov esi, edi
mov ecx, 6
lea edi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x138]
mov esi, dword [esp + 0x28]
fld dword [esp + 0x134]
mov edx, dword [esp + 0x134]
push ecx
fchs
fstp dword [esp]
push edx
lea ecx, [esp + 0x6c]
call fcn.004abf30
fld dword [esp + 0x68]
fabs
fld dword [esp + 0x64]
fabs
fadd st(1)
fld dword [0x68b770]
fmul dword [0x68b794]
fcompp
fnstsw ax
test ah, 1
fstp st(0)
je 0x4cc222
mov eax, dword [ebp + 0x58]
test eax, eax
jne 0x4cc1eb
mov eax, dword [ebp + 0x14]
test byte [eax + 0xc], 4
je 0x4cc222
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x12c]
push 0
push 0
push eax
mov eax, dword [esp + 0x134]
push 0
push 0
push edi
push ecx
push ebp
push edx
push eax
push ebx
mov ecx, esi
call fcn.004cc970
jmp 0x4cc845
mov eax, dword [esi + 0x18]
mov dword [esp + 0x20], 2
cmp eax, 1
jne 0x4cc277
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jle 0x4cc277
mov eax, dword [ebp + 0x58]
test eax, eax
jne 0x4cc24a
mov eax, dword [ebp + 0x14]
test byte [eax + 0xc], 8
je 0x4cc26f
mov eax, dword [esp + 0x140]
test eax, eax
je 0x4cc25b
test byte [eax + 0xc], 1
je 0x4cc26f
cmp ecx, 0x10
jl 0x4cc26f
mov al, byte [esi + 0x14]
mov dword [esp + 0x20], 3
test al, 0x40
je 0x4cc277
mov dword [esp + 0x20], 0
mov ecx, ebp
call fcn.004ccb10
lea ecx, [ebx + ebx*4]
mov esi, eax
shl ecx, 2
push ecx
call fcn.00493a20
mov edx, dword [esp + 0x138]
mov ecx, dword [esp + 0x12c]
add esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x12c]
push edx
push esi
push ebp
push eax
push ecx
push ebx
lea ecx, [esp + 0xdc]
call fcn.004cbdb0
xor esi, esi
test ebx, ebx
jle 0x4cc362
mov edx, dword [esp + 0x24]
lea ebp, [edx + 0xc]
push esi
lea ecx, [esp + 0xc8]
call fcn.004cbe40
cmp dword [esp + 0xc4], 0xffffffff
jne 0x4cc2eb
mov dword [ebp - 0xc], 0
jmp 0x4cc356
test edi, edi
je 0x4cc306
lea eax, [esp + 0xcc]
lea ecx, [esp + 0xc8]
push eax
push ecx
mov ecx, edi
call fcn.004abc70
mov edx, dword [esp + 0xc8]
push edx
call fcn.004ac220
mov dword [ebp - 8], eax
mov eax, dword [esp + 0xcc]
mov dword [ebp], eax
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.004ac220
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xcc]
lea ecx, [esp + 0x64]
push eax
push ecx
lea ecx, [esp + 0xcc]
mov dword [ebp + 4], edx
call fcn.004cbfd0
mov dword [ebp - 0xc], eax
inc esi
add ebp, 0x14
cmp esi, ebx
jl 0x4cc2cb
cmp ebx, 1
jle 0x4cc377
mov ebp, dword [esp + 0x24]
push ebx
push ebp
call fcn.004cc860
add esp, 8
jmp 0x4cc37b
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x10]
push esi
push ebx
push ebp
push edx
call fcn.004cb160
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0x10
cmp eax, ecx
jle 0x4cc83c
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp ecx, eax
jle 0x4cc83c
cmp esi, 2
je 0x4cc769
mov edi, dword [esp + 0x28]
cmp dword [edi + 0x10], 8
jne 0x4cc3c9
mov esi, 0x108
jmp 0x4cc3de
mov edx, dword [edi + 0x14]
and dl, 0x40
neg dl
sbb edx, edx
and edx, 0x208
add edx, 0x18
mov esi, edx
lea ecx, [esp + 0x7c]
call fcn.004c5740
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push 0
sub eax, edx
push esi
push eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x12c], 0
sub ecx, eax
push ecx
lea ecx, [esp + 0x90]
call fcn.004c5780
cmp esi, 0x18
jne 0x4cc439
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
mov ecx, edi
call fcn.0049ea50
jmp 0x4cc447
push 0
lea ecx, [esp + 0x80]
call fcn.004c5c10
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x60], edx
lea ecx, [esp + 0x30]
cdq
and edx, 7
push ecx
add eax, edx
lea edx, [esp + 0x30]
sar eax, 3
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
push edx
mov edx, dword [esp + 0x144]
lea ecx, [esp + 0x40]
push eax
push ecx
push edx
call fcn.004c5640
mov ecx, dword [esp + 0x50]
xor eax, eax
xor edx, edx
add esp, 0x14
mov al, byte [ecx + 0x68b84c]
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
test ebx, ebx
mov dl, byte [eax + 0x68b84c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
mov cl, byte [edx + 0x68b84c]
mov dword [esp + 0x30], ecx
jle 0x4cc6fb
mov dword [esp + 0x34], ebp
mov dword [esp + 0x4c], ebx
mov ecx, dword [ebp]
test ecx, ecx
je 0x4cc6dd
mov esi, dword [ebp + 4]
mov edx, dword [ecx + 0x28]
mov eax, dword [esp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ecx + 0x24]
add esi, edx
mov edx, dword [esp + 0x14]
sub esi, eax
mov eax, dword [esp + 0x20]
sub edi, ebx
mov ebx, dword [ecx + 8]
sub edi, edx
mov edx, dword [ecx + 4]
test eax, eax
jne 0x4cc530
mov eax, dword [esp + 0x13c]
push 0
push 0
push 0
push 0
push eax
push ecx
push ebx
push edx
push edi
push esi
lea ecx, [esp + 0xa4]
call fcn.004d72d0
jmp 0x4cc6dd
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebp, edx
mov edx, dword [ecx]
mov dword [esp + 0x58], ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x34]
test ebx, ebx
mov edx, dword [ecx]
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x5c], ecx
jle 0x4cc6d9
imul esi, dword [esp + 0x54]
imul edi, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x50], eax
add edx, esi
mov dword [esp + 0x44], ebx
lea ecx, [edi + edx + 2]
mov dword [esp + 0x40], ecx
test ebp, ebp
mov edi, eax
jle 0x4cc6ae
mov eax, dword [esp + 0x54]
lea ebx, [eax + 2]
xor edx, edx
mov eax, 0x80808081
mov dl, byte [edi]
mov esi, edx
imul esi, dword [esp + 0x38]
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov al, byte [ecx]
inc edi
mov esi, eax
xor eax, eax
mov al, byte [esi + 0x68b84c]
mov esi, eax
mov eax, 0xff
sub eax, edx
imul edx, dword [esp + 0x3c]
imul esi, eax
add esi, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
dec ecx
mov dl, byte [edx + eax + 0x68b94c]
xor eax, eax
mov byte [ecx + 1], dl
mov al, byte [edi]
mov esi, eax
mov eax, 0x80808081
imul esi, dword [esp + 0x38]
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov al, byte [ecx]
inc edi
mov esi, eax
xor eax, eax
mov al, byte [esi + 0x68b84c]
mov esi, eax
mov eax, 0xff
sub eax, edx
imul edx, dword [esp + 0x2c]
imul esi, eax
add esi, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
dec ecx
mov dl, byte [edx + eax + 0x68b94c]
xor eax, eax
mov byte [ecx + 1], dl
mov al, byte [edi]
mov esi, eax
mov eax, 0x80808081
imul esi, dword [esp + 0x38]
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov al, byte [ecx]
inc edi
mov esi, eax
xor eax, eax
mov al, byte [esi + 0x68b84c]
mov esi, eax
mov eax, 0xff
sub eax, edx
imul edx, dword [esp + 0x30]
imul esi, eax
add esi, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
mov dl, byte [edx + eax + 0x68b94c]
mov byte [ecx], dl
add ecx, ebx
dec ebp
jne 0x4cc58f
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
add ecx, edi
add eax, esi
dec edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], edx
jne 0x4cc57e
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
add ebp, 0x14
dec eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x4c], eax
jne 0x4cc4d5
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
cmp dword [esp + 0x8c], 1
jne 0x4cc73a
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push ecx
lea eax, [esp + 0x84]
push edx
push eax
mov ecx, edi
call fcn.0049ed00
mov dword [esp + 0x11c], 0xffffffff
lea ecx, [esp + 0x7c]
jmp 0x4cc837
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
push ecx
lea eax, [esp + 0x84]
push edx
push eax
mov ecx, edi
call fcn.0049ea80
mov dword [esp + 0x11c], 0xffffffff
lea ecx, [esp + 0x7c]
jmp 0x4cc837
lea ecx, [esp + 0xa0]
call fcn.004c5740
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
sub ecx, edx
mov edx, dword [esp + 0x18]
push 0
push 0
push 0x101
sub edx, edi
push ecx
push edx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x130], 1
call fcn.004c5780
push 0
lea ecx, [esp + 0xa4]
call fcn.004c5c10
test ebx, ebx
jle 0x4cc802
mov esi, ebp
mov eax, dword [esi]
test eax, eax
je 0x4cc7fc
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov edi, dword [esp + 0x14]
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [eax + 0x24]
sub ecx, edx
mov edx, dword [eax + 0x28]
sub ecx, edi
mov edi, dword [esp + 0x24]
push ecx
mov ecx, dword [esi + 4]
sub edx, edi
add edx, ecx
lea ecx, [esp + 0xb8]
push edx
call fcn.004c5f30
add esi, 0x14
dec ebx
jne 0x4cc7bf
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xa8]
push edx
push eax
call fcn.0049ed00
mov dword [esp + 0x11c], 0xffffffff
lea ecx, [esp + 0xa0]
call fcn.004c5810
push ebp
call fcn.00493a70
add esp, 4
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 0x20