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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x34], eax
call fcn.004961f0
mov eax, dword [esi + 8]
lea edx, [esp + 0xc]
movq xmm0, qword [ebp + 0x18]
mov edi, dword [ebp + 0x20]
push 0
mov ecx, dword [eax]
push edx
push 0
push 0
push eax
movq qword [esp + 0x4c], xmm0
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], edi
call dword [ecx + 0x2c]
movss xmm0, dword [0x56adbc]
ucomiss xmm0, dword [esi + 0x1c]
lahf
test ah, 0x44
jp 0x4c4968
movss xmm0, dword [esp + 0x20]
mov eax, 0x55555556
imul dword [esi]
movss xmm1, dword [0x56ac98]
movq xmm2, qword [esp + 0x38]
movss dword [esp + 0x2c], xmm0
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4c4ac6
movss xmm1, dword [esi + 0x18]
movss xmm4, dword [ebp + 0x18]
movss xmm3, dword [ebp + 0x20]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x4c49a9
movss xmm0, dword [esi + 0x1c]
ucomiss xmm0, dword [ebp + 0x1c]
lahf
test ah, 0x44
jp 0x4c49a9
movss xmm0, dword [esi + 0x20]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x4c49a9
mov dword [esi + 0x14], 0
jmp 0x4c4f7b
subss xmm3, dword [esi + 0x20]
subss xmm4, xmm1
push ecx
movaps xmm0, xmm3
mulss xmm3, xmm3
mulss xmm0, dword [0x56acf0]
movaps xmm2, xmm4
mulss xmm4, dword [0x56acf0]
addss xmm0, dword [esp + 0x2c]
mulss xmm2, xmm2
addss xmm4, dword [esp + 0x24]
addss xmm3, xmm2
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x24], xmm4
movss dword [esp], xmm3
call fcn.0044da40
fadd dword [esi + 0x14]
add esp, 4
xor eax, eax
fstp dword [esp + 0x1c]
movss xmm1, dword [esp + 0x1c]
comiss xmm1, dword [0x56ac50]
movss dword [esi + 0x14], xmm1
jbe 0x4c4a4f
movq xmm2, qword [ebp + 0x18]
mov eax, 0x55555556
imul dword [esi]
movss xmm1, dword [0x56ac98]
movq qword [esp + 0x20], xmm2
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x2c], xmm0
mov edi, dword [ebp + 0x20]
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4c4abc
movd xmm0, dword [0x57cd48]
movss xmm3, dword [0x56aafc]
cvtdq2ps xmm0, xmm0
movaps xmm2, xmm3
movss xmm4, dword [0x56ac00]
divss xmm2, xmm0
mulss xmm2, xmm4
comiss xmm1, xmm2
jbe 0x4c4f7b
nop
movss xmm1, dword [esi + 0x14]
inc eax
subss xmm1, xmm2
movaps xmm2, xmm3
movss dword [esi + 0x14], xmm1
movd xmm0, dword [0x57cd48]
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
mulss xmm2, xmm4
comiss xmm1, xmm2
ja 0x4c4a80
mov edi, dword [esp + 0x28]
movq xmm2, qword [esp + 0x20]
movss xmm1, dword [0x56ac74]
movq qword [esp + 0x38], xmm2
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x4c4f7b
movaps xmm0, xmm1
xorps xmm0, xmmword [0x56af90]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x30], xmm1
nop dword [eax]
mov eax, dword [esi + 4]
movq qword [esp + 0x20], xmm2
mov dword [esp + 0x28], edi
lea eax, [eax + eax*2]
add eax, eax
mov dword [esp + 0x44], eax
call fcn.00514eba
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x30]
divss xmm0, dword [0x56ad20]
addss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x10], xmm0
call fcn.00514eba
movss xmm4, dword [esp + 0x10]
movss xmm1, dword [0x56ac54]
movaps xmm0, xmm4
divss xmm0, xmm1
movd xmm7, eax
cvtdq2ps xmm7, xmm7
cvttss2si edx, xmm0
mulss xmm7, dword [esp + 0x30]
mov dword [esp + 0x10], edx
divss xmm7, dword [0x56ad20]
addss xmm7, dword [esp + 0x1c]
addss xmm7, dword [esp + 0x28]
cmp edx, 2
jl 0x4c4f6a
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x108]
add eax, 0xfffffffe
cmp edx, eax
jge 0x4c4f6a
movaps xmm0, xmm7
divss xmm0, xmm1
cvttss2si edi, xmm0
cmp edi, 2
jl 0x4c4f66
mov eax, dword [ecx + 0x10c]
sub eax, 2
cmp edi, eax
jge 0x4c4f66
mov ecx, edi
test ecx, ecx
jns 0x4c4bc1
add ecx, 0x7f
sar ecx, 7
mov eax, edx
test eax, eax
jns 0x4c4bcd
add eax, 0x7f
sar eax, 7
lea edx, [eax + ecx*2]
cmp edi, 0x7f
mov eax, dword [esp + 0x10]
lea ecx, [edi - 0x80]
cmovle ecx, edi
add eax, 0xffffff80
imul ecx, dword [edx*8 + 0x5932dc]
cmp dword [esp + 0x10], 0x7f
cmovle eax, dword [esp + 0x10]
lea ecx, [ecx + eax*4]
mov eax, dword [edx*8 + 0x5932e0]
mov eax, dword [ecx + eax]
mov ecx, dword [esp + 0x34]
cmp eax, dword [ecx + 0x1a4]
je 0x4c4f66
imul edi, dword [ecx + 0x108]
mov eax, dword [esp + 0x10]
add edi, dword [ecx + 0x194]
cmp byte [edi + eax], 0x14
ja 0x4c4f66
push ecx
movaps xmm2, xmm7
movaps xmm1, xmm4
call fcn.004978f0
mov eax, dword [esp + 0xc]
movaps xmm2, xmm0
mov edx, dword [esp + 0x44]
movaps xmm1, xmm4
subss xmm1, dword [esi + 0x10]
xorps xmm6, xmm6
movaps xmm3, xmm2
addss xmm3, xmm6
movaps xmm0, xmm4
lea ecx, [edx + edx*2]
movss dword [eax + ecx*8], xmm1
movaps xmm1, xmm7
mov eax, dword [esp + 0xc]
addss xmm1, xmm6
movss dword [eax + ecx*8 + 4], xmm3
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 8], xmm1
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0xc], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x10], 0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x14], 0x3f800000
subss xmm0, dword [esi + 0x10]
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x18], xmm0
movss xmm0, dword [esi + 0x10]
mov eax, dword [esp + 0xc]
mulss xmm0, dword [0x56ac00]
addss xmm0, xmm2
movss dword [eax + ecx*8 + 0x1c], xmm0
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x20], xmm1
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x24], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x28], 0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x2c], 0
lea ecx, [edx + edx*2]
movss xmm0, dword [esi + 0x10]
mov eax, dword [esp + 0xc]
addss xmm0, xmm0
addss xmm0, xmm4
addss xmm4, xmm6
movss dword [eax + ecx*8 + 0x30], xmm0
movaps xmm0, xmm7
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x34], xmm3
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x38], xmm1
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x3c], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x40], 0x3f800000
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x44], 0x3f800000
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x48], xmm4
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x4c], xmm3
subss xmm0, dword [esi + 0x10]
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x50], xmm0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x54], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x58], 0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x5c], 0x3f800000
lea ecx, [edx + edx*2]
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x60], xmm4
movss xmm0, dword [esi + 0x10]
mulss xmm0, dword [0x56ac00]
mov eax, dword [esp + 0xc]
addss xmm0, xmm2
movss dword [eax + ecx*8 + 0x64], xmm0
mov edi, 0x3f000000
mov eax, dword [esp + 0xc]
movaps xmm0, xmm7
subss xmm0, dword [esi + 0x10]
mov dword [esp + 0x10], 4
movss dword [eax + ecx*8 + 0x68], xmm0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x6c], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x70], 0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x74], 0
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x78], xmm4
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x7c], xmm3
movss xmm0, dword [esi + 0x10]
mov eax, dword [esp + 0xc]
addss xmm0, xmm0
addss xmm0, xmm7
movss dword [eax + ecx*8 + 0x80], xmm0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x84], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x88], 0x3f800000
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x8c], 0x3f800000
nop
sub edx, 1
jns 0x4c4e71
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x4c4e96
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x4c4ebb
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x4c4ee0
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x4c4f05
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x4c4f2a
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edi
add edi, 0x3f000000
sub dword [esp + 0x10], 1
jne 0x4c4e60
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x14]
cmp eax, dword [esi]
jl 0x4c4f6a
mov dword [esi + 4], 0
jmp 0x4c4f6a
mov edi, dword [esp + 0x14]
sub dword [esp + 0x18], 1
movq xmm2, qword [esp + 0x38]
jne 0x4c4af0
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movq xmm0, qword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
movq qword [esi + 0x18], xmm0
mov dword [esi + 0x20], eax
call fcn.004962c0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c