Function at 0x140049360
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
xor ebx, ebx
cmp qword [0x1401a67c0], rbx
jne 0x1400493a5
mov r8d, 0xb4f
lea rdx, [0x1400c6850]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm7, dword [0x1400d55ec]
movaps xmm2, xmm7
movss xmm8, dword [0x1400d56c8]
movaps xmm1, xmm8
movss xmm0, dword [0x1400d5708]
call fcn.140044250
movss xmm6, dword [0x1400d5624]
cmp dword [0x1401a67cc], ebx
jne 0x140049445
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
movaps xmm1, xmmword [0x1400d5a10]
movups xmmword [rbp + 0x17], xmm1
mov dword [rbp + 0x67], 0x3f800000
mov dword [rbp + 0x6b], 0x3f800000
mov qword [rbp + 0x6f], rbx
mov dword [rbp + 0x77], 0x43960000
mov dword [rbp + 0x7b], 0x43290000
lea rax, [rbp + 7]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1401a6808]
call fcn.140038a40
mov rax, qword [0x1401a67c0]
test rax, rax
jne 0x140049472
mov r8d, 0xfd7
lea rdx, [0x1400c6850]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x1401a67c0]
movss xmm2, dword [rax + 0x18]
mulss xmm2, dword [0x1400d5650]
movzx ecx, byte [0x1401a67bc]
comiss xmm8, dword [0x1401a67f4]
jbe 0x14004949e
test cl, cl
je 0x14004949e
movss xmm0, dword [0x1400d5714]
jmp 0x1400494a6
movss xmm0, dword [0x1400d5728]
movss xmm1, dword [0x14012fa44]
subss xmm0, xmm1
mulss xmm0, xmm2
addss xmm1, xmm0
movss dword [0x14012fa44], xmm1
movss xmm0, dword [0x1400d5720]
movss xmm8, dword [0x1400d56ac]
comiss xmm0, xmm1
jbe 0x14004958c
movaps xmm2, xmm7
movaps xmm0, xmm8
call fcn.140044250
mov rax, qword [0x1401a67c0]
movss xmm0, dword [0x1401a6ce8]
movss dword [rbp + 7], xmm0
movss xmm1, dword [0x1401a6cec]
movss dword [rbp + 0xb], xmm1
movss xmm0, dword [0x1401a6cf0]
movss dword [rbp + 0xf], xmm0
movss xmm1, dword [0x1401a6cf4]
mulss xmm1, dword [rax + 0x37e0]
movss dword [rbp + 0x13], xmm1
lea rcx, [rbp + 7]
call fcn.140003f20
mov dword [rbp + 0x67], 0x3f800000
mov dword [rbp + 0x6b], 0x3f800000
mov qword [rbp + 0x6f], rbx
mov dword [rbp + 0x77], 0x42200000
mov dword [rbp + 0x7b], 0x42200000
movss xmm0, dword [0x1400d55c0]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x67]
lea r8, [rbp + 0x6f]
lea rdx, [rbp + 0x77]
mov rcx, qword [0x1401a6818]
call fcn.1400384d0
movzx ecx, byte [0x1401a67bc]
mov rax, qword [0x1401a67c0]
test cl, cl
je 0x140049622
test rax, rax
jne 0x1400495c1
mov r8d, 0xfd7
lea rdx, [0x1400c6850]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx ecx, byte [0x1401a67bc]
mov rax, qword [0x1401a67c0]
divss xmm6, dword [rax + 0xe0]
mulss xmm6, xmm8
addss xmm6, dword [0x1401a67f4]
movss dword [0x1401a67f4], xmm6
test cl, cl
je 0x140049622
comiss xmm6, dword [0x1400d56e0]
jbe 0x140049622
mov eax, dword [0x1401a6824]
cmp eax, 2
jbe 0x14004960c
cmp eax, 3
jne 0x140049607
mov dword [0x1401a67f8], 4
jmp 0x140049616
cmp eax, 4
jne 0x140049616
mov dword [0x1401a67f8], 3
mov dword [0x1401a67f4], ebx
mov byte [0x1401a67bc], bl
movaps xmm2, xmm7
movss xmm6, dword [0x1400d5724]
movaps xmm1, xmm6
movss xmm0, dword [0x1400d5710]
call fcn.140044250
mov dword [rbp + 0x67], 0x43070000
mov dword [rbp + 0x6b], 0x420c0000
lea rdx, [rbp + 0x67]
lea rcx, str.Inject
call fcn.140036d30
test al, al
je 0x1400496c8
mov ecx, 1
call fcn.1400b2f84
mov qword [rbp + 0x67], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140050d80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 7], rax
test rax, rax
je 0x140049785
cmp dword [rbp + 0xf], 0
je 0x140049779
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140049779
xorps xmm0, xmm0
movdqa xmmword [rbp + 7], xmm0
movaps xmm2, xmm7
movaps xmm1, xmm6
movss xmm0, dword [0x1400d5764]
call fcn.140044250
mov dword [rbp + 0x67], 0x430c0000
mov dword [rbp + 0x6b], 0x420c0000
lea rdx, [rbp + 0x67]
lea rcx, str.Cleaner
call fcn.140036d30
test al, al
je 0x140049759
mov byte [0x1401a67bc], 1
mov ecx, 1
call fcn.1400b2f84
mov qword [rbp + 0x67], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140050e40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 7], rax
test rax, rax
je 0x1400497a0
cmp dword [rbp + 0xf], 0
je 0x140049794
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140049794
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0xf], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0xf], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3