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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov esi, dword [esp + 0x8c]
movss xmm4, dword [esp + 0x88]
mov eax, dword [esp + 0x78]
movss xmm0, dword [esp + 0x74]
movss xmm1, dword [esp + 0x70]
movss xmm2, dword [esp + 0x6c]
movss xmm3, dword [esp + 0x68]
mov ecx, dword [0x1025ad40]
xor ecx, esp
mov dword [esp + 0x50], ecx
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm0
mov ecx, dword [0x1025afd0]
mov edx, dword [ecx + 0x19e4]
mov byte [edx + 0x7c], 1
mov ebp, dword [ecx + 0x19e4]
cmp eax, 0xfeffffff
jbe 0x10085564
mov ecx, dword [ebp + 0x274]
mov dword [esp + 0x10], esi
movss dword [esp + 0xc], xmm4
mov dword [esp + 8], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.10061f10
sub esp, 0x14
jmp 0x10085873
mov ecx, eax
shr ecx, 0x18
xorps xmm0, xmm0
cvtsi2ss xmm0, ecx
movzx esi, al
lea ecx, [esi - 0xcc]
xorps xmm1, xmm1
cvtsi2ss xmm1, ecx
divss xmm0, dword [0x101a8294]
mulss xmm1, xmm0
movaps xmm2, xmm0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [0x101b1010]
addss xmm1, xmm0
cvttss2si ecx, xmm1
movzx ebx, ah
lea edx, [ebx - 0xcc]
xorps xmm1, xmm1
cvtsi2ss xmm1, edx
mulss xmm1, xmm2
addss xmm1, xmm0
cvttss2si edx, xmm1
shr eax, 0x10
movzx edi, al
lea eax, [edi - 0xcc]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
shl eax, 0x10
shl edx, 8
or edx, ecx
or edx, eax
or edx, 0xff000000
mov dword [esp], edx
call fcn.10049280
add esi, 0xffffff80
xorps xmm1, xmm1
cvtsi2ss xmm1, esi
mov dword [esp + 0x14], eax
movss xmm2, dword [esp + 0x20]
mulss xmm1, xmm2
movss xmm0, dword [0x101b1014]
addss xmm1, xmm0
cvttss2si eax, xmm1
add ebx, 0xffffff80
xorps xmm1, xmm1
cvtsi2ss xmm1, ebx
mulss xmm1, xmm2
addss xmm1, xmm0
cvttss2si ecx, xmm1
add edi, 0xffffff80
xorps xmm1, xmm1
cvtsi2ss xmm1, edi
mulss xmm1, xmm2
addss xmm1, xmm0
cvttss2si edx, xmm1
shl edx, 0x10
shl ecx, 8
or ecx, eax
or ecx, edx
or ecx, 0xff000000
mov dword [esp], ecx
call fcn.10049280
mov esi, eax
mov ecx, dword [ebp + 0x274]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x10], eax
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0xc], xmm0
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.10061f10
sub esp, 0x14
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x44]
ucomiss xmm1, xmm0
jbe 0x10085873
movss xmm5, dword [esp + 0x7c]
xor edi, edi
lea ebx, [esp + 0x30]
jmp 0x100856f6
movss xmm1, dword [esp + 0x44]
inc edi
movss xmm0, dword [esp + 0x18]
ucomiss xmm1, xmm0
jbe 0x10085873
movaps xmm4, xmm0
movss xmm0, dword [esp + 0x4c]
movaps xmm2, xmm1
minss xmm2, xmm4
movaps xmm6, xmm4
cmpltss xmm6, xmm0
movaps xmm3, xmm6
andnps xmm3, xmm2
andps xmm6, xmm0
orps xmm6, xmm3
addss xmm4, xmm5
movaps xmm7, xmm4
minss xmm7, xmm1
ucomiss xmm6, xmm7
movss dword [esp + 0x18], xmm4
jae 0x100856e6
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [esp + 0x80]
mov eax, edi
and eax, 1
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
mulss xmm4, xmm5
addss xmm4, xmm0
movss xmm0, dword [esp + 0x40]
ucomiss xmm0, xmm4
jbe 0x100856e6
movups xmmword [esp + 0x20], xmm6
movss dword [esp + 0x1c], xmm7
jmp 0x100857e0
mov ecx, dword [ebp + 0x274]
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm7
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm6
mov dword [esp + 0x10], eax
movss dword [esp + 0xc], xmm0
mov dword [esp + 8], esi
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.10061f10
sub esp, 0x14
movss xmm7, dword [esp + 0x1c]
movups xmm6, xmmword [esp + 0x20]
movss xmm0, dword [esp + 0x40]
movss xmm5, dword [esp + 0x7c]
movss xmm4, dword [esp + 0x14]
movaps xmm1, xmm5
addss xmm1, xmm5
addss xmm4, xmm1
ucomiss xmm0, xmm4
jbe 0x100856e0
movss dword [esp + 0x14], xmm4
movss xmm3, dword [esp + 0x48]
movaps xmm2, xmm0
minss xmm2, xmm4
movaps xmm1, xmm4
cmpltss xmm1, xmm3
movaps xmm4, xmm1
andnps xmm4, xmm2
andps xmm1, xmm3
orps xmm1, xmm4
movss xmm4, dword [esp + 0x14]
movaps xmm2, xmm4
addss xmm2, xmm5
minss xmm2, xmm0
ucomiss xmm1, xmm2
jae 0x100857cc
movss xmm4, dword [esp + 0x4c]
xor eax, eax
ucomiss xmm4, xmm6
movss xmm4, dword [esp + 0x88]
jb 0x10085843
xor eax, eax
ucomiss xmm3, xmm1
setae al
ucomiss xmm2, xmm0
jb 0x10085843
or eax, 2
ucomiss xmm7, dword [esp + 0x44]
jb 0x1008585b
lea ecx, [eax + 4]
ucomiss xmm3, xmm1
cmovae eax, ecx
ucomiss xmm2, xmm0
jb 0x1008585b
or eax, 8
xorps xmm0, xmm0
and eax, dword [esp + 0x8c]
je 0x10085770
movaps xmm0, xmm4
jmp 0x10085770
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.10157981
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret