Function at 0x14003b5e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov r15, r9
mov rbp, r8
mov r14, rdx
mov rsi, qword [0x140082d90]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdx
mov ecx, 0x10
call fcn.14003f8c8
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14003f000]
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 0x14003b83b
cmp dword [rsp + 0x38], 0
je 0x14003b82f
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 0x14003b82f
mov edx, 0xffffffec
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongA]
btr eax, 0x13
mov r8d, eax
mov edx, 0xffffffec
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 0xffffffec
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongA]
bts eax, 0x13
mov r8d, eax
mov edx, 0xffffffec
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_SetWindowLongA]
nop word [rax + rax]
call fcn.14002c0e0
mov rax, qword [0x140082900]
test rax, rax
je 0x14003b6fa
mov rcx, qword [rax + 0xa8]
jmp 0x14003b6fc
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x14003b708
call fcn.14002b310
call fcn.1400054c0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [r14]
jne 0x14003b7b2
mov rcx, qword [rsi + 0x38]
mov qword [rsp + 0x80], rcx
mov rbx, qword [0x140082900]
mov rdi, rcx
test rcx, rcx
jne 0x14003b756
mov rcx, qword [rbx + 0x70]
test rcx, rcx
jne 0x14003b74b
mov rax, qword [rbx + 0x60]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
mov qword [rsp + 0x80], rcx
mov rdi, rcx
call fcn.14000e240
lea rcx, [rbx + 0x4850]
lea rdx, [rsp + 0x80]
call fcn.140017690
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rbx + 0x3ee8]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x2a0]
call fcn.14001f890
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x14003b828
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp byte [rsi + 8], 0
je 0x14003b7b2
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14003b828
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsi]
call fcn.1400074f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
xor r9d, r9d
mov r8, rbx
mov edx, 1
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov rdx, qword [rbx]
call qword [rax + 0x190]
mov rax, qword [0x140082900]
mov rcx, qword [rax + 0x48c0]
mov rax, qword [rcx]
add rax, 0x48
xor ecx, ecx
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002a8e0
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 1
call qword [rax + 0x40]
jmp 0x14003b6e0
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3