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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
movss xmm0, dword [ebp + 0xc]
movss xmm1, dword [0x55b520]
sub esp, 0x104
push ebx
mov ebx, dword [ebp + 8]
addss xmm0, dword [ebx + 0x854]
push esi
movss dword [ebx + 0x854], xmm0
comiss xmm0, xmm1
xorps xmm0, xmm0
push edi
jbe 0x4b422e
movss dword [ebx + 0x854], xmm0
fld dword [ebp + 0x20]
movss dword [esp + 0x60], xmm0
fmul dword [ebp + 0x20]
movss dword [esp + 0x64], xmm0
fld dword [ebp + 0x24]
movss dword [esp + 0x68], xmm1
fmul dword [ebp + 0x24]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x54], xmm0
faddp st(1)
fld dword [ebp + 0x1c]
fmul dword [ebp + 0x1c]
faddp st(1)
fsqrt
fstp dword [esp + 0x1c]
fldz
fld dword [esp + 0x1c]
fcompi st(1)
fstp st(0)
jbe 0x4b4378
lea ecx, [ebp + 0x1c]
lea edx, [esp + 0x38]
call fcn.0040e8aa
xorps xmm1, xmm1
movss xmm0, dword [esp + 0x40]
movss xmm2, dword [esp + 0x3c]
mulss xmm0, xmm1
subss xmm2, xmm0
subss xmm0, dword [esp + 0x38]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x20], xmm2
movss xmm2, dword [esp + 0x3c]
mulss xmm0, xmm1
mulss xmm2, xmm1
subss xmm0, xmm2
lea esi, [esp + 0x4c]
lea edi, [esp + 0x20]
movss dword [esp + 0x28], xmm0
call fcn.004125f0
test al, al
je 0x4b42f2
movss xmm1, dword [0x55b520]
xorps xmm0, xmm0
jmp 0x4b438a
lea ecx, [esp + 0x20]
mov edx, ecx
call fcn.0040e8aa
movss xmm0, dword [esp + 0x24]
mulss xmm0, dword [esp + 0x40]
movss xmm1, dword [esp + 0x28]
mulss xmm1, dword [esp + 0x3c]
subss xmm0, xmm1
movss xmm1, dword [esp + 0x40]
mulss xmm1, dword [esp + 0x20]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x38]
subss xmm0, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm1, dword [esp + 0x38]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, dword [esp + 0x20]
lea ecx, [esp + 0x60]
subss xmm0, xmm1
mov edx, ecx
movss dword [esp + 0x68], xmm0
call fcn.0040e8aa
movss xmm1, dword [0x55b520]
jmp 0x4b439c
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x20], xmm1
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm1
jbe 0x4b43aa
movaps xmm0, xmm1
xor eax, eax
cmp dword [ebx + 0x864], eax
mov dword [esp + 0x48], eax
jle 0x4b488a
mulss xmm0, dword [0x57f9ac]
mov dword [esp + 0x1c], eax
mov eax, 0xffffff38
add ebx, 0xc8
sub eax, dword [ebp + 8]
movss dword [esp + 0x84], xmm0
mov dword [esp + 0x58], eax
cvtsi2ss xmm1, dword [ebx]
movss xmm0, dword [ebx + 4]
mov eax, dword [ebp + 8]
divss xmm0, xmm1
cvtsi2ss xmm1, dword [eax + 0x864]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [0x57f9b0]
divss xmm0, xmm1
cvtsi2ss xmm1, dword [esp + 0x48]
lea ecx, [esp + 0xa0]
mulss xmm0, xmm1
call fcn.00403065
fld dword [esp + 0x84]
push ecx
lea eax, [esp + 0xd4]
fstp dword [esp]
push eax
call fcn.0040304f
xorps xmm6, xmm6
movss xmm1, dword [esp + 0xfc]
addss xmm1, dword [esp + 0xec]
movss xmm2, dword [esp + 0x100]
addss xmm2, dword [esp + 0xf0]
movss xmm0, dword [esp + 0xf8]
addss xmm0, dword [esp + 0xe8]
movss xmm3, dword [esp + 0xc0]
movss xmm4, dword [esp + 0xb4]
movss xmm5, dword [esp + 0xb8]
mulss xmm1, xmm6
addss xmm1, dword [esp + 0xdc]
mulss xmm4, xmm1
mulss xmm5, xmm1
mulss xmm0, xmm6
addss xmm0, dword [esp + 0xd8]
mulss xmm2, xmm6
addss xmm2, dword [esp + 0xe0]
mulss xmm3, xmm2
addss xmm3, xmm4
movss xmm4, dword [esp + 0xa8]
mulss xmm4, xmm0
addss xmm3, xmm4
movss xmm4, dword [esp + 0xc4]
mulss xmm4, xmm2
addss xmm4, xmm5
movss xmm5, dword [esp + 0xac]
mulss xmm5, xmm0
addss xmm4, xmm5
movss xmm5, dword [esp + 0xc8]
mulss xmm5, xmm2
movss xmm2, dword [esp + 0xbc]
mulss xmm2, xmm1
movss xmm1, dword [esp + 0xb0]
mulss xmm1, xmm0
addss xmm5, xmm2
addss xmm5, xmm1
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x28]
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0x40]
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, dword [esp + 0x68]
addss xmm0, xmm1
movss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x44]
mulss xmm1, xmm4
mulss xmm0, xmm5
addss xmm0, xmm1
movss xmm1, dword [esp + 0x6c]
mulss xmm1, xmm3
addss xmm0, xmm1
movss xmm1, dword [esp + 0x30]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0x48]
mulss xmm1, xmm4
pop ecx
mulss xmm0, xmm5
addss xmm0, xmm1
movss xmm1, dword [esp + 0x6c]
pop ecx
mulss xmm1, xmm3
addss xmm0, xmm1
movss dword [esp + 0x9c], xmm0
lea esi, [esp + 0x94]
lea edi, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
cmp dword [ebx], edi
mov byte [esp + 0x1b], 1
mov dword [esp + 0x5c], edi
jle 0x4b4868
mov eax, dword [0x6a9930]
mov eax, dword [eax + 0x6c]
add eax, 0x1c
mov dword [esp + 0x80], eax
jmp 0x4b45f0
xorps xmm6, xmm6
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ebp + 8]
lea eax, [ecx + edi + 0xa]
lea eax, [esi + eax*4]
movss xmm0, dword [eax]
addss xmm0, dword [ebp + 0xc]
add ecx, edi
movss xmm1, dword [esi + ecx*4]
comiss xmm0, xmm1
mov dword [esp + 0x6c], eax
movss dword [eax], xmm0
movss dword [esp + 0x70], xmm1
jbe 0x4b4625
movss dword [eax], xmm6
cmp edi, 1
jle 0x4b4675
mov eax, dword [esp + 0x58]
mov ecx, edi
imul ecx, ecx, 0xc
add eax, ebx
add ecx, eax
lea eax, [ecx + esi]
movss xmm0, dword [eax + 0x44]
subss xmm0, dword [eax + 0x38]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 0x48]
subss xmm0, dword [eax + 0x3c]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 0x4c]
subss xmm0, dword [eax + 0x40]
lea ecx, [esp + 0x2c]
mov edx, ecx
movss dword [esp + 0x34], xmm0
call fcn.0040e8aa
test edi, edi
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x34]
jne 0x4b46b5
movss xmm3, dword [esp + 0x44]
mulss xmm3, dword [0x559ad8]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x2c]
addss xmm2, dword [ebp + 0x10]
mulss xmm0, xmm3
addss xmm0, dword [ebp + 0x14]
mulss xmm1, xmm3
addss xmm1, dword [ebp + 0x18]
jmp 0x4b46ea
mov eax, dword [esp + 0x58]
imul edi, edi, 0xc
movss xmm2, dword [esp + 0x2c]
mulss xmm2, dword [esp + 0x44]
mulss xmm0, dword [esp + 0x44]
mulss xmm1, dword [esp + 0x44]
add eax, ebx
add edi, eax
lea eax, [edi + esi + 0x44]
addss xmm2, dword [eax]
addss xmm0, dword [eax + 4]
addss xmm1, dword [eax + 8]
mov esi, dword [esp + 0x80]
lea edi, [esp + 0x88]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x78], xmm0
movsd dword es:[edi], dword [esi]
subss xmm1, dword [esp + 0x90]
subss xmm0, dword [esp + 0x8c]
movaps xmm3, xmm1
mulss xmm3, dword [esp + 0x30]
mulss xmm1, dword [esp + 0x2c]
movaps xmm4, xmm0
mulss xmm4, dword [esp + 0x34]
mulss xmm0, dword [esp + 0x2c]
subss xmm3, xmm4
movss dword [esp + 0x4c], xmm3
movss xmm3, dword [esp + 0x34]
movss dword [esp + 0x74], xmm2
subss xmm2, dword [esp + 0x88]
mulss xmm3, xmm2
subss xmm3, xmm1
movss xmm1, dword [esp + 0x30]
lea ecx, [esp + 0x4c]
mulss xmm1, xmm2
subss xmm0, xmm1
mov edx, ecx
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x54], xmm0
call fcn.0040e8aa
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x4b4790
xorps xmm5, xmm5
jmp 0x4b47b2
mov eax, dword [ebp + 8]
cmp byte [eax + 0x868], 0
je 0x4b47aa
cvtsi2ss xmm0, dword [ebx]
cvtsi2ss xmm5, ecx
divss xmm5, xmm0
jmp 0x4b47b2
movss xmm5, dword [0x55b520]
cmp byte [esp + 0x1b], 0
mov eax, dword [esp + 0x6c]
movss xmm0, dword [eax]
divss xmm0, dword [esp + 0x70]
je 0x4b47df
mulss xmm0, dword [0x57f930]
cvttss2si eax, xmm0
call fcn.0040d7bc
mov byte [esp + 0x1b], 0
jmp 0x4b4800
mulss xmm0, dword [0x57fb78]
cvttss2si eax, xmm0
mov dx, ax
mov eax, 0x4000
sub ax, dx
call fcn.0040d7bc
mov byte [esp + 0x1b], 1
mov eax, dword [esp + 0x58]
mulss xmm0, dword [ebx + 8]
movss xmm1, dword [esp + 0x4c]
mov edx, ecx
imul edx, edx, 0xc
add eax, ebx
add edx, eax
mov eax, dword [ebp + 8]
mulss xmm0, xmm5
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x74]
lea eax, [edx + eax + 0x50]
movss dword [eax], xmm1
movss xmm1, dword [esp + 0x50]
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x78]
movss dword [eax + 4], xmm1
movss xmm1, dword [esp + 0x54]
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x7c]
inc ecx
movss dword [eax + 8], xmm1
cmp ecx, dword [ebx]
mov dword [esp + 0x5c], ecx
jl 0x4b45e9
inc dword [esp + 0x48]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x48]
add dword [esp + 0x1c], 0x35
add ebx, 0xd4
cmp ecx, dword [eax + 0x864]
jl 0x4b43e3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20