Function at 0x140049280
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x150
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor esi, esi
mov byte [0x140062c4c], 1
mov byte [0x140062c2b], sil
mov dword [0x140062b70], 0x50
mov dword [0x140062b74], 0x40
lea rax, [0x14004bd70]
mov qword [0x140062b78], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x140062b88], rax
lea rax, str.carlgwastaken
mov qword [0x140062bb0], rax
lea rcx, [0x140062b70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rdi, qword [0x140062b88]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0x80000000
lea r8, str.cheat
mov rdx, qword [0x140062bb0]
mov ecx, 0x800a8
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140062bd8], rax
test rax, rax
jne 0x14004938f
lea rcx, str.Failed_to_create_Overlay_n
call fcn.140001340
mov rax, qword [0x140062bd8]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x20], xmm1
lea rdx, [rbp - 0x30]
mov rcx, qword [0x140062bd8]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp - 0x20]
mov rcx, qword [0x140062bd8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov qword [rbp + 0x10], rsi
lea rdx, [rbp + 0x10]
mov rcx, qword [0x140062bd8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x10]
mov dword [rbp - 0x40], eax
mov eax, dword [rbp + 0x14]
mov dword [rbp - 0x3c], eax
mov eax, dword [rbp - 0x28]
mov dword [rbp - 0x38], eax
mov eax, dword [rbp - 0x24]
mov dword [rbp - 0x34], eax
lea rdx, [rbp - 0x40]
mov rcx, qword [0x140062bd8]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
mov rcx, qword [0x140062bd8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140062bd8]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rcx, str._____Overlay_Created_n
call fcn.140001340
mov qword [rbp - 0x7c], rsi
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x70], rsi
mov dword [rbp - 0x80], 0x1c
mov dword [rsp + 0x78], 0x3c
mov dword [rsp + 0x7c], 1
mov dword [rbp - 0x6c], 0x20
mov rax, qword [0x140062bd8]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x74], 1
mov qword [rbp - 0x58], 1
mov dword [rbp - 0x30], 0xb000
mov dword [rbp - 0x2c], 0xa000
lea rdi, [0x140062bd0]
mov qword [rsp + 0x58], rdi
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
lea r14, [0x140062bc0]
mov qword [rsp + 0x48], r14
lea r15, [0x140062bc8]
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov ebx, eax
cmp eax, 0x887a0004
jne 0x140049564
mov qword [rsp + 0x58], rdi
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov ebx, eax
lea rcx, str._____DXGI_ERROR__Created_with_D3D_DRIVER_TYPE_WARP_n
call fcn.140001340
test ebx, ebx
je 0x140049571
lea rcx, str.Device_Not_Okay_n
jmp 0x1400495c9
mov qword [rbp - 0x40], rsi
mov rcx, qword [0x140062bc8]
mov rax, qword [rcx]
lea r9, [rbp - 0x40]
lea r8, [0x140058630]
xor edx, edx
call qword [rax + 0x48]
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x1400495c2
mov rcx, qword [0x140062bc0]
mov rax, qword [rcx]
lea r9, [0x140062be0]
xor r8d, r8d
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, str._____Created_Device_n
jmp 0x1400495c9
lea rcx, str._____Failed_to_create_Device_n
call fcn.140001340
mov rbx, qword [0x140062b60]
mov ecx, 0x6198
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x140062b60]
test r8, r8
je 0x14004964e
mov r10d, dword [r8 + 0x3f60]
movsx rax, word [r8 + 0x6048]
lea rdx, [r8 + 0x604c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x140049643
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6048], cx
movsx rax, cx
lea rdx, [r8 + 0x604c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], esi
inc word [rdx + 4]
inc dword [r8 + 0x6040]
mov qword [rbp - 0x40], r9
lea rax, [rsp + 0x60]
mov qword [rbp - 0x30], rax
mov qword [rbp + 0x10], r9
test r9, r9
je 0x140049670
xor edx, edx
mov rcx, r9
call fcn.140001640
jmp 0x140049673
mov rax, rsi
mov qword [0x140062b60], rax
call fcn.1400062a0
test rbx, rbx
je 0x14004968b
mov qword [0x140062b60], rbx
xor ecx, ecx
call fcn.140025b80
mov rcx, qword [0x140062bd8]
call fcn.140030880
test al, al
jne 0x1400496ab
lea rcx, str.Failed_ImGui_ImplWin32_Init_n
jmp 0x1400496c4
call fcn.1400306b0
lea rcx, str.Failed_ImGui_ImplDX11_Init_n
lea rdx, str._____ImGui_Initialized_n
test al, al
cmovne rcx, rdx
call fcn.140001340
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
je 0x1400496e6
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, 8
call fcn.14004f528
lea rcx, [0x140047750]
mov qword [rax], rcx
mov qword [rbp - 0x40], rax
lea rcx, [rbp + 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140049c40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp], rax
test rax, rax
je 0x140049b02
mov ecx, 8
call fcn.14004f528
lea rcx, [0x1400474c0]
mov qword [rax], rcx
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140049c40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x140049af3
cmp byte [0x140062c4c], 0
je 0x1400499b3
mov qword [rbp - 0x30], 1
lea rbx, [0x140057f7e]
lea rdi, str.Vblob_external_Toggle:_Insert
movdqa xmm6, xmmword [0x140058ce0]
xorps xmm7, xmm7
lea rcx, [rbp - 0x30]
call fcn.140049b20
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140049805
nop dword [rax + rax]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x1400497d0
mov rax, qword [0x140062b60]
test rax, rax
je 0x14004981a
mov rcx, qword [rax + 0x98]
jmp 0x14004981d
mov rcx, rsi
cmp qword [rcx + 0x48], 0
jne 0x140049829
call fcn.140030050
call fcn.140031290
call fcn.140008b70
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140049874
cmp byte [0x140062c2b], 0
sete al
mov byte [0x140062c2b], al
mov edx, 0xffffffec
mov rcx, qword [0x140062bd8]
test al, al
mov r8d, 0xa0
jne 0x14004986e
mov r8d, 0x800a8
call qword [sym.imp.USER32.dll_SetWindowLongA]
cmp byte [0x140062c2b], 0
je 0x140049882
call fcn.14004c460
call fcn.140048ca0
call fcn.140047de0
cmp byte [0x1400620c8], 0
je 0x140049924
mov rax, qword [0x140062b60]
mov rax, qword [rax + 0x4ad0]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.1400081d0
mov r8, rax
movups xmmword [rbp - 0x20], xmm6
lea rcx, [rbp - 0x20]
call fcn.140003c20
mov dword [rbp - 0x40], 0x41a00000
mov dword [rbp - 0x3c], 0x41a00000
test eax, 0xff000000
je 0x140049924
mov rdx, qword [r8 + 0x38]
mov rcx, qword [rdx + 8]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x20], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm7
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
lea r9, [rbp - 0x20]
mov qword [rsp + 0x28], r9
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x40]
movss xmm2, dword [rdx + 0x10]
mov rdx, r8
call fcn.14002da10
call fcn.14000ab70
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov rcx, qword [0x140062bd0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140062be0]
mov edx, 1
call qword [rax + 0x108]
mov rcx, qword [0x140062bd0]
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
mov rdx, qword [0x140062be0]
call qword [rax + 0x190]
mov rax, qword [0x140062b60]
mov rax, qword [rax + 0x4ad0]
mov rcx, qword [rax]
add rcx, 0x48
mov rax, rsi
cmp byte [rcx], sil
cmovne rax, rcx
mov rcx, rax
call fcn.14002f5e0
mov rcx, qword [0x140062bc8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 1
call qword [rax + 0x40]
cmp byte [0x140062c4c], 0
jne 0x1400497a0
cmp dword [rbp + 8], 0
je 0x1400499e5
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 8], eax
je 0x1400499f6
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp - 0x20], xmm0
xor edx, edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140049a1b
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
cmp dword [rbp - 8], 0
je 0x140049a2f
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 8], eax
jne 0x140049a02
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x20], xmm0
xor edx, edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140049a27
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
call fcn.14004bef0
mov rcx, qword [0x140062bc0]
test rcx, rcx
je 0x140049a76
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140062bd0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140062bc8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140062be0]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, str._____Released_Device_n
jmp 0x140049a7d
lea rcx, str._____Device_Not_Found_when_Exiting._n
call fcn.140001340
mov rcx, qword [0x140062bd8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x140062b88]
mov rcx, qword [0x140062bb0]
call qword [sym.imp.USER32.dll_UnregisterClassA]
nop
cmp dword [rbp - 8], 0
je 0x140049ab1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 8], 0
je 0x140049abe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14004f060
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov dword [rbp - 8], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 8], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3