Function at 0x14003f760
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 [0x140087dc8]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdx
mov ecx, 0x10
call fcn.140043ba8
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, [0x1400432e0]
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 0x14003f9bb
cmp dword [rsp + 0x38], 0
je 0x14003f9af
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 0x14003f9af
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.14002eb10
mov rax, qword [0x140087930]
test rax, rax
je 0x14003f87a
mov rcx, qword [rax + 0xa8]
jmp 0x14003f87c
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x14003f888
call fcn.14002dd40
call fcn.140006b60
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [r14]
jne 0x14003f932
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x80], rcx
mov rbx, qword [0x140087930]
mov rdi, rcx
test rcx, rcx
jne 0x14003f8d6
mov rcx, qword [rbx + 0x70]
test rcx, rcx
jne 0x14003f8cb
mov rax, qword [rbx + 0x60]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
mov qword [rsp + 0x80], rcx
mov rdi, rcx
call fcn.14000f910
lea rcx, [rbx + 0x4850]
lea rdx, [rsp + 0x80]
call fcn.140019ae0
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rbx + 0x3ee8]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x2a0]
call fcn.140022240
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x14003f9a8
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp byte [rsi + 8], 0
je 0x14003f932
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14003f9a8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsi]
call fcn.140008ba0
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 + 0x108]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov rdx, qword [rbx]
call qword [rax + 0x190]
mov rax, qword [0x140087930]
mov rcx, qword [rax + 0x48c0]
mov rax, qword [rcx]
add rax, 0x48
xor ecx, ecx
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002d310
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 1
call qword [rax + 0x40]
jmp 0x14003f860
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