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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x53f084]
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 0x49a4fe
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 0x49a567
comiss xmm5, xmm4
jbe 0x49a567
comiss xmm3, xmm1
jae 0x49a567
comiss xmm2, xmm0
jae 0x49a567
comiss xmm7, xmm3
jbe 0x49a567
comiss xmm1, xmm6
jbe 0x49a567
comiss xmm5, xmm2
jbe 0x49a567
comiss xmm0, xmm4
jbe 0x49a567
comiss xmm6, xmm3
jbe 0x49a336
movaps xmm3, xmm6
movss dword [esp + 0x10], xmm3
comiss xmm4, xmm2
jbe 0x49a344
movaps xmm2, xmm4
movss dword [esp + 0x14], xmm2
comiss xmm1, xmm7
jbe 0x49a352
movaps xmm1, xmm7
movss dword [esp + 0x18], xmm1
comiss xmm0, xmm5
jbe 0x49a360
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.00484c90
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
call fcn.00484c90
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
call fcn.00484d80
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
call fcn.00484d80
cmp dword [esi + 0x10], 0
mov dword [esp + 0x3c], eax
jne 0x49a3cf
mov edx, ebx
lea ecx, [esp + 0x10]
call fcn.0049a200
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004d170a
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x30]
push eax
push esi
lea ecx, [esp + 0x48]
call fcn.00485eb0
cmp byte [esp + 0x7c], 0
jne 0x49a567
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 0x49a4d8
movss xmm5, dword [edi + 0xc]
movss xmm4, dword [edi + 4]
comiss xmm5, xmm4
jbe 0x49a4d8
comiss xmm3, xmm1
jae 0x49a4d8
comiss xmm2, xmm0
jae 0x49a4d8
comiss xmm7, xmm3
jbe 0x49a4d8
comiss xmm1, xmm6
jbe 0x49a4d8
comiss xmm5, xmm2
jbe 0x49a4d8
comiss xmm0, xmm4
jbe 0x49a4d8
comiss xmm6, xmm3
jbe 0x49a46f
movaps xmm3, xmm6
comiss xmm4, xmm2
jbe 0x49a477
movaps xmm2, xmm4
comiss xmm1, xmm7
jbe 0x49a47f
movaps xmm1, xmm7
comiss xmm0, xmm5
jbe 0x49a487
movaps xmm0, xmm5
movss xmm4, dword [0x526b10]
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.00499e70
add esp, 0x10
lea ecx, [esp + 0x40]
call fcn.00485f60
cmp byte [esp + 0x7c], 0
je 0x49a3f0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004d170a
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x526b10]
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.00499e70
add esp, 0x10
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d170a
mov esp, ebp
pop ebp
ret