Function at 0x140001820
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 - 0x37]
sub rsp, 0xf0
mov rax, qword [0x14005a040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, 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
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x90], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x94], xmm0
mov word [rbx + 0x98], r12w
mov byte [rbx + 0x9a], 1
mov qword [rbx + 0x9c], r12
mov qword [rbx + 0xa8], r12
lea rdx, str.NVIDIA_GeForce_Overlay
lea rcx, str.CEF_OSC_WIDGET
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx], rax
mov edx, 0xffffffec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x20
mov r8d, eax
mov edx, 0xffffffec
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetWindowLongA]
xor eax, eax
mov qword [rbp + 0x23], rax
mov qword [rbp + 0x1f], 0xffffffffffffffff
mov qword [rbp + 0x27], 0xffffffffffffffff
lea rdx, [rbp + 0x1f]
mov rcx, qword [rbx]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetWindowPos]
cmp qword [rbx], r12
je 0x140001b86
mov ecx, 0x10
call fcn.140048ec0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rbx + 0xa8], rax
mov qword [rbp - 0x35], r12
mov qword [rbp - 0x21], 2
mov qword [rbp - 9], 2
mov qword [rbp - 0x49], r12
mov dword [rbp - 0x39], 0x1c
mov dword [rbp - 0x41], 0x3c
mov dword [rbp - 0x3d], 1
mov dword [rbp - 0x25], 0x20
mov rax, qword [rbx]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x2d], 1
mov qword [rbp - 0x11], 1
mov dword [rbp + 7], 0xb000
mov dword [rbp + 0xb], 0xa000
mov qword [rsp + 0x58], r15
lea rax, [rbp + 0x17]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 0x49]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x140001b86
mov qword [rbp - 0x59], r12
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r9, [rbp - 0x59]
lea r8, [0x14004b960]
xor edx, edx
call qword [rax + 0x48]
mov rdx, qword [rbp - 0x59]
test rdx, rdx
je 0x140001a82
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea r9, [rbx + 0x70]
xor r8d, r8d
call qword [rax + 0x48]
mov rdx, qword [rbp - 0x59]
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.1400013c0
mov ecx, 0x10
call fcn.140048ec0
mov qword [rax], rbx
lea rcx, [0x140005080]
mov qword [rax + 8], rcx
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140006000]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x59], rax
test rax, rax
je 0x140001bd9
cmp dword [rbp - 0x51], 0
je 0x140001bcd
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140001bcd
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x59], xmm0
mov ecx, 0x10
call fcn.140048ec0
mov qword [rax], rbx
lea rcx, [0x140005150]
mov qword [rax + 8], rcx
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140006000]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x59], rax
test rax, rax
je 0x140001bbd
cmp dword [rbp - 0x51], 0
je 0x140001bb1
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140001bb1
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140048ea0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x51], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x51], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3