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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x174
push ebx
push esi
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
movaps xmm0, xmmword [edi]
movaps xmmword [esp + 0x70], xmm0
fld dword [esp + 0x70]
sub esp, 8
fmul dword [ebp + 0x20]
shl eax, 4
movaps xmm0, xmmword [eax + edi - 0x10]
lea ecx, [esp + 0x98]
fadd dword [ebp + 0x24]
movaps xmmword [esp + 0x88], xmm0
fstp dword [esp + 4]
fld dword [esp + 0x78]
fmul dword [ebp + 0x18]
fadd dword [ebp + 0x1c]
fstp dword [esp]
push esi
push ecx
call fcn.005471d0
fld dword [esp + 0x90]
fmul dword [ebp + 0x20]
add esp, 8
lea edx, [esp + 0xd8]
fadd dword [ebp + 0x24]
fstp dword [esp + 4]
fld dword [esp + 0x88]
fmul dword [ebp + 0x18]
fadd dword [ebp + 0x1c]
fstp dword [esp]
push esi
push edx
call fcn.005471d0
movaps xmm0, xmmword [esp + 0x100]
mov eax, dword [ebp + 0x2c]
movaps xmm1, xmm0
minps xmm1, xmmword [esp + 0x110]
maxps xmm0, xmmword [esp + 0x110]
movaps xmm2, xmm1
movaps xmm1, xmmword [esp + 0xf0]
movaps xmm3, xmm1
minps xmm3, xmm2
movaps xmm2, xmmword [esp + 0xe0]
movaps xmm4, xmm2
minps xmm4, xmm3
movaps xmm3, xmmword [esp + 0xd0]
movaps xmm5, xmm3
minps xmm5, xmm4
movaps xmm4, xmmword [esp + 0xc0]
movaps xmm6, xmm4
minps xmm6, xmm5
movaps xmm5, xmmword [esp + 0xb0]
maxps xmm1, xmm0
movaps xmm0, xmmword [esp + 0xa0]
movaps xmm7, xmm5
maxps xmm2, xmm1
minps xmm7, xmm6
movaps xmm6, xmmword [esp + 0xa0]
maxps xmm3, xmm2
add esp, 0x10
maxps xmm4, xmm3
add eax, 0x2a0
maxps xmm5, xmm4
minps xmm6, xmm7
maxps xmm0, xmm5
push eax
lea ecx, [esp + 0x124]
movaps xmmword [esp + 0x124], xmm6
movaps xmmword [esp + 0x134], xmm0
call fcn.00602790
test al, al
jne 0x54c4e4
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x14]
mov al, byte [0x73f5f5]
mov ecx, ebx
push 0
call fcn.005f4ca0
push 0
mov dword [0x73f5d8], ebx
call fcn.00555a40
movss xmm0, dword [0x68b500]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x30], xmm0
movaps xmm0, xmmword [esp + 0x24]
xor edx, edx
mov dword [0x73f5e8], edx
movaps xmm5, xmmword [esi + 0x10]
movaps xmm3, xmmword [esi + 0x20]
xorps xmm6, xmm6
movaps xmm1, xmm6
movss xmm1, xmm0
movaps xmm0, xmmword [esi]
subps xmm5, xmm0
movaps xmm0, xmmword [esi + 0x30]
subps xmm3, xmm0
shufps xmm1, xmm1, 0x51
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xc9
movaps xmmword [esp + 0x44], xmm0
movaps xmm2, xmm5
shufps xmm2, xmm5, 0xc9
mulps xmm0, xmm5
movaps xmm4, xmm1
mulps xmm4, xmm2
movaps xmm2, xmm4
subps xmm2, xmm0
shufps xmm2, xmm2, 0xc9
movaps xmm0, xmm2
mulps xmm0, xmm2
movaps xmm4, xmm0
shufps xmm4, xmm0, 0xaa
movaps xmmword [esp + 0x34], xmm4
movaps xmm4, xmm0
shufps xmm4, xmm0, 0x55
movaps xmm7, xmm0
addss xmm7, xmm4
addss xmm7, dword [esp + 0x34]
movaps xmmword [esp + 0x34], xmm7
fld dword [esp + 0x34]
fcomp dword [0x68b4fc]
add esp, 4
movaps xmmword [esp + 0x160], xmm3
movaps xmmword [esp + 0x60], xmm2
fnstsw ax
test ah, 0x41
jne 0x54c131
movaps xmm4, xmm0
shufps xmm4, xmm0, 0xaa
movaps xmm7, xmm0
shufps xmm7, xmm0, 0x55
addss xmm0, xmm7
addss xmm0, xmm4
movaps xmmword [esp + 0x20], xmm0
rsqrtss xmm0, xmm0
movss dword [esp + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x20]
movaps xmm4, xmm0
shufps xmm4, xmm0, 0
mulps xmm2, xmm4
movaps xmmword [esp + 0x30], xmm2
lea eax, [esp + 0x30]
jmp 0x54c135
lea eax, [esp + 0x60]
movaps xmm0, xmmword [eax]
movaps xmmword [esp + 0x150], xmm0
movaps xmm0, xmm3
shufps xmm0, xmm3, 0xc9
mulps xmm3, xmmword [esp + 0x40]
mulps xmm0, xmm1
movaps xmm1, xmm3
subps xmm1, xmm0
shufps xmm1, xmm1, 0xc9
movaps xmm0, xmm1
mulps xmm0, xmm1
movaps xmm3, xmm0
movaps xmm2, xmm0
shufps xmm3, xmm0, 0x55
movaps xmm4, xmm0
shufps xmm2, xmm0, 0xaa
addss xmm4, xmm3
addss xmm4, xmm2
movaps xmmword [esp + 0x30], xmm4
fld dword [esp + 0x30]
fcomp dword [0x68b4fc]
movaps xmmword [esp + 0x60], xmm1
fnstsw ax
test ah, 0x41
jne 0x54c1d2
movaps xmm2, xmm0
shufps xmm2, xmm0, 0xaa
movaps xmm3, xmm0
shufps xmm3, xmm0, 0x55
addss xmm0, xmm3
addss xmm0, xmm2
movaps xmmword [esp + 0x20], xmm0
rsqrtss xmm0, xmm0
movss dword [esp + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x20]
movaps xmm2, xmm0
shufps xmm2, xmm0, 0
mulps xmm1, xmm2
movaps xmmword [esp + 0x30], xmm1
lea eax, [esp + 0x30]
jmp 0x54c1d6
lea eax, [esp + 0x60]
movaps xmm0, xmmword [eax]
movaps xmmword [esp + 0x170], xmm0
movaps xmm0, xmmword [esi + 0x10]
movaps xmm1, xmm0
shufps xmm1, xmm0, 0xff
movaps xmm0, xmmword [esi + 0x20]
movaps xmmword [esp + 0x110], xmm1
movaps xmm1, xmm0
shufps xmm1, xmm0, 0xff
movaps xmmword [esp + 0x140], xmm1
movaps xmm1, xmmword [edi]
shufps xmm1, xmm1, 0x55
movaps xmmword [esp + 0x40], xmm1
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x2c], ecx
jle 0x54c434
mov ecx, edi
mov edi, eax
jmp 0x54c250
movaps xmm1, xmmword [esp + 0x40]
lea esp, [esp]
movaps xmm2, xmmword [ecx]
movaps xmmword [esp + 0x60], xmm2
fld dword [esp + 0x60]
fmul dword [ebp + 0x18]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
minss xmm1, xmm0
fadd dword [ebp + 0x1c]
movaps xmmword [esp + 0x40], xmm1
fld dword [esp + 0x60]
movaps xmm1, xmmword [esp + 0x20]
fmul dword [ebp + 0x20]
maxss xmm1, xmm0
movaps xmmword [esp + 0x20], xmm1
lea eax, [esp + 0x18]
fadd dword [ebp + 0x24]
movaps xmm1, xmm6
movss xmm1, xmm0
movaps xmm4, xmm1
fstp dword [esp + 0x1c]
shufps xmm4, xmm4, 0x51
movaps xmmword [esp + 0x30], xmm2
fst dword [esp + 0x18]
movss xmm0, dword [eax]
fabs
movaps xmm1, xmm0
fmul dword [esp + 0x110]
shufps xmm1, xmm0, 0
movaps xmm0, xmmword [esp + 0x150]
fadd dword [0x68b500]
mulps xmm0, xmm1
movaps xmm1, xmm6
shufps xmm1, xmm0, 0x20
fcom dword [0x68b62c]
shufps xmm0, xmm1, 0x24
movaps xmm1, xmm0
movaps xmm0, xmmword [esi]
addps xmm0, xmm4
fnstsw ax
addps xmm0, xmm1
test ah, 0x41
je 0x54c2fa
fstp st(0)
fld dword [0x68b62c]
mov eax, dword [esp + 0x1c]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
movss xmm1, dword [esp + 0x18]
shufps xmm1, xmm1, 0
fabs
fmul dword [esp + 0x140]
movaps xmm3, xmm5
mulps xmm3, xmm1
fadd dword [0x68b500]
movaps xmm1, xmm3
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
fcom dword [0x68b62c]
movaps xmm3, xmm0
addps xmm3, xmm1
movss xmm1, dword [eax]
movaps xmm7, xmm1
shufps xmm7, xmm1, 0
fnstsw ax
movaps xmm1, xmmword [esp + 0x170]
test ah, 0x41
mulps xmm1, xmm7
movaps xmm7, xmm6
shufps xmm7, xmm1, 0x20
shufps xmm1, xmm7, 0x24
movaps xmm7, xmm1
movaps xmm1, xmmword [esi + 0x30]
addps xmm1, xmm4
addps xmm1, xmm7
je 0x54c379
fstp st(0)
fld dword [0x68b62c]
movsx eax, word [esp + 0x3c]
fstp dword [esp + 0x18]
movss xmm4, dword [esp + 0x18]
movaps xmm7, xmmword [esp + 0x160]
shl eax, 0x11
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
movsx eax, word [esp + 0x38]
shl eax, 0x11
fmul dword [0x694b18]
mov dword [esp + 0x18], eax
shufps xmm4, xmm4, 0
mulps xmm7, xmm4
fstp dword [esp + 0x1c]
mov eax, edx
fild dword [esp + 0x18]
movaps xmm4, xmm1
addps xmm4, xmm7
shl eax, 6
fmul dword [0x694b18]
add eax, 0x73f700
lea ebx, [esp + 0x18]
inc edx
fstp dword [esp + 0x18]
movss xmm7, dword [ebx]
shufps xmm7, xmm0, 0xe0
shufps xmm0, xmm7, 0x24
movaps xmmword [eax], xmm0
lea ebx, [esp + 0x1c]
movss xmm0, dword [ebx]
shufps xmm0, xmm3, 0xe0
shufps xmm3, xmm0, 0x24
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xff
shufps xmm0, xmm4, 0xe0
shufps xmm4, xmm0, 0x24
movaps xmm0, xmm2
movaps xmmword [eax + 0x10], xmm3
shufps xmm0, xmm2, 0xaa
shufps xmm0, xmm1, 0xe0
add ecx, 0x10
dec edi
movaps xmmword [eax + 0x20], xmm4
shufps xmm1, xmm0, 0x24
mov dword [0x73f5e8], edx
movaps xmmword [eax + 0x30], xmm1
jne 0x54c244
mov esi, dword [ebp + 0x2c]
lea ecx, [esi + 0x260]
push ecx
lea ecx, [esp + 0x124]
call fcn.00602890
fld dword [esp + 0x70]
fcomp dword [0x68b4fc]
test al, al
fnstsw ax
je 0x54c4a8
test ah, 5
lea eax, [esp + 0xd0]
jnp 0x54c46d
lea eax, [esp + 0x90]
cmp dword [0x73f5e8], 2
jl 0x54c4e4
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [edx + 0x10]
push ecx
lea edx, [esp + 0xdc]
push edx
lea ecx, [esp + 0xa0]
push ecx
push eax
push esi
call fcn.00557ed0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ah, 5
lea eax, [esp + 0xd0]
jnp 0x54c4bb
lea eax, [esp + 0x90]
cmp dword [0x73f5e8], 2
jl 0x54c4e4
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x80]
push 0
push ecx
mov ecx, dword [esp + 0x78]
push edx
push ecx
push eax
push esi
call fcn.005576f0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret