Function at 0x4c47f0
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.00496130
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 [0x56ab74]
ucomiss xmm0, dword [esi + 0x1c]
lahf
test ah, 0x44
jp 0x4c4878
movss xmm0, dword [esp + 0x20]
mov eax, 0x55555556
imul dword [esi]
movss xmm1, dword [0x56aa50]
movq xmm2, qword [esp + 0x38]
movss dword [esp + 0x2c], xmm0
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4c49d6
movss xmm1, dword [esi + 0x18]
movss xmm4, dword [ebp + 0x18]
movss xmm3, dword [ebp + 0x20]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x4c48b9
movss xmm0, dword [esi + 0x1c]
ucomiss xmm0, dword [ebp + 0x1c]
lahf
test ah, 0x44
jp 0x4c48b9
movss xmm0, dword [esi + 0x20]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x4c48b9
mov dword [esi + 0x14], 0
jmp 0x4c4e8b
subss xmm3, dword [esi + 0x20]
subss xmm4, xmm1
push ecx
movaps xmm0, xmm3
mulss xmm3, xmm3
mulss xmm0, dword [0x56aaa8]
movaps xmm2, xmm4
mulss xmm4, dword [0x56aaa8]
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 [0x56aa08]
movss dword [esi + 0x14], xmm1
jbe 0x4c495f
movq xmm2, qword [ebp + 0x18]
mov eax, 0x55555556
imul dword [esi]
movss xmm1, dword [0x56aa50]
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 0x4c49cc
movd xmm0, dword [0x57cc88]
movss xmm3, dword [0x56a8b4]
cvtdq2ps xmm0, xmm0
movaps xmm2, xmm3
movss xmm4, dword [0x56a9b8]
divss xmm2, xmm0
mulss xmm2, xmm4
comiss xmm1, xmm2
jbe 0x4c4e8b
nop
movss xmm1, dword [esi + 0x14]
inc eax
subss xmm1, xmm2
movaps xmm2, xmm3
movss dword [esi + 0x14], xmm1
movd xmm0, dword [0x57cc88]
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
mulss xmm2, xmm4
comiss xmm1, xmm2
ja 0x4c4990
mov edi, dword [esp + 0x28]
movq xmm2, qword [esp + 0x20]
movss xmm1, dword [0x56aa2c]
movq qword [esp + 0x38], xmm2
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x4c4e8b
movaps xmm0, xmm1
xorps xmm0, xmmword [0x56ad40]
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.00514d5a
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x30]
divss xmm0, dword [0x56aad8]
addss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x10], xmm0
call fcn.00514d5a
movss xmm4, dword [esp + 0x10]
movss xmm1, dword [0x56aa0c]
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 [0x56aad8]
addss xmm7, dword [esp + 0x1c]
addss xmm7, dword [esp + 0x28]
cmp edx, 2
jl 0x4c4e7a
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x108]
add eax, 0xfffffffe
cmp edx, eax
jge 0x4c4e7a
movaps xmm0, xmm7
divss xmm0, xmm1
cvttss2si edi, xmm0
cmp edi, 2
jl 0x4c4e76
mov eax, dword [ecx + 0x10c]
sub eax, 2
cmp edi, eax
jge 0x4c4e76
mov ecx, edi
test ecx, ecx
jns 0x4c4ad1
add ecx, 0x7f
sar ecx, 7
mov eax, edx
test eax, eax
jns 0x4c4add
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 + 0x59321c]
cmp dword [esp + 0x10], 0x7f
cmovle eax, dword [esp + 0x10]
lea ecx, [ecx + eax*4]
mov eax, dword [edx*8 + 0x593220]
mov eax, dword [ecx + eax]
mov ecx, dword [esp + 0x34]
cmp eax, dword [ecx + 0x1a4]
je 0x4c4e76
imul edi, dword [ecx + 0x108]
mov eax, dword [esp + 0x10]
add edi, dword [ecx + 0x194]
cmp byte [edi + eax], 0x14
ja 0x4c4e76
push ecx
movaps xmm2, xmm7
movaps xmm1, xmm4
call fcn.00497830
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 [0x56a9b8]
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 [0x56a9b8]
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 0x4c4d81
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 0x4c4da6
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 0x4c4dcb
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 0x4c4df0
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 0x4c4e15
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 0x4c4e3a
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 0x4c4d70
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x14]
cmp eax, dword [esi]
jl 0x4c4e7a
mov dword [esi + 4], 0
jmp 0x4c4e7a
mov edi, dword [esp + 0x14]
sub dword [esp + 0x18], 1
movq xmm2, qword [esp + 0x38]
jne 0x4c4a00
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.00496200
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c