Function at 0x14006fca0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rbp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.1400015b0
mov rdx, qword [0x1400f56a8]
add rdx, qword [0x1400f47a0]
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 8]
lea r8, [rsp + 0x40]
mov rcx, qword [0x1400f4798]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0x40]
add rdx, 8
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 8]
lea r8, [rsp + 0x30]
mov rcx, qword [0x1400f4798]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rcx, [rbx - 2]
call qword [sym.imp.USER32.dll_SetProcessDpiAwarenessContext]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [0x1400f4750]
call fcn.14008efe0
test al, al
jne 0x14006fd6d
lea eax, [rbx + 1]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14008fdb0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rbp
ret
call fcn.14008e640
test al, al
jne 0x14006fd7d
mov eax, 2
jmp 0x14006fd50
mov byte [0x1400f56d8], 1
mov ecx, 1
call fcn.14008fef0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140070d80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14006ffdc
cmp dword [rsp + 0x38], ebx
je 0x14006ffd0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14006ffd0
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea ecx, [rax + 1]
call fcn.14008fef0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140070db0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14006ffc0
cmp dword [rsp + 0x38], ebx
je 0x14006ffb4
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14006ffb4
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea ecx, [rax + 8]
call fcn.14008fef0
lea rcx, [rsp + 0x50]
mov qword [rax], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140070de0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14006ffa4
cmp dword [rsp + 0x38], ebx
je 0x14006ff98
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14006ff98
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea ecx, [rax + 1]
call fcn.14008fef0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140070eb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14006ff88
cmp dword [rsp + 0x38], ebx
je 0x14006ff7c
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14006ff7c
call fcn.14006fff0
call fcn.14008e960
mov rcx, qword [0x1400f4798]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [0x1400f5af0]
test rbx, rbx
je 0x14006ff75
lea r9, [0x140001680]
mov r8, qword [rbx - 8]
mov edx, 0x240
mov rcx, rbx
call fcn.1400901a0
lea rcx, [rbx - 8]
mov rax, qword [rcx]
lea rdx, [rax + rax*8]
shl rdx, 6
add rdx, 8
call fcn.1400903ec
nop
xor eax, eax
jmp 0x14006fd50
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3