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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x100b6004]
xor eax, esp
mov dword [esp + 0x144], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x11a22c18]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x20], eax
push esi
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x10037607
test edi, edi
je 0x10037607
cmp dword [edi + 0xb94], 0
je 0x10037607
cmp dword [0x11a07fa4], 0
xorps xmm2, xmm2
je 0x100375c8
mov eax, dword [0x100b8ea0]
movss xmm0, dword [eax + 0xc]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x100375c8
mov eax, dword [edi + 0x2ec]
test eax, 0x8000000
jne 0x100375c8
movss xmm0, dword [0x100aa724]
test al, 0x10
je 0x100369eb
movaps xmm5, xmm0
movss dword [esp + 8], xmm0
jmp 0x100369f9
movss xmm5, dword [0x100aa984]
movss dword [esp + 8], xmm5
movss xmm0, dword [edi + 0xb50]
movaps xmm1, xmm5
mulss xmm1, dword [0x100aa8d4]
xor eax, eax
xor edx, edx
mov dword [esp + 0xc], eax
movss xmm6, dword [edi + 0xb48]
xor esi, esi
movss xmm7, dword [edi + 0xb4c]
xorps xmm4, xmm4
subss xmm0, xmm1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
xorps xmm3, xmm3
movss dword [esp + 0x140], xmm6
movss dword [esp + 0x144], xmm7
mov dword [esp + 0x3c], 0
movss dword [esp + 0x148], xmm0
movss xmm0, dword [eax + 0x6c]
addss xmm0, dword [eax + 0x70]
movss dword [esp + 0x24], xmm4
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], edx
addss xmm0, dword [eax + 0x74]
movss dword [esp + 0x20], xmm3
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10036c48
mov eax, dword [0x11a5f1dc]
mov esi, dword [esp + 0x28]
test byte [eax + 0x10], 1
movss xmm0, dword [esi + 0x78]
je 0x10036aad
movss xmm1, dword [0x100aa95c]
jmp 0x10036ab5
movss xmm1, dword [0x100aa954]
mulss xmm0, xmm1
lea eax, [esp + 0x134]
push 8
push eax
lea eax, [esp + 0x148]
subss xmm6, xmm0
push eax
lea eax, [esp + 0xf4]
push eax
movss dword [esp + 0x144], xmm6
movss xmm0, dword [esi + 0x7c]
mulss xmm0, xmm1
subss xmm7, xmm0
movss dword [esp + 0x148], xmm7
movss xmm0, dword [esi + 0x80]
mulss xmm0, xmm1
movss xmm1, dword [edi + 0xb50]
subss xmm1, xmm0
movss dword [esp + 0x14c], xmm1
call dword [0x11a5f494]
add esp, 0x10
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0xa0], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0xb0], xmm0
movups xmm0, xmmword [eax + 0x30]
movd eax, xmm0
test eax, eax
jle 0x10036b62
lea ecx, [esp + 0x134]
push ecx
lea ecx, [esp + 0x144]
push ecx
push eax
jmp 0x10036b74
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x144]
push eax
push 0
call dword [0x11a5f488]
mov ecx, eax
add esp, 0xc
mov eax, dword [edi + 0xb94]
test dword [eax + 0x50], 0x400
jne 0x10036bda
xor edx, edx
xor esi, esi
mov dword [esp + 0x38], esi
xorps xmm4, xmm4
movss dword [esp + 0x24], xmm4
xorps xmm3, xmm3
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], edx
movss dword [esp + 0x20], xmm3
test ecx, ecx
je 0x10036c42
test byte [ecx + 8], 4
movss dword [esp + 0x24], xmm4
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], edx
movss dword [esp + 0x20], xmm3
je 0x10036c42
mov esi, dword [esp + 0x28]
movss xmm1, dword [esi + 0x78]
movss xmm0, dword [esi + 0x80]
movss dword [esp + 0x24], xmm1
movss xmm1, dword [esi + 0x7c]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x6c]
movss dword [esp + 0x20], xmm1
call fcn.10096e70
movss xmm0, dword [esi + 0x70]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], eax
call fcn.10096e70
movss xmm0, dword [esi + 0x74]
mov dword [esp + 0xc], eax
mov dword [esp + 0x34], eax
call fcn.10096e70
movss xmm3, dword [esp + 0x20]
mov esi, eax
movss xmm4, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], esi
movss xmm5, dword [esp + 8]
mov ecx, dword [esp + 0xc]
add ecx, edx
add ecx, esi
jne 0x100370db
movss xmm1, dword [0x100aa94c]
lea eax, [esp + 0x70]
movaps xmm0, xmm5
mulss xmm4, xmm1
lea edx, [esp + 0x134]
mulss xmm3, xmm1
lea ecx, [esp + 0x140]
push 0x113ec3cc
addss xmm4, dword [esp + 0x144]
mulss xmm0, xmm1
push 0x113ec3d8
addss xmm3, dword [esp + 0x14c]
push eax
addss xmm0, dword [esp + 0x154]
movss dword [esp + 0x140], xmm4
movss dword [esp + 0x144], xmm3
movss dword [esp + 0x148], xmm0
call fcn.1001fd90
mov edx, eax
add esp, 0xc
movups xmm0, xmmword [edx]
movups xmmword [esp + 0x30], xmm0
movss xmm0, dword [0x100b6fd0]
ucomiss xmm0, dword [0x100aa664]
lahf
test ah, 0x44
jnp 0x10036d22
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x34]
add eax, dword [esp + 0x30]
jne 0x10036d22
push 0x113ec3cc
lea eax, [esp + 0x84]
push 0x113ec3d8
push eax
lea edx, [esp + 0x14c]
lea ecx, [esp + 0x140]
call fcn.1001fd90
add esp, 0xc
movups xmm0, xmmword [eax]
jmp 0x10036d25
movups xmm0, xmmword [edx]
movss xmm2, dword [0x113ec3cc]
movss xmm1, dword [0x113ec3d0]
movaps xmmword [esp + 0x30], xmm0
xorps xmm0, xmm0
ucomiss xmm2, xmm0
movss dword [esp + 0x24], xmm2
movss xmm2, dword [0x113ec3d4]
lahf
movss dword [esp + 0x20], xmm1
test ah, 0x44
jp 0x100370c1
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100370c1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x100370c1
movss xmm1, dword [0x100aa8e0]
lea eax, [esp + 0x60]
movss xmm0, dword [esp + 0x140]
lea edx, [esp + 0x134]
subss xmm0, xmm1
push 0
push 0
push eax
lea ecx, [esp + 0x14c]
movss dword [esp + 0x14c], xmm0
movss xmm0, dword [esp + 0x150]
subss xmm0, xmm1
movss dword [esp + 0x150], xmm0
movss xmm0, dword [esp + 0x140]
subss xmm0, xmm1
movss dword [esp + 0x140], xmm0
movss xmm0, dword [esp + 0x144]
subss xmm0, xmm1
movss dword [esp + 0x144], xmm0
call fcn.1001fd90
push 0
push 0
lea edx, [esp + 0x148]
movups xmm1, xmmword [eax]
movaps xmm0, xmm1
psrldq xmm0, 8
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
add ecx, eax
movd eax, xmm1
add ecx, eax
lea eax, [esp + 0x74]
push eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100aaa30]
lea ecx, [esp + 0x158]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x100aa940]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x158]
addss xmm0, dword [0x100aa8f4]
movss dword [esp + 0x158], xmm0
movss xmm0, dword [esp + 0x14c]
addss xmm0, dword [0x100aa8f4]
movss dword [esp + 0x14c], xmm0
call fcn.1001fd90
push 0
push 0
lea edx, [esp + 0x154]
movups xmm1, xmmword [eax]
movaps xmm0, xmm1
psrldq xmm0, 8
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
add ecx, eax
movd eax, xmm1
add ecx, eax
lea eax, [esp + 0x80]
push eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100aaa30]
lea ecx, [esp + 0x164]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x100aa940]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x100aa8f4]
movss dword [esp + 0x168], xmm0
movss xmm0, dword [esp + 0x15c]
addss xmm0, dword [0x100aa8f4]
movss dword [esp + 0x15c], xmm0
call fcn.1001fd90
movups xmm1, xmmword [eax]
movaps xmm0, xmm1
lea edx, [esp + 0x158]
psrldq xmm0, 8
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
push 0
push 0
add ecx, eax
movd eax, xmm1
add ecx, eax
lea eax, [esp + 0x8c]
push eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100aaa30]
lea ecx, [esp + 0x170]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x100aa940]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x170]
subss xmm0, dword [0x100aa8f4]
movss dword [esp + 0x170], xmm0
movss xmm0, dword [esp + 0x164]
subss xmm0, dword [0x100aa8f4]
movss dword [esp + 0x164], xmm0
call fcn.1001fd90
movss xmm3, dword [esp + 0x50]
add esp, 0x30
movss xmm4, dword [esp + 0x2c]
subss xmm4, xmm3
movups xmm1, xmmword [eax]
addss xmm3, dword [esp + 0x2c]
movaps xmm0, xmm1
psrldq xmm0, 8
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
subss xmm4, dword [esp + 0x4c]
subss xmm3, dword [esp + 0x4c]
add ecx, eax
movd eax, xmm1
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100aaa30]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x100aa940]
addss xmm4, xmm0
subss xmm3, xmm0
movaps xmm1, xmm4
movss dword [esp + 0x24], xmm4
movaps xmm0, xmm3
mulss xmm1, xmm4
mulss xmm0, xmm3
movss dword [esp + 0x20], xmm3
addss xmm1, xmm0
movss xmm0, dword [esp + 8]
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10037073
sqrtsd xmm0, xmm0
jmp 0x10037078
call fcn.10098f60
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
ucomiss xmm2, dword [0x100aa664]
lahf
test ah, 0x44
jnp 0x1003709b
movss xmm0, dword [0x100aa724]
divss xmm0, xmm2
movaps xmm2, xmm0
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [esp + 0x20]
mulss xmm0, xmm2
mulss xmm1, xmm2
mulss xmm2, dword [esp + 8]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x20], xmm1
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
movss dword [esp + 8], xmm2
cmp dword [edi + 0x304], 0x15
jne 0x1003718d
mov eax, dword [edi + 0x3c0]
cmp eax, 0xa
je 0x1003718d
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movd xmm0, edx
divss xmm1, dword [0x100aa8d8]
shr edx, 0x1f
cvtdq2pd xmm0, xmm0
movss dword [esp + 0x2c], xmm1
addsd xmm0, qword [edx*8 + 0x100aaa30]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10096e70
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100aaa30]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x2c]
call fcn.10096e70
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
mov dword [esp + 0xc], eax
mov dword [esp + 0x34], eax
addsd xmm0, qword [esi*8 + 0x100aaa30]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x2c]
call fcn.10096e70
mov esi, eax
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x10]
mov eax, ecx
mov edx, dword [esp + 0xc]
shr eax, 0x1f
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100aaa30]
mov eax, edx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x50], xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100aaa30]
mov eax, esi
shr eax, 0x1f
cmp ecx, edx
cmova edx, ecx
cvtpd2ps xmm0, xmm0
cmp edx, esi
movss dword [esp + 0x4c], xmm0
movd xmm0, esi
cmova esi, edx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100aaa30]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x2c], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [edi + 0xba8], xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x100aaa30]
cvtpd2ps xmm0, xmm0
ucomiss xmm0, dword [0x100aa664]
movss dword [esp + 0x28], xmm0
lahf
test ah, 0x44
jp 0x10037244
movss xmm0, dword [0x100aa724]
movss dword [esp + 0x28], xmm0
movaps xmm2, xmm0
xor eax, eax
mulss xmm2, dword [esp + 0x24]
mov dword [esp + 0x24], eax
movss dword [esp + 0xc], xmm2
movaps xmm2, xmm0
mulss xmm2, dword [esp + 0x20]
mulss xmm0, dword [esp + 8]
movss dword [esp + 0x10], xmm2
movss dword [esp + 8], xmm0
push eax
call dword [0x11a5f470]
movsd xmm0, qword [0x11383370]
mov esi, eax
add esp, 4
movss xmm1, dword [esi + 0x14]
cvtps2pd xmm1, xmm1
comisd xmm0, xmm1
ja 0x10037405
mov ecx, dword [0x100b8ea8]
movss xmm0, dword [ecx + 0xc]
ucomiss xmm0, dword [0x100aa664]
lahf
test ah, 0x44
jnp 0x10037405
movss xmm0, dword [edi + 0xb4c]
subss xmm0, dword [esi + 4]
movss xmm2, dword [edi + 0xb48]
subss xmm2, dword [esi]
movss xmm3, dword [edi + 0xb50]
subss xmm3, dword [esi + 8]
movaps xmm1, xmm0
movss dword [esp + 0x54], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x20], xmm2
mulss xmm0, xmm2
movss dword [esp + 0x58], xmm3
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1003731d
sqrtsd xmm0, xmm0
jmp 0x10037322
call fcn.10098f60
movss xmm1, dword [esi + 0xc]
xorps xmm4, xmm4
movss xmm3, dword [0x100aa724]
cvtsd2ss xmm4, xmm0
subss xmm1, xmm4
comiss xmm1, dword [0x100aa664]
jbe 0x1003740d
comiss xmm4, xmm3
movaps xmm0, xmm1
movaps xmm2, xmm1
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
jbe 0x1003736a
divss xmm2, xmm4
movaps xmm4, xmm2
movaps xmm5, xmm2
jmp 0x10037370
movaps xmm4, xmm1
movaps xmm5, xmm1
movzx eax, byte [esi + 0x10]
mulss xmm1, dword [0x100aa694]
movss xmm6, dword [esp + 0x58]
movd xmm0, eax
movzx eax, byte [esi + 0x11]
cvtdq2ps xmm0, xmm0
mulss xmm5, dword [esp + 0x20]
mulss xmm0, xmm1
mulss xmm4, dword [esp + 0x54]
addss xmm0, dword [esp + 0x50]
addss xmm5, dword [esp + 0xc]
addss xmm4, dword [esp + 0x10]
mulss xmm6, xmm2
movss dword [esp + 0x50], xmm0
movd xmm0, eax
movzx eax, byte [esi + 0x12]
cvtdq2ps xmm0, xmm0
addss xmm6, dword [esp + 8]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm5
movss dword [esp + 0x10], xmm4
addss xmm0, dword [esp + 0x4c]
movss dword [esp + 8], xmm6
movss dword [esp + 0x4c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x2c], xmm0
jmp 0x1003741f
movss xmm3, dword [0x100aa724]
movss xmm5, dword [esp + 0xc]
movss xmm4, dword [esp + 0x10]
movss xmm6, dword [esp + 8]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, 0x20
jb 0x10037274
mov eax, dword [edi + 0xb94]
test dword [eax + 0x50], 0x100
je 0x1003744a
movss xmm2, dword [0x100aa700]
jmp 0x1003746a
mov eax, dword [0x100b8f00]
movss xmm0, dword [0x100aa704]
movss xmm2, dword [eax + 0xc]
comiss xmm2, xmm0
jb 0x10037467
minss xmm2, xmm3
jmp 0x1003746a
movaps xmm2, xmm0
movaps xmm0, xmm2
movaps xmm3, xmm2
mulss xmm0, xmm5
mulss xmm3, xmm4
movaps xmm1, xmm0
movss dword [esp + 0x58], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm2, xmm6
mulss xmm0, xmm3
movss dword [esp + 0x54], xmm3
movss dword [esp + 0xc], xmm2
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x100374bd
sqrtsd xmm0, xmm0
jmp 0x100374c2
call fcn.10098f60
movss xmm2, dword [esp + 0x28]
movaps xmm6, xmm0
movss xmm7, dword [esp + 0x50]
movss xmm4, dword [esp + 0x4c]
movaps xmm5, xmm7
mov ecx, dword [esp + 0x5c]
maxss xmm5, xmm4
cvttsd2si eax, xmm0
movss xmm3, dword [esp + 0x2c]
comiss xmm5, xmm3
mov dword [ecx + 4], eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm2, xmm1
cvttss2si edx, xmm2
mov dword [ecx], edx
ja 0x10037508
movaps xmm5, xmm3
movss xmm1, dword [0x100aa724]
xorps xmm0, xmm0
comiss xmm5, xmm0
movaps xmm2, xmm1
jbe 0x10037533
divss xmm2, xmm5
movaps xmm5, xmm2
mulss xmm5, xmm3
movaps xmm3, xmm2
mulss xmm3, xmm4
mulss xmm2, xmm7
jmp 0x10037539
movaps xmm5, xmm1
movaps xmm3, xmm1
movss dword [ecx + 8], xmm2
movss dword [ecx + 0xc], xmm3
movss dword [ecx + 0x10], xmm5
cmp edx, 0x80
jle 0x1003755b
mov dword [ecx], 0x80
mov edx, 0x80
add eax, edx
cmp eax, 0xff
jle 0x1003756e
mov eax, 0xff
sub eax, edx
mov dword [ecx + 4], eax
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm6
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x10037585
divss xmm1, xmm2
movaps xmm2, xmm1
mov eax, dword [ecx + 0x14]
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x58]
movss dword [eax], xmm0
movaps xmm0, xmm2
mov eax, dword [ecx + 0x14]
mulss xmm0, dword [esp + 0x54]
mulss xmm2, dword [esp + 0xc]
movss dword [eax + 4], xmm0
mov eax, dword [ecx + 0x14]
movss dword [eax + 8], xmm2
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.10048715
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x14]
mov dword [ecx + 4], 0
mov dword [ecx], 0xc0
mov dword [eax], 0
mov eax, dword [ecx + 0x14]
mov dword [eax + 4], 0
mov eax, dword [ecx + 0x14]
mov dword [eax + 8], 0xbf800000
mov dword [ecx + 8], 0x3f800000
mov dword [ecx + 0xc], 0x3f800000
mov dword [ecx + 0x10], 0x3f800000
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
xor ecx, esp
call fcn.10048715
mov esp, ebp
pop ebp
ret