Function at 0x140014090
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor esi, esi
lea rdx, str.NVIDIA_GeForce_Overlay
lea rcx, str.CEF_OSC_WIDGET
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x140021e98], rax
test rax, rax
jne 0x140014224
lea rdi, [0x140021e48]
cmp qword [0x140021e60], 0x10
cmovae rdi, qword [0x140021e48]
lea rbx, [0x140021e68]
cmp qword [0x140021e80], 0x10
cmovae rbx, qword [0x140021e68]
mov qword [rbp - 0x10], rsi
mov qword [rbp], rsi
mov qword [rbp + 0x28], rsi
mov dword [rbp - 0x20], 0x50
mov dword [rbp - 0x1c], 3
lea rax, [0x1400166a0]
mov qword [rbp - 0x18], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 8], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x18], rbx
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], rsi
mov rax, qword [rbp - 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov eax, dword [0x140021e28]
mov dword [rsp + 0x38], eax
mov eax, dword [0x140021e2c]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0x80000000
mov r8, rbx
mov rdx, rdi
mov ecx, 0x80028
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140021e98], rax
test rax, rax
jne 0x140014224
lea rax, [rbp - 0x70]
mov qword [rbp - 0x80], rax
lea rdx, str.Error_initializing_overlay_window
lea rcx, [rbp - 0x70]
call fcn.140002310
mov rbx, rax
lea rdx, str.overlay
lea rcx, [rbp - 0x50]
call fcn.140002310
nop
mov rdx, rbx
mov rcx, rax
call fcn.140012f90
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140016b80
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov edx, 0xffffffec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
movsxd r8, eax
or r8, 0x20
mov edx, 0xffffffec
mov rcx, qword [0x140021e98]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [rbp + 0x38], 0xffffffffffffffff
mov qword [rbp + 0x30], 0xffffffffffffffff
lea rdx, [rbp + 0x30]
mov rcx, qword [0x140021e98]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x140021e98]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
mov rcx, qword [0x140021e98]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 5
mov rcx, qword [0x140021e98]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rax, [rbp - 0x70]
mov qword [rbp + 0x30], rax
lea rdx, str._esp__Created_ESP_successfully
lea rcx, [rbp - 0x70]
call fcn.140002310
mov rbx, rax
lea rdx, str.overlay
lea rcx, [rbp - 0x50]
call fcn.140002310
nop
mov rdx, rbx
mov rcx, rax
call fcn.140012f90
lea r9, [0x140021e00]
xor r8d, r8d
lea rdx, [0x14001b850]
xor ecx, ecx
call qword [sym.imp.d2d1.dll_Ordinal_1]
test eax, eax
js 0x1400141ff
lea r8, [0x140021e10]
lea rdx, [0x14001b860]
xor ecx, ecx
call qword [sym.imp.DWrite.dll_DWriteCreateFactory]
test eax, eax
js 0x1400141ff
mov rcx, qword [0x140021e10]
mov rax, qword [rcx]
lea rdx, [0x140021df8]
mov qword [rsp + 0x40], rdx
lea rdx, str.en_us
mov qword [rsp + 0x38], rdx
movss xmm0, dword [0x14001b8a8]
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], esi
mov r9d, 0x190
xor r8d, r8d
lea rdx, str.Consolas
call qword [rax + 0x78]
lea rdx, [rbp + 0x30]
mov rcx, qword [0x140021e98]
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [rbp + 0x38]
sub edx, dword [rbp + 0x30]
mov ecx, dword [rbp + 0x3c]
sub ecx, dword [rbp + 0x34]
mov rax, qword [0x140021e98]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x6c], ecx
mov dword [rsp + 0x70], esi
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x50], xmm0
movsd xmm1, qword [rsp + 0x70]
movsd qword [rbp - 0x40], xmm1
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], 0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x70], xmm0
movsd xmm1, qword [rsp + 0x70]
movsd qword [rbp - 0x60], xmm1
mov dword [rbp - 0x58], esi
mov rcx, qword [0x140021e00]
mov rax, qword [rcx]
lea r9, [0x140021e08]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x70]
call qword [rax + 0x70]
test eax, eax
js 0x1400141ff
movaps xmm0, xmmword [0x14001b960]
movups xmmword [rbp - 0x80], xmm0
mov rcx, qword [0x140021e08]
mov rax, qword [rcx]
lea r9, [0x140021e30]
xor r8d, r8d
lea rdx, [rbp - 0x80]
call qword [rax + 0x40]
movaps xmm0, xmmword [0x14001b940]
movups xmmword [rbp - 0x30], xmm0
mov rcx, qword [0x140021e08]
mov rax, qword [rcx]
lea r9, [0x140021e20]
xor r8d, r8d
lea rdx, [rbp - 0x30]
call qword [rax + 0x40]
movaps xmm0, xmmword [0x14001b950]
movups xmmword [rsp + 0x60], xmm0
mov rcx, qword [0x140021e08]
mov rax, qword [rcx]
lea r9, [0x140021e18]
xor r8d, r8d
lea rdx, [rsp + 0x60]
call qword [rax + 0x40]
mov edx, 0x64
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x10
call fcn.140016ba0
mov qword [rax], rsi
lea rcx, [0x140013f10]
mov qword [rax + 8], rcx
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400155d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x40], rax
test rax, rax
je 0x140014674
mov ecx, 8
call fcn.140016ba0
lea rcx, [0x140013e20]
mov qword [rax], rcx
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140015600]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x140014665
cmp dword [rbp + 0x48], 0
je 0x140014659
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x48], eax
jne 0x140014552
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140014579
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
cmp dword [rbp + 0x58], 0
je 0x140014659
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400145ad
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
mov rcx, qword [0x140021e08]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140021e10]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140021e30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140021e20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140021e18]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140021e00]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rax, [rbp - 0x70]
mov qword [rbp + 0x30], rax
lea rdx, str.Shutted_down
lea rcx, [rbp - 0x70]
call fcn.140002310
mov rbx, rax
lea rdx, str.overlay
lea rcx, [rbp - 0x50]
call fcn.140002310
nop
mov rdx, rbx
mov rcx, rax
call fcn.140012f90
nop
cmp dword [rbp + 0x58], 0
je 0x140014648
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 0x48], 0
je 0x1400141ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x58], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x48], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3