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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [ebp + 8]
movss xmm1, dword [0x870be8]
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [eax]
push edi
mov edi, ecx
movss xmm4, dword [esi + 0x18]
mov eax, dword [eax + 4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cmp byte [esi + 0x68], 0
addsd xmm0, qword [eax*8 + 0x50f650]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x10], xmm0
je 0x4b47f4
movss xmm0, dword [esi + 0x58]
comiss xmm1, xmm0
jbe 0x4b47f4
cvtps2pd xmm0, xmm0
call fcn.00502a00
xorps xmm1, xmm1
movss xmm4, dword [esi + 0x18]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x5bb718]
mulss xmm1, dword [esi + 0x14]
divss xmm1, dword [0x5b8a28]
divss xmm0, xmm1
minss xmm4, xmm0
movss xmm5, dword [esi + 0x14]
mov ecx, 1
movss xmm2, dword [0x5babbc]
movaps xmm0, xmm5
mulss xmm0, dword [esi + 0x1c]
movaps xmm3, xmm2
mov dl, byte [edi + 0x40]
maxss xmm3, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm4
maxss xmm2, xmm0
minss xmm3, dword [0x5afc18]
minss xmm2, dword [0x5afc18]
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x38], xmm2
test dl, dl
je 0x4b48d1
movss xmm0, dword [edi + 0x1c]
ucomiss xmm0, dword [esi]
lahf
test ah, 0x44
jp 0x4b48d1
movss xmm0, dword [edi + 0x20]
ucomiss xmm0, dword [esi + 4]
lahf
test ah, 0x44
jp 0x4b48d1
movss xmm0, dword [edi + 0x24]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x4b48d1
movss xmm0, dword [edi + 0x28]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x4b48d1
movss xmm0, dword [edi + 0x2c]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x4b48d1
movss xmm0, dword [edi + 0x30]
ucomiss xmm0, dword [esi + 0x50]
lahf
test ah, 0x44
jp 0x4b48d1
movss xmm0, dword [edi + 0x34]
ucomiss xmm0, dword [esi + 0x54]
lahf
test ah, 0x44
jp 0x4b48d1
movss xmm0, dword [edi + 0x38]
ucomiss xmm0, dword [esi + 0x5c]
lahf
test ah, 0x44
jp 0x4b48d1
movss xmm0, dword [edi + 0x3c]
ucomiss xmm0, dword [esi + 0x60]
lahf
test ah, 0x44
jp 0x4b48d1
mov byte [esp + 0xf], 0
jmp 0x4b4918
mov eax, dword [esi]
test dl, dl
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x24], eax
movss dword [edi + 0x28], xmm2
movss dword [edi + 0x2c], xmm3
mov eax, dword [esi + 0x50]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x3c], eax
mov eax, 4
cmovne eax, ecx
mov byte [esp + 0xf], cl
xor byte [edi + 0x41], cl
mov byte [edi + 0x40], al
movzx eax, byte [edi + 0x41]
mov edx, dword [ebp + 0x14]
imul eax, eax, 0xb44
push edx
mov ecx, dword [edx + 0x84]
add eax, 0x44
add eax, edi
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x80]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], ecx
movss xmm1, dword [eax + 0x90]
mulss xmm1, dword [esi + 8]
movzx eax, byte [edi + 0xa6e0]
mov edi, dword [esp + 0x1c]
mov ecx, edi
push eax
mulss xmm1, dword [0x88231c]
lea eax, [esi + 0x3c]
sub esp, 8
movaps xmm0, xmm1
mulss xmm1, dword [esi + 0x20]
mulss xmm0, dword [esi + 0x34]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push eax
lea eax, [esi + 0x28]
push eax
call fcn.004b43c0
movss xmm0, dword [esi + 0x5c]
divss xmm0, dword [esp + 0x10]
movss xmm1, dword [0x5bb72c]
movss dword [esp + 0x14], xmm1
minss xmm1, xmm0
movss xmm0, dword [0x870be8]
movss dword [esp + 0x28], xmm1
movss xmm1, dword [0x5b89a8]
maxss xmm1, dword [esi + 0xc]
divss xmm0, xmm1
movss dword [esp + 0x24], xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
mulss xmm0, xmm1
addss xmm0, dword [0x598488]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x4b49f3
sqrtsd xmm0, xmm0
jmp 0x4b49f8
call fcn.0043e5b0
cvtsd2ss xmm0, xmm0
sub esp, 0xc
mov ecx, edi
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
push 0
call fcn.004b9e40
movss xmm0, dword [esi + 0x60]
divss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
minss xmm1, xmm0
movss xmm0, dword [0x5b89a8]
maxss xmm0, dword [esi + 0x10]
movss dword [esp + 0x14], xmm1
movss xmm1, dword [0x870be8]
divss xmm1, xmm0
movss dword [esp + 0x24], xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm0
addss xmm1, dword [0x598488]
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4b4a84
sqrtsd xmm0, xmm0
jmp 0x4b4a89
call fcn.0043e5b0
cvtsd2ss xmm0, xmm0
sub esp, 0xc
lea ecx, [edi + 0x1c]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp], xmm0
push 1
call fcn.004b9e40
movss xmm0, dword [edi + 8]
movss dword [edi + 0x40], xmm0
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [edi + 0x44], xmm0
movss xmm7, dword [edi + 0x10]
movss dword [edi + 0x48], xmm7
movss xmm6, dword [edi + 0x14]
movss dword [edi + 0x4c], xmm6
movss xmm5, dword [edi + 0x18]
movss dword [edi + 0x50], xmm5
movss xmm4, dword [edi + 0x24]
movss dword [edi + 0x5c], xmm4
movss xmm3, dword [edi + 0x28]
movss dword [edi + 0x60], xmm3
movss xmm2, dword [edi + 0x2c]
movss dword [edi + 0x64], xmm2
movss xmm1, dword [edi + 0x30]
movss dword [edi + 0x68], xmm1
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 0x34]
movss dword [edi + 0x6c], xmm0
movss dword [esp + 0x24], xmm7
movss xmm7, dword [esp + 0x1c]
movss dword [edi + 0x78], xmm7
movss xmm7, dword [esp + 0x20]
movss dword [edi + 0x7c], xmm7
movss xmm7, dword [esp + 0x24]
movss dword [edi + 0x80], xmm7
movss xmm7, dword [esp + 0x1c]
movss dword [edi + 0x84], xmm6
movss dword [edi + 0x88], xmm5
movss dword [edi + 0x94], xmm4
movss dword [edi + 0x98], xmm3
movss dword [edi + 0x9c], xmm2
movss dword [edi + 0xa0], xmm1
movss dword [edi + 0xa4], xmm0
movss dword [edi + 0xb0], xmm7
movss xmm7, dword [esp + 0x20]
movss dword [edi + 0xb4], xmm7
movss xmm7, dword [esp + 0x24]
movss dword [edi + 0xb8], xmm7
movss dword [edi + 0xbc], xmm6
movss dword [edi + 0xc0], xmm5
movss dword [edi + 0xcc], xmm4
movss dword [edi + 0xd0], xmm3
movss dword [edi + 0xd4], xmm2
movss dword [edi + 0xd8], xmm1
movss dword [edi + 0xdc], xmm0
movss xmm0, dword [esi]
mulss xmm0, dword [0x5bb740]
push ecx
movss dword [esp], xmm0
call fcn.00505522
movss xmm2, dword [0x511828]
lea eax, [edi + 0x110]
movss xmm4, dword [esi + 0x24]
add esp, 4
movss xmm0, dword [esi + 0x38]
movss xmm5, dword [esi + 0x14]
lea esi, [edi + 0x124]
movss xmm3, dword [esp + 0x10]
xor edi, edi
fstp dword [esp + 0x24]
maxss xmm2, dword [esp + 0x24]
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x30], xmm5
mov dword [esp + 0x24], eax
movss dword [esp + 0x1c], xmm2
nop word [eax + eax]
mulss xmm2, dword [edi + 0x5bb680]
movsd xmm0, qword [0x5b89c0]
movaps xmm1, xmm2
divss xmm2, xmm5
addss xmm1, xmm4
mulss xmm1, xmm3
cvttss2si eax, xmm1
cvtps2pd xmm1, xmm2
mov dword [esi - 0x30], eax
call fcn.0043d490
mov ecx, dword [esp + 0x24]
movss xmm2, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
movss xmm4, dword [esp + 0x2c]
movss dword [ecx], xmm0
add ecx, 4
movss xmm1, dword [edi + 0x5bb6c0]
add edi, 4
subss xmm1, dword [0x5bb714]
movss xmm5, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
mulss xmm1, dword [0x58fe4c]
mulss xmm1, xmm2
addss xmm1, dword [esp + 0x20]
mulss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esi], eax
add esi, 8
cmp edi, 0x10
jb 0x4b4c60
cmp byte [esp + 0xf], 0
mov esi, dword [ebp + 0x10]
je 0x4b4ec1
movss xmm0, dword [esi + 4]
xor edi, edi
mov eax, dword [esp + 0x18]
movss xmm4, dword [esi + 0x14]
mulss xmm0, xmm0
movss dword [esp + 0x30], xmm4
lea esi, [eax + 0x16c]
mulss xmm0, dword [0x5117cc]
movss dword [eax + 0x150], xmm0
movaps xmm1, xmm2
movsd xmm0, qword [0x5b89c0]
mulss xmm1, dword [edi + 0x5bb690]
mulss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esi - 0x18], eax
mulss xmm2, dword [edi + 0x5bb6a0]
movaps xmm1, xmm2
divss xmm2, xmm4
mulss xmm1, xmm3
cvttss2si eax, xmm1
cvtps2pd xmm1, xmm2
mov dword [esi], eax
call fcn.0043d490
movss xmm3, dword [esp + 0x10]
lea esi, [esi + 4]
movss xmm2, dword [esp + 0x1c]
add edi, 4
movss xmm4, dword [esp + 0x30]
cvtsd2ss xmm0, xmm0
movss dword [esi + 0xc], xmm0
cmp edi, 0x10
jb 0x4b4d32
movsd xmm0, qword [0x5bb730]
call fcn.0043dfe0
mov esi, dword [ebp + 0x10]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esi + 4]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call fcn.0043e7d0
mov edi, dword [esp + 0x18]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x30]
movss dword [edi + 0x140], xmm1
call fcn.0043e990
cvtsd2ss xmm0, xmm0
mov ecx, 1
movss xmm2, dword [esp + 0x10]
divss xmm0, dword [0x5b89dc]
movss xmm1, dword [0x5bb744]
movss dword [edi + 0x144], xmm0
movss xmm3, dword [esi + 0x50]
movaps xmm0, xmm3
movss xmm4, dword [esi + 0x54]
mulss xmm0, xmm2
divss xmm1, xmm0
cvtss2si eax, xmm1
cmp eax, 1
cmova ecx, eax
comiss xmm3, dword [0x58fe4c]
mov dword [edi + 0x49c], ecx
jb 0x4b4e3c
movss xmm3, dword [0x5bb71c]
jmp 0x4b4e44
mulss xmm3, dword [0x5bb724]
movss xmm0, dword [esp + 0x28]
lea ecx, [edi + 0x38c]
sub esp, 0x20
mulss xmm3, xmm4
mulss xmm3, xmm2
movss dword [edi + 0x4a0], xmm3
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x14]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.004b4f00
movss xmm3, dword [esp + 0x10]
jmp 0x4b4ec5
mov edi, dword [esp + 0x18]
movss xmm1, dword [esi + 0x38]
addss xmm1, dword [esi + 0x24]
movss xmm0, dword [0x511e1c]
addss xmm1, dword [esi + 0x14]
mulss xmm1, xmm3
minss xmm0, xmm1
call fcn.004333d0
mov dword [edi + 0xb40], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14