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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, dword [esi + 0x160]
test ebx, ebx
je 0x506f0b
mov ebx, dword [ebx + 0x170]
jmp 0x506f11
mov ebx, dword [esi + 0x170]
mov edi, dword [ebp + 8]
cmp dword [edi + 0x16c], 0
je 0x506f37
cmp esi, dword [edi + 0x17c]
je 0x506f37
mov eax, dword [edi + 0x80]
push edi
mov eax, dword [eax + 0x80]
call eax
add esp, 4
movss xmm5, dword [ebp + 0x20]
movss xmm4, dword [ebp + 0x24]
movss xmm3, dword [ebp + 0x28]
movss xmm2, dword [ebp + 0x2c]
mov dword [edi + 0x17c], esi
movd xmm0, dword [ebx]
movd xmm1, dword [ebx + 4]
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp + 0x30]
cvtdq2ps xmm1, xmm1
divss xmm5, xmm0
divss xmm4, xmm1
movss dword [ebp + 0x20], xmm5
movss dword [ebp + 0x24], xmm4
divss xmm3, xmm0
divss xmm2, xmm1
addss xmm3, xmm5
addss xmm2, xmm4
movss dword [ebp + 0xc], xmm3
movss dword [ebp + 8], xmm2
test al, 1
je 0x506fa3
movaps xmm0, xmm5
movaps xmm5, xmm3
movss dword [ebp + 0x20], xmm5
movss dword [ebp + 0xc], xmm0
test al, 2
je 0x506fb7
movaps xmm0, xmm4
movaps xmm4, xmm2
movss dword [ebp + 0x24], xmm4
movss dword [ebp + 8], xmm0
mov ecx, dword [edi + 0x80]
mov eax, dword [edi + 0x88]
shr eax, 0xb
push 6
test al, 1
mov eax, dword [ecx + 0x84]
push edi
je 0x507144
call eax
movups xmm0, xmmword [ebp + 0x10]
mov esi, eax
add esp, 8
movss xmm2, dword [ebp + 0x24]
lea eax, [esi + 4]
movss xmm1, dword [ebp + 0xc]
lea ecx, [esi + 8]
movss xmm3, dword [ebp + 0x20]
lea ebx, [esi + 0x48]
movss xmm4, dword [ebp + 0x28]
movss dword [esi + 0x10], xmm2
movss dword [esi + 0x30], xmm1
movss dword [esi + 0x34], xmm2
movss xmm2, dword [ebp + 0x2c]
movss dword [esi + 0x54], xmm1
movss xmm1, dword [ebp + 8]
mov dword [esi], 0
mov dword [eax], 0
mov dword [ecx], 0
movups xmmword [esi + 0x14], xmm0
mov dword [esi + 0x28], 0
movss dword [esi + 0xc], xmm3
movss dword [esi + 0x24], xmm4
mov dword [esi + 0x2c], 0
movups xmmword [esi + 0x38], xmm0
mov dword [esi + 0x50], 0
movss dword [ebx], xmm4
movss dword [esi + 0x4c], xmm2
movups xmmword [esi + 0x5c], xmm0
mov dword [esi + 0xb4], 0
movss dword [esi + 0x58], xmm1
movss dword [esi + 0xb8], xmm2
mov dword [esi + 0xbc], 0
movups xmmword [esi + 0xc8], xmm0
movss dword [esi + 0xc0], xmm3
movss dword [esi + 0xc4], xmm1
cmp byte [edi + 0x170], 0
je 0x507109
push ecx
push eax
push esi
call fcn.0048bc80
push eax
call fcn.0048c0c0
add esp, 0x10
lea eax, [esi + 0x2c]
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.0048bc80
push eax
call fcn.0048c0c0
add esp, 0x10
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x4c]
push eax
push ebx
call fcn.0048bc80
push eax
call fcn.0048c0c0
add esp, 0x10
lea eax, [esi + 0xbc]
push eax
lea eax, [esi + 0xb8]
push eax
lea eax, [esi + 0xb4]
push eax
call fcn.0048bc80
push eax
call fcn.0048c0c0
add esp, 0x10
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x20]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [esi + 0x7c], xmm0
mov dword [esi + 0x8c], eax
movups xmm0, xmmword [ebx]
mov eax, dword [ebx + 0x20]
movups xmmword [esi + 0x90], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [esi + 0xa0], xmm0
mov dword [esi + 0xb0], eax
jmp 0x5072ec
call eax
movss xmm0, dword [ebp + 0x10]
mov ebx, eax
mulss xmm0, dword [0x6a3e3c]
add esp, 8
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.005e94c0
movss xmm0, dword [ebp + 0x1c]
mulss xmm0, dword [0x6a3e3c]
movzx esi, al
call fcn.005e94c0
movss xmm0, dword [ebp + 0x14]
mulss xmm0, dword [0x6a3e3c]
shl eax, 8
or esi, eax
shl esi, 8
call fcn.005e94c0
movss xmm0, dword [ebp + 0x18]
mulss xmm0, dword [0x6a3e3c]
movzx eax, al
or esi, eax
shl esi, 8
call fcn.005e94c0
movss xmm1, dword [ebp + 0x28]
movss xmm0, dword [ebp + 0xc]
movss xmm3, dword [ebp + 0x20]
movss xmm2, dword [ebp + 0x24]
movzx eax, al
or esi, eax
movss dword [ebx + 0x18], xmm1
lea eax, [ebx + 0x30]
movss dword [ebx + 0x28], xmm0
movss dword [eax], xmm1
movss xmm1, dword [ebp + 0x2c]
movss dword [ebx + 0x40], xmm0
movss xmm0, dword [ebp + 8]
mov dword [ebx + 0xc], esi
movss dword [ebx + 0x10], xmm3
movss dword [ebx + 0x14], xmm2
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], esi
movss dword [ebx + 0x2c], xmm2
movss dword [ebx + 0x34], xmm1
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], esi
movss dword [ebx + 0x44], xmm0
mov dword [ebx + 0x78], 0
movss dword [ebx + 0x7c], xmm1
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], esi
movss dword [ebx + 0x88], xmm3
movss dword [ebx + 0x8c], xmm0
cmp byte [edi + 0x170], 0
je 0x5072ca
lea eax, [ebx + 8]
push eax
lea eax, [ebx + 4]
push eax
push ebx
call fcn.0048bc80
push eax
call fcn.0048c0c0
add esp, 0x10
lea eax, [ebx + 0x20]
push eax
lea eax, [ebx + 0x1c]
push eax
lea eax, [ebx + 0x18]
push eax
call fcn.0048bc80
push eax
call fcn.0048c0c0
add esp, 0x10
lea eax, [ebx + 0x38]
push eax
lea eax, [ebx + 0x34]
push eax
lea eax, [ebx + 0x30]
push eax
call fcn.0048bc80
push eax
call fcn.0048c0c0
add esp, 0x10
lea eax, [ebx + 0x80]
push eax
lea eax, [ebx + 0x7c]
push eax
lea eax, [ebx + 0x78]
push eax
call fcn.0048bc80
push eax
call fcn.0048c0c0
add esp, 0x10
lea eax, [ebx + 0x30]
movups xmm0, xmmword [ebx]
movups xmmword [ebx + 0x48], xmm0
movq xmm0, qword [ebx + 0x10]
movq qword [ebx + 0x58], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebx + 0x60], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebx + 0x70], xmm0
cmp byte [edi + 0x170], 0
jne 0x507307
mov eax, dword [edi + 0x80]
push edi
mov eax, dword [eax + 0x80]
call eax
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret