Function at 0x180070dd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1800b53b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor esi, esi
mov rax, qword [0x1800de6e8]
mov edi, dword [rax]
cmp byte [rax + 0x48], sil
je 0x180070fe2
lea rbp, [0x18006f410]
nop
cmp byte [rax + 0x49], 0
je 0x180070e5c
mov dword [rsp + 0x30], 0x18
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x180070e4e
mov rax, qword [rsp + 0x38]
add rax, 0xffffffffffff3caf
cmp rax, 0xc34e
jbe 0x180070e57
cmp byte [0x1800b5402], 0
jne 0x180070e5c
call fcn.180060d60
lea rcx, [0x1800dfaf0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x180071044
mov rbx, qword [0x1800de6f8]
lea rcx, [0x1800dfaf0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rbx, rbx
je 0x180070ef6
lea rcx, [0x1800dfaf0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x18007101b
mov rbx, qword [0x1800de6f8]
lea rcx, [0x1800dfaf0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rbx, rbx
jne 0x180070ebb
mov rbx, rsi
movzx ebx, byte [rbx]
movzx edx, byte [0x1800b5402]
cmp dl, bl
jne 0x180070ee8
test dl, dl
sete dl
mov byte [0x1800b5402], dl
test edi, edi
je 0x180070ee8
mov rax, qword [0x1800e2370]
mov rcx, qword [rax + 8]
call fcn.18005e690
test bl, bl
je 0x180070ef6
call fcn.18003ed90
call fcn.18003dc60
cmp byte [0x1800b5402], 0
jne 0x180070f07
xor ecx, ecx
call qword [sym.imp.USER32.dll_ClipCursor]
test edi, edi
je 0x180070fc6
mov rax, qword [0x1800de6e8]
cmp byte [rax + 0xe0], 0
je 0x180070fc6
cmp byte [rax + 0xf0], 0
jne 0x180070f39
cmp byte [rax + 0xf1], 0
je 0x180070fc6
cmp byte [0x1800de717], 0
jne 0x180070fc6
mov ecx, 8
call fcn.180076110
mov qword [rax], rbp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1800631b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180071034
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x180070fbb
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x180071024
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov byte [0x1800de717], 1
test eax, eax
jne 0x18007102d
mov ecx, 0x19
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x1800de6e8]
cmp byte [rax + 0x48], 0
jne 0x180070e10
test edi, edi
je 0x180070ff8
mov dl, 1
mov rcx, qword [0x1800e2370]
mov rcx, qword [rcx + 8]
call fcn.18005e690
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800759c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x58], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3