Function at 0x180049480
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
cmp byte [0x18006d250], 0
mov rcx, qword [0x18006c078]
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
mov rax, qword [rcx + 0x3ed8]
movaps xmmword [rsp + 0x50], xmm13
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
mov rbx, qword [rax + 0x288]
jne 0x180049513
xor eax, eax
lea r8, [0x180016040]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x18006c078]
mov byte [0x18006d250], 1
mov rax, qword [rcx + 0x3ed8]
movss xmm0, dword [rcx + 0x37f8]
lea rcx, [rbp - 0x39]
movss xmm11, dword [0x1800619b8]
movss xmm10, dword [0x1800617b0]
movss xmm12, dword [rax + 0x18]
movss xmm13, dword [rax + 0x1c]
movaps xmm6, xmm12
addss xmm6, dword [0x180061990]
mulss xmm0, xmm11
movaps xmm9, xmm13
mov dword [rbp - 0x39], 0x3e008081
addss xmm9, dword [0x1800619fc]
movss dword [rbp + 0x6f], xmm12
cvttss2si eax, xmm0
mov dword [rbp - 0x35], 0x3e008081
mov dword [rbp - 0x31], 0x3e008081
movss dword [rbp + 0x67], xmm6
movss dword [rbp + 0x6b], xmm9
movss dword [rbp + 0x73], xmm13
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm10
movss dword [rbp - 0x2d], xmm1
call fcn.180009d20
movss xmm8, dword [0x180061904]
lea rdx, [rbp + 0x6f]
mov r9d, eax
mov dword [rsp + 0x28], 0x50
lea r8, [rbp + 0x67]
movss dword [rsp + 0x20], xmm8
mov rcx, rbx
call fcn.1800299c0
mov rax, qword [0x18006c078]
lea rcx, [rbp - 0x39]
movss dword [rbp + 0x67], xmm6
movss dword [rbp + 0x6b], xmm9
movss dword [rbp + 0x6f], xmm12
movss xmm0, dword [rax + 0x37f8]
mulss xmm0, xmm11
mov dword [rbp - 0x39], 0x3e48c8ca
movss dword [rbp + 0x73], xmm13
mov dword [rbp - 0x35], 0x3e48c8ca
cvttss2si eax, xmm0
mov dword [rbp - 0x31], 0x3e48c8ca
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm10
movss dword [rbp - 0x2d], xmm1
call fcn.180009d20
movss xmm7, dword [0x180061854]
lea r8, [rbp + 0x67]
movss dword [rsp + 0x30], xmm7
lea rdx, [rbp + 0x6f]
mov dword [rsp + 0x28], 0x50
mov r9d, eax
mov rcx, rbx
movss dword [rsp + 0x20], xmm8
call fcn.1800298b0
mov rax, qword [0x18006c078]
lea rcx, [rbp - 0x39]
movaps xmm6, xmm12
movss dword [rbp + 0x6b], xmm9
addss xmm6, dword [0x180061a08]
addss xmm12, dword [0x18006198c]
movss xmm0, dword [rax + 0x37f8]
mulss xmm0, xmm11
mov dword [rbp - 0x39], 0x3dd0d0d2
movss dword [rbp + 0x67], xmm6
movss dword [rbp + 0x6f], xmm12
cvttss2si eax, xmm0
mov dword [rbp - 0x35], 0x3dd0d0d2
mov dword [rbp - 0x31], 0x3dd0d0d2
movss dword [rbp + 0x73], xmm13
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm10
movss dword [rbp - 0x2d], xmm1
call fcn.180009d20
mov r9d, eax
mov dword [rsp + 0x28], 0xa0
lea r8, [rbp + 0x67]
movss dword [rsp + 0x20], xmm8
lea rdx, [rbp + 0x6f]
mov rcx, rbx
call fcn.1800299c0
mov rax, qword [0x18006c078]
lea rcx, [rbp - 0x39]
movss dword [rbp + 0x67], xmm6
movss dword [rbp + 0x6b], xmm9
movss dword [rbp + 0x6f], xmm12
movss xmm0, dword [rax + 0x37f8]
mulss xmm0, xmm11
mov dword [rbp - 0x39], 0x3e48c8ca
movss dword [rbp + 0x73], xmm13
mov dword [rbp - 0x35], 0x3e48c8ca
cvttss2si eax, xmm0
mov dword [rbp - 0x31], 0x3e48c8ca
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm10
movss dword [rbp - 0x2d], xmm1
call fcn.180009d20
movss dword [rsp + 0x30], xmm7
lea rdx, [rbp + 0x6f]
mov r9d, eax
mov dword [rsp + 0x28], 0xa0
lea r8, [rbp + 0x67]
movss dword [rsp + 0x20], xmm8
mov rcx, rbx
call fcn.1800298b0
mov rcx, qword [0x18006c078]
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rax, qword [rcx + 0x3ed8]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x64]
movss xmm2, dword [rax + 0x1c]
subss xmm2, dword [rax + 0x68]
addss xmm0, dword [0x180061928]
addss xmm2, dword [0x180061938]
movss dword [rax + 0xe0], xmm0
movss dword [rax + 0xe4], xmm2
movss xmm1, dword [rax + 0xf8]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xfc]
maxss xmm0, xmm2
movss dword [rax + 0xf8], xmm1
movss dword [rax + 0xfc], xmm0
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x64]
movss xmm2, dword [rax + 0x1c]
subss xmm2, dword [rax + 0x68]
addss xmm0, dword [0x180061940]
subss xmm2, dword [0x1800618f8]
movss dword [rax + 0xe0], xmm0
movss dword [rax + 0xe4], xmm2
movss xmm1, dword [rax + 0xf8]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xfc]
maxss xmm0, xmm2
movss dword [rax + 0xf8], xmm1
movss dword [rax + 0xfc], xmm0
mov rsp, r11
pop rbp
ret