Function at 0x1400299b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140038040]
xor rax, rsp
mov qword [rbp], rax
mov rdx, qword [rdx + 8]
lea rcx, [rbp - 0x28]
call fcn.140029d90
nop
lea rcx, [rbp - 0x28]
mov rbx, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x10]
cmp rdi, 0xf
cmova rcx, rbx
mov r8, qword [rbp - 0x18]
cmp r8, 0xa
jne 0x140029c41
lea rdx, str.9wypNP6ehK
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140029c41
lea rdx, str.NVIDIA_GeForce_Overlay
lea rcx, str.CEF_OSC_WIDGET
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [0x140038780], rax
xor ebx, ebx
test rax, rax
je 0x140029ae2
mov edx, 0xffffffec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
movsxd r8, eax
or r8, 0x20
mov edx, 0xffffffec
mov rcx, qword [0x140038780]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [rbp - 0x48], 0xffffffffffffffff
mov qword [rbp - 0x50], 0xffffffffffffffff
lea rdx, [rbp - 0x50]
mov rcx, qword [0x140038780]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x140038780]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
mov rcx, qword [0x140038780]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 5
mov rcx, qword [0x140038780]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [0x140038780]
mov qword [rsp + 0x74], rbx
mov qword [rbp - 0x78], 2
mov qword [rbp - 0x60], 2
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x70], 0x1c
mov dword [rsp + 0x68], 0x3c
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x7c], 0x20
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x7c], 1
mov qword [rbp - 0x68], 1
mov dword [rbp - 8], 0xb000
mov dword [rbp - 4], 0xa000
lea rax, [0x140038790]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
lea rax, [0x140038788]
mov qword [rsp + 0x48], rax
lea rax, [0x140038798]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp - 8]
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 0x140029be4
mov rcx, qword [0x140038798]
mov rax, qword [rcx]
lea r9, [rbp - 0x50]
lea r8, [0x140032700]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140038788]
mov rax, qword [rcx]
lea r9, [0x1400387a0]
xor r8d, r8d
mov rdx, qword [rbp - 0x50]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
call fcn.140029eb0
call fcn.14002a1d0
call fcn.14002a260
call fcn.140029cb0
xor r8d, r8d
xor edx, edx
lea rcx, str.Hello
call fcn.14000cad0
lea rcx, str.Hello_from_another_window_
call fcn.140028140
lea rdx, str.fasf
lea rcx, [rbp - 0x50]
call fcn.140029d90
nop
call fcn.14002a260
call fcn.14002a210
call fcn.14000ecc0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
cmp rdi, 0xf
jbe 0x140029c7b
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140029c73
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029c73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002a344
mov eax, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14002a2c0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret