Function at 0x140027db0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400b2048]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor r12d, r12d
mov qword [rcx], r12
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
movups xmmword [rcx + 0x48], xmm0
lea rsi, [rcx + 0x58]
mov qword [rsi], r12
lea r15, [rcx + 0x60]
mov qword [r15], r12
lea rdi, [rcx + 0x68]
mov qword [rdi], r12
mov qword [rcx + 0x70], r12
mov qword [rcx + 0x78], r12
mov qword [rcx + 0x80], r12
mov qword [rcx + 0x88], r12
mov qword [rcx + 0xc8], r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xd0], xmm0
lea ecx, [r12 + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xd4], xmm0
mov word [rbx + 0xd8], 0x100
mov qword [rbx + 0xdc], r12
mov qword [rbx + 0xe8], r12
lea rdx, str.NVIDIA_GeForce_Overlay
lea rcx, str.CEF_OSC_WIDGET
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx], rax
test rax, rax
je 0x140028145
lea edx, [r12 - 0x14]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
je 0x140028145
movsxd r8, eax
or r8, 0x20
lea edx, [r12 - 0x14]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
test rax, rax
je 0x140028145
mov qword [rbp - 0x10], 0xffffffffffffffff
mov qword [rbp - 8], 0xffffffffffffffff
lea rdx, [rbp - 0x10]
mov rcx, qword [rbx]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
test eax, eax
jne 0x140028145
lea r9d, [r12 + 2]
mov r8b, 0xff
xor edx, edx
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
test eax, eax
je 0x140028145
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [r12 - 1]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
je 0x140028145
lea edx, [r12 + 5]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_ShowWindow]
cmp qword [rbx], r12
jne 0x140027f73
lea rdx, str.invalid_window_handle
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140024cf0
lea rdx, [0x140024ec0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x10
call fcn.14006cec0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rbx + 0xe8], rax
mov qword [rbp - 0x6c], r12
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x80], r12
mov dword [rbp - 0x70], 0x1c
mov dword [rbp - 0x78], 0x3c
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x5c], 0x20
mov rax, qword [rbx]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x64], 1
mov qword [rbp - 0x48], 1
mov dword [rbp - 0x20], 0xb000
mov dword [rbp - 0x1c], 0xa000
mov qword [rsp + 0x58], r15
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x140028121
mov qword [rsp + 0x70], r12
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r9, [rsp + 0x70]
lea r8, [0x1400a46e8]
xor edx, edx
call qword [rax + 0x48]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140028072
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea r9, [rbx + 0x70]
xor r8d, r8d
call qword [rax + 0x48]
mov rdx, qword [rsp + 0x70]
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov edx, 1
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rbx
call fcn.140027330
mov ecx, 0x10
call fcn.14006cec0
mov qword [rax], rbx
lea rcx, [0x140028330]
mov qword [rax + 8], rcx
mov qword [rbp - 0x20], rax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400285b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140028110
cmp dword [rsp + 0x78], 0
je 0x140028104
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140028104
jmp 0x140028145
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x78], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rdx, str.failed_to_init_device
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140024cf0
lea rdx, [0x140024ec0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rax, rbx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14006cea0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret