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

Disassembly:
sub esp, 0x60
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x74]
push edi
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x14], ecx
lea esi, [esi + eax]
sar esi, 1
lea edi, [edx + edi]
sar edi, 1
mov eax, edi
or eax, esi
test al, 1
jne 0x4c46e5
mov ecx, edi
mov eax, esi
and ecx, 0x7f
and eax, 0x7f
shl ecx, 8
add ecx, dword [esp + 0x74]
cmp byte [eax + ecx], 0
je 0x4c46e5
mov ecx, dword [esp + 0x14]
push edx
push dword [esp + 0x7c]
push edi
push esi
push ebx
push ebp
push dword [esp + 0x8c]
call fcn.004c4640
mov edx, dword [esp + 0x8c]
mov eax, ebp
mov ebp, esi
mov ecx, ebx
mov esi, eax
mov ebx, edi
mov edi, dword [esp + 0x88]
mov eax, ecx
mov dword [esp + 0x88], esi
add esi, edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x8c], eax
lea edi, [edx + eax]
sar esi, 1
sar edi, 1
mov eax, edi
or eax, esi
test al, 1
je 0x4c4678
mov eax, dword [0xc6e84c]
test eax, eax
jne 0x4c46f3
lea ecx, [eax + 0x13]
jmp 0x4c4702
xor ecx, ecx
cmp eax, 1
sete cl
lea ecx, [ecx*2 + 0x10]
mov eax, dword [esp + 0x78]
mov esi, eax
mov edi, dword [esp + 0x88]
shl esi, cl
mov dword [esp + 0x84], esi
mov esi, edx
shl esi, cl
mov dword [esp + 0x74], esi
mov esi, ebp
shl esi, cl
mov dword [esp + 0x80], esi
mov esi, ebx
shl esi, cl
mov dword [esp + 0x7c], esi
mov esi, edi
shl esi, cl
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x78], esi
shl dword [esp + 0x78], cl
cmp eax, edi
jl 0x4c4759
cmp eax, ebp
jl 0x4c4759
dec dword [esp + 0x84]
cmp ebp, edi
jl 0x4c4768
cmp ebp, eax
jl 0x4c4768
dec dword [esp + 0x80]
cmp edi, eax
jl 0x4c4774
cmp edi, ebp
jl 0x4c4774
dec dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
cmp edx, esi
jl 0x4c4781
cmp edx, ebx
jl 0x4c4781
dec ecx
cmp ebx, esi
jl 0x4c478d
cmp ebx, edx
jl 0x4c478d
dec dword [esp + 0x7c]
cmp esi, edx
jl 0x4c4799
cmp esi, ebx
jl 0x4c4799
dec dword [esp + 0x78]
and ecx, 0xffffff
mov edi, dword [esp + 0x84]
mov dword [esp + 0x24], ecx
and edi, 0xffffff
mov ecx, dword [esp + 0x80]
and ecx, 0xffffff
shl edx, 9
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x7c]
and ecx, 0xffffff
shl eax, 9
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x10]
and ecx, 0xffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x78]
and ecx, 0xffffff
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
call fcn.004c4ea0
lea eax, [esp + 0x30]
shl ebx, 9
push eax
lea eax, [esp + 0x30]
shl ebp, 9
push eax
push ebx
mov ebx, dword [esp + 0x20]
mov ecx, ebx
push ebp
call fcn.004c4ea0
mov edi, dword [esp + 0x88]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
shl esi, 9
push eax
push esi
shl edi, 9
mov ecx, ebx
push edi
call fcn.004c4ea0
push dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x1c]
call fcn.004c3e70
push dword [esp + 0x30]
mov ecx, ebx
mov dword [esp + 0x2c], eax
push dword [esp + 0x30]
call fcn.004c3e70
push dword [esp + 0x44]
mov ecx, ebx
mov dword [esp + 0x40], eax
push dword [esp + 0x44]
call fcn.004c3e70
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x108]
test eax, eax
jne 0x4c48b0
push 5
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00544010
add esp, 0x10
inc dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x1c
cmp eax, 1
jne 0x4c4c62
mov eax, dword [0xc6e840]
cmp dword [eax + 4], 0
jne 0x4c48ca
inc dword [0xc6e844]
push 0
push 1
lea ecx, [esp + 0x5c]
push ecx
push eax
mov ecx, 0x8458c0
call fcn.00468930
cmp dword [0x58ac94], 0
je 0x4c48f1
movss xmm1, dword [0x58a100]
jmp 0x4c48f9
movss xmm1, dword [0x6cf92c]
movd xmm0, dword [esp + 0x18]
xor edx, edx
mov eax, dword [esp + 0x28]
xor ecx, ecx
mulss xmm1, dword [esp + 0x68]
sar eax, 0xd
cvtdq2ps xmm0, xmm0
test eax, eax
mov dword [0xc765d8], 0
cmovns edx, eax
movss dword [0xc765d0], xmm0
movd xmm0, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [0xc765d4], xmm0
cmp edx, 0xff
jle 0x4c4980
cmp edx, 0x160
jg 0x4c4952
mov edx, 0xff
jmp 0x4c4980
lea ecx, [edx - 0x160]
mov eax, 0x51eb851f
imul ecx, ecx
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, 0xff
cmp ecx, edx
jle 0x4c4979
mov ecx, edx
jmp 0x4c4980
xor eax, eax
test ecx, ecx
cmovs ecx, eax
mov esi, dword [0xad0ce8]
mov eax, edx
or eax, 0xffffff00
shl eax, 8
or eax, edx
shl eax, 8
or eax, edx
mov dword [0xc765e0], eax
cmp dword [esi + 0x6e0], 0
je 0x4c49b6
mov eax, ecx
shl eax, 8
or eax, ecx
shl eax, 8
or eax, ecx
mov dword [0xc765e4], eax
mov eax, dword [esp + 0x20]
xor edx, edx
movss xmm3, dword [esp + 0x60]
xor ecx, ecx
movss xmm2, dword [0x56457c]
subss xmm3, xmm1
movss xmm5, dword [esp + 0x58]
sar eax, 0x10
and eax, 0x1f
movss xmm4, dword [esp + 0x64]
movss xmm6, dword [esp + 0x5c]
subss xmm4, xmm1
mov dword [0xc765f8], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x24]
sar eax, 0x10
and eax, 0x1f
mulss xmm0, xmm3
mulss xmm0, xmm2
addss xmm0, xmm5
addss xmm0, xmm1
movss dword [0xc765e8], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x3c]
sar eax, 0xd
test eax, eax
cmovns edx, eax
mulss xmm0, xmm4
mulss xmm0, xmm2
addss xmm0, xmm6
addss xmm0, xmm1
movss dword [0xc765ec], xmm0
movd xmm0, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
movss dword [0xc765f0], xmm0
movd xmm0, dword [esp + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [0xc765f4], xmm0
cmp edx, 0xff
jle 0x4c4ab1
cmp edx, 0x160
jg 0x4c4a83
mov edx, 0xff
jmp 0x4c4ab1
lea ecx, [edx - 0x160]
mov eax, 0x51eb851f
imul ecx, ecx
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, 0xff
cmp ecx, edx
jle 0x4c4aaa
mov ecx, edx
jmp 0x4c4ab1
xor eax, eax
test ecx, ecx
cmovs ecx, eax
mov eax, edx
or eax, 0xffffff00
shl eax, 8
or eax, edx
shl eax, 8
or eax, edx
mov dword [0xc76600], eax
cmp dword [esi + 0x6e0], 0
je 0x4c4ae1
mov eax, ecx
shl eax, 8
or eax, ecx
shl eax, 8
or eax, ecx
mov dword [0xc76604], eax
mov eax, dword [esp + 0x34]
xor edx, edx
sar eax, 0x10
xor ecx, ecx
and eax, 0x1f
mov dword [0xc76618], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x38]
sar eax, 0x10
and eax, 0x1f
mulss xmm0, xmm3
mulss xmm0, xmm2
addss xmm0, xmm5
addss xmm0, xmm1
movss dword [0xc76608], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x50]
sar eax, 0xd
test eax, eax
cmovns edx, eax
mulss xmm0, xmm4
mulss xmm0, xmm2
addss xmm0, xmm6
addss xmm0, xmm1
movss dword [0xc7660c], xmm0
movd xmm0, dword [esp + 0x40]
cvtdq2ps xmm0, xmm0
movss dword [0xc76610], xmm0
movd xmm0, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
movss dword [0xc76614], xmm0
cmp edx, 0xff
jle 0x4c4bb4
cmp edx, 0x160
jg 0x4c4b86
mov edx, 0xff
jmp 0x4c4bb4
lea ecx, [edx - 0x160]
mov eax, 0x51eb851f
imul ecx, ecx
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, 0xff
cmp ecx, edx
jle 0x4c4bad
mov ecx, edx
jmp 0x4c4bb4
xor eax, eax
test ecx, ecx
cmovs ecx, eax
mov eax, edx
or eax, 0xffffff00
shl eax, 8
or eax, edx
shl eax, 8
or eax, edx
mov dword [0xc76620], eax
cmp dword [esi + 0x6e0], 0
je 0x4c4be4
mov eax, ecx
shl eax, 8
or eax, ecx
shl eax, 8
or eax, ecx
mov dword [0xc76624], eax
mov eax, dword [esp + 0x48]
sar eax, 0x10
and eax, 0x1f
mov ecx, dword [0x7fcb70]
push dword [0xc6e848]
push 0
movd xmm0, eax
mov eax, dword [esp + 0x54]
cvtdq2ps xmm0, xmm0
sar eax, 0x10
and eax, 0x1f
push dword [esp + 0x5c]
mulss xmm0, xmm3
push 0xc76610
push 0xc765f0
push 0xc765d0
mulss xmm0, xmm2
addss xmm0, xmm5
addss xmm0, xmm1
movss dword [0xc76628], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
mulss xmm0, xmm2
addss xmm0, xmm6
addss xmm0, xmm1
movss dword [0xc7662c], xmm0
call fcn.00454730
inc dword [0xc6e848]
inc dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x1c