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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x60f074]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
push edi
mov edi, ecx
test esi, esi
je 0x4bd74e
movd xmm3, dword [esi]
movd xmm2, dword [esi + 4]
movd xmm1, dword [esi + 8]
movd xmm0, dword [esi + 0xc]
movss xmm6, dword [edi]
movss xmm7, dword [edi + 8]
comiss xmm7, xmm6
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 0xc]
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x1c], xmm0
jbe 0x4bd7b7
comiss xmm5, xmm4
jbe 0x4bd7b7
comiss xmm3, xmm1
jae 0x4bd7b7
comiss xmm2, xmm0
jae 0x4bd7b7
comiss xmm7, xmm3
jbe 0x4bd7b7
comiss xmm1, xmm6
jbe 0x4bd7b7
comiss xmm5, xmm2
jbe 0x4bd7b7
comiss xmm0, xmm4
jbe 0x4bd7b7
comiss xmm6, xmm3
jbe 0x4bd586
movaps xmm3, xmm6
movss dword [esp + 0x10], xmm3
comiss xmm4, xmm2
jbe 0x4bd594
movaps xmm2, xmm4
movss dword [esp + 0x14], xmm2
comiss xmm1, xmm7
jbe 0x4bd5a2
movaps xmm1, xmm7
movss dword [esp + 0x18], xmm1
comiss xmm0, xmm5
jbe 0x4bd5b0
movaps xmm0, xmm5
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm3
mov ecx, dword [esp + 0x20]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x24], xmm2
call fcn.004aca50
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
call fcn.004aca50
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
call fcn.004acb40
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
call fcn.004acb40
cmp dword [esi + 0x10], 0
mov dword [esp + 0x3c], eax
jne 0x4bd61f
mov edx, ebx
lea ecx, [esp + 0x10]
call fcn.004bd450
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00550156
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x30]
push eax
push esi
lea ecx, [esp + 0x48]
call fcn.004adda0
cmp byte [esp + 0x7c], 0
jne 0x4bd7b7
mov esi, 0x80
nop
movss xmm6, dword [edi]
movss xmm7, dword [edi + 8]
comiss xmm7, xmm6
movd xmm3, dword [esp + 0x6c]
movd xmm2, dword [esp + 0x70]
movd xmm1, dword [esp + 0x74]
movd xmm0, dword [esp + 0x78]
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
jbe 0x4bd728
movss xmm5, dword [edi + 0xc]
movss xmm4, dword [edi + 4]
comiss xmm5, xmm4
jbe 0x4bd728
comiss xmm3, xmm1
jae 0x4bd728
comiss xmm2, xmm0
jae 0x4bd728
comiss xmm7, xmm3
jbe 0x4bd728
comiss xmm1, xmm6
jbe 0x4bd728
comiss xmm5, xmm2
jbe 0x4bd728
comiss xmm0, xmm4
jbe 0x4bd728
comiss xmm6, xmm3
jbe 0x4bd6bf
movaps xmm3, xmm6
comiss xmm4, xmm2
jbe 0x4bd6c7
movaps xmm2, xmm4
comiss xmm1, xmm7
jbe 0x4bd6cf
movaps xmm1, xmm7
comiss xmm0, xmm5
jbe 0x4bd6d7
movaps xmm0, xmm5
movss xmm4, dword [0x5e3088]
mov ecx, esi
mulss xmm0, xmm4
mov edx, esi
push 1
mulss xmm1, xmm4
push ebx
cvttss2si eax, xmm0
mulss xmm2, xmm4
sub ecx, eax
mulss xmm3, xmm4
sar ecx, 8
cvttss2si eax, xmm1
push ecx
mov ecx, esi
sub ecx, eax
cvttss2si eax, xmm2
sar ecx, 8
push ecx
mov ecx, esi
sub edx, eax
cvttss2si eax, xmm3
sar edx, 8
sub ecx, eax
sar ecx, 8
call fcn.004bd110
add esp, 0x10
lea ecx, [esp + 0x40]
call fcn.004ade00
cmp byte [esp + 0x7c], 0
je 0x4bd640
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00550156
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x5e3088]
mov esi, 0x80
movss xmm0, dword [edi + 0xc]
mov ecx, esi
mulss xmm0, xmm1
mov edx, esi
push 1
push ebx
cvttss2si eax, xmm0
movss xmm0, dword [edi + 8]
mulss xmm0, xmm1
sub ecx, eax
sar ecx, 8
push ecx
mov ecx, esi
cvttss2si eax, xmm0
movss xmm0, dword [edi + 4]
mulss xmm0, xmm1
sub ecx, eax
sar ecx, 8
push ecx
cvttss2si eax, xmm0
movss xmm0, dword [edi]
mulss xmm0, xmm1
sub edx, eax
sar edx, 8
cvttss2si eax, xmm0
sub esi, eax
sar esi, 8
mov ecx, esi
call fcn.004bd110
add esp, 0x10
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00550156
mov esp, ebp
pop ebp
ret