Function at 0x10064c80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x101e0c0c]
sub esp, 0x48
push ebx
push esi
push edi
cmp edx, dword [eax + 0x1aa0]
jne 0x10065078
cmp byte [eax + 0x1afe], 0
mov ebx, dword [ebp + 8]
je 0x10064caf
test bl, 4
je 0x10065078
mov edi, dword [eax + 0x198c]
cmp byte [edi + 0x144], 0
jne 0x10065078
xorps xmm1, xmm1
test bl, 8
je 0x10064cd1
movss dword [ebp - 0x10], xmm1
jmp 0x10064cde
movss xmm0, dword [eax + 0x153c]
movss dword [ebp - 0x10], xmm0
movss xmm7, dword [edi + 0x1cc]
movss xmm6, dword [edi + 0x1d0]
movss xmm2, dword [edi + 0x1d8]
movss xmm3, dword [0x10162728]
movss xmm4, dword [0x10162960]
movss xmm5, dword [0x101626c8]
movups xmm0, xmmword [ecx]
maxss xmm7, xmm0
movups xmmword [ebp - 0x38], xmm0
shufps xmm0, xmm0, 0x55
maxss xmm6, xmm0
movss xmm0, dword [edi + 0x1d4]
movss dword [ebp - 0x38], xmm7
minss xmm0, dword [ebp - 0x30]
minss xmm2, dword [ebp - 0x2c]
movss dword [ebp - 0x34], xmm6
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x2c], xmm2
test bl, 1
je 0x10064fa8
movss xmm0, dword [0x10162814]
movss xmm3, dword [ebp - 0xc]
subss xmm7, xmm0
addss xmm3, xmm0
subss xmm6, xmm0
addss xmm2, xmm0
comiss xmm7, dword [edi + 0x1cc]
movss dword [ebp - 0xc], xmm3
movss dword [ebp - 0x30], xmm3
movss xmm3, dword [0x10162728]
movss dword [ebp - 0x1c], xmm7
movss dword [ebp - 0x38], xmm7
movss dword [ebp - 0x18], xmm6
movss dword [ebp - 0x34], xmm6
movss dword [ebp - 0x24], xmm2
movss dword [ebp - 0x2c], xmm2
jb 0x10064dd8
comiss xmm6, dword [edi + 0x1d0]
jb 0x10064dd8
movss xmm0, dword [edi + 0x1d4]
comiss xmm0, dword [ebp - 0xc]
jb 0x10064dd8
movss xmm0, dword [edi + 0x1d8]
comiss xmm0, xmm2
jb 0x10064dd8
mov byte [ebp - 5], 1
jmp 0x10064e72
comiss xmm7, dword [ebp - 0xc]
mov eax, dword [edi + 0x274]
mov byte [ebp - 5], 0
mov dword [ebp - 0x14], eax
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ebp - 0x48], xmm0
jb 0x10064df8
movss dword [ebp - 0x40], xmm7
comiss xmm6, xmm2
jb 0x10064e02
movss dword [ebp - 0x3c], xmm6
mov ecx, dword [eax + 0x3c]
lea esi, [eax + 0x3c]
mov ebx, dword [esi + 4]
cmp ecx, ebx
jne 0x10064e33
inc ecx
test ebx, ebx
je 0x10064e1f
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ebx
jmp 0x10064e24
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10082300
mov ecx, dword [esi]
mov eax, dword [esi + 8]
add ecx, ecx
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [eax + ecx*8], xmm0
mov ecx, dword [ebp - 0x14]
inc dword [esi]
call fcn.1007ba20
movss xmm3, dword [0x10162728]
xorps xmm1, xmm1
movss xmm4, dword [0x10162960]
movss xmm5, dword [0x101626c8]
movss xmm6, dword [ebp - 0x18]
movss xmm7, dword [ebp - 0x1c]
mov ebx, dword [ebp + 8]
mov eax, dword [0x101e0c0c]
movups xmm0, xmmword [eax + 0x1868]
comiss xmm1, xmm0
movaps xmm2, xmm0
shufps xmm2, xmm0, 0xff
mulss xmm2, dword [eax + 0x1500]
movups xmmword [ebp - 0x48], xmm0
jbe 0x10064e9b
xorps xmm0, xmm0
jmp 0x10064e9f
minss xmm0, xmm3
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si ecx, xmm0
movss xmm0, dword [ebp - 0x44]
comiss xmm1, xmm0
jbe 0x10064eba
xorps xmm0, xmm0
jmp 0x10064ebe
minss xmm0, xmm3
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x40]
shl eax, 8
or ecx, eax
comiss xmm1, xmm0
jbe 0x10064ede
xorps xmm0, xmm0
jmp 0x10064ee2
minss xmm0, xmm3
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm2
jbe 0x10064efd
xorps xmm2, xmm2
jmp 0x10064f01
minss xmm2, xmm3
movss xmm0, dword [ebp - 0xc]
addss xmm7, xmm3
mulss xmm2, xmm4
subss xmm0, xmm3
push ecx
mov dword [esp], 0x40000000
addss xmm6, xmm3
push 0xf
addss xmm2, xmm5
movss dword [ebp - 0x28], xmm7
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x24]
subss xmm0, xmm3
movss dword [ebp - 0x24], xmm6
push ecx
cvttss2si eax, xmm2
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x10]
shl eax, 0x18
or eax, ecx
movss dword [esp], xmm0
mov ecx, dword [edi + 0x274]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1007d6f0
cmp byte [ebp - 5], 0
jne 0x10064f8d
mov ecx, dword [edi + 0x274]
mov eax, dword [ecx + 0x3c]
test eax, eax
jg 0x10064f84
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
dec eax
mov dword [ecx + 0x3c], eax
call fcn.1007ba20
movss xmm5, dword [0x101626c8]
xorps xmm1, xmm1
movss xmm4, dword [0x10162960]
movss xmm3, dword [0x10162728]
test bl, 2
je 0x10065078
mov eax, dword [0x101e0c0c]
movups xmm0, xmmword [eax + 0x1868]
comiss xmm1, xmm0
movaps xmm2, xmm0
shufps xmm2, xmm0, 0xff
mulss xmm2, dword [eax + 0x1500]
movups xmmword [ebp - 0x48], xmm0
jbe 0x10064fda
xorps xmm0, xmm0
jmp 0x10064fde
minss xmm0, xmm3
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si ecx, xmm0
movss xmm0, dword [ebp - 0x44]
comiss xmm1, xmm0
jbe 0x10064ff9
xorps xmm0, xmm0
jmp 0x10064ffd
minss xmm0, xmm3
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x40]
shl eax, 8
or ecx, eax
comiss xmm1, xmm0
jbe 0x1006501d
xorps xmm0, xmm0
jmp 0x10065021
minss xmm0, xmm3
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm2
ja 0x1006503e
minss xmm2, xmm3
movaps xmm1, xmm2
movss xmm0, dword [ebp - 0x10]
mulss xmm1, xmm4
push ecx
mov dword [esp], 0x3f800000
push 0xffffffffffffffff
addss xmm1, xmm5
push ecx
movss dword [esp], xmm0
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x274]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1007d6f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret