Function at 0x140032630
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x140041040]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov ebx, 4
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.14002da30
test eax, eax
je 0x1400326ee
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x14004191c], eax
jle 0x1400326c7
lea rcx, [0x14004191c]
call fcn.140033990
cmp dword [0x14004191c], 0xffffffff
jne 0x1400326c7
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140041908], rax
lea rcx, [0x14004191c]
call fcn.140033924
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x140041908]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400326ee
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x140032773
mov edx, 3
lea ecx, [rdx + 3]
call fcn.14002da30
test eax, eax
je 0x14003276d
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140041918], eax
jle 0x14003274b
lea rcx, [0x140041918]
call fcn.140033990
cmp dword [0x140041918], 0xffffffff
jne 0x14003274b
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140041910], rax
lea rcx, [0x140041918]
call fcn.140033924
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x140041910]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003276d
mov ecx, 2
call rax
jmp 0x140032773
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
xor r13d, r13d
mov qword [rbp + 0x20], r13
mov dword [rbp + 0x10], 0x50
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbp + 0x40], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp + 0x38], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x30], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x58], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x28], rax
lea rax, [0x140032540]
mov qword [rbp + 0x18], rax
lea rdi, str.D3D11_Overlay_ImGui
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x48], r13
mov dword [rbp + 0x14], 3
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov r12d, 1
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov qword [rsp + 0x58], r13
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov r9d, 0x80000000
mov r8, rdi
mov rdx, qword [rbp + 0x50]
mov ecx, 0x8000028
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
lea r9d, [r13 + 2]
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x14003b950]
movdqu xmmword [rbp + 0xa0], xmm0
lea rdx, [rbp + 0xa0]
mov rcx, rdi
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov qword [rbp - 0x6c], r13
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x70], 0x1c
mov dword [rbp - 0x78], 0x3c
mov dword [rbp - 0x74], r12d
mov dword [rbp - 0x5c], 0x20
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x64], r12
mov qword [rbp - 0x48], r12
mov dword [rsp + 0x68], 0xb000
mov dword [rsp + 0x6c], 0xa000
lea rbx, [0x1400418b8]
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x60]
mov qword [rsp + 0x50], rax
lea rsi, [0x1400418a0]
mov qword [rsp + 0x48], rsi
lea r14, [0x1400418c0]
mov qword [rsp + 0x40], r14
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x140032989
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x60]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r14
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 5]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x1400329a5
call fcn.1400324c0
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x14003308e
call fcn.140032450
mov edx, 0xa
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140041888]
test rbx, rbx
je 0x1400329d3
inc dword [rbx + 0xf4]
mov ecx, 0x5e48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140032a03
xor edx, edx
mov rcx, rax
call fcn.1400016f0
jmp 0x140032a06
mov rax, r13
mov qword [0x140041888], rax
call fcn.1400051f0
test rbx, rbx
je 0x140032a20
mov qword [0x140041888], rbx
jmp 0x140032a27
mov rbx, qword [0x140041888]
or dword [rbx + 8], 1
xor ecx, ecx
call fcn.140021980
mov edx, 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x78], xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], rcx
mov dword [rbp + 0x78], 0x28
lea rdx, [rbp + 0x78]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [rbp + 0x88]
sub eax, dword [rbp + 0x80]
cmp eax, 0x438
jle 0x140032ae8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], r12d
mov dword [rbp - 0x3c], 0x7f7fffff
mov dword [rbp - 0x30], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x2c], ax
mov dword [rbp - 0x6c], 0x41d00000
lea rdx, [rbp - 0x80]
mov rcx, qword [0x140041888]
mov rcx, qword [rcx + 0x58]
call fcn.140026680
mov rax, qword [0x140041888]
mov qword [rax + 0x20], r13
mov rcx, rdi
call fcn.14002bbc0
mov r15, qword [0x1400418b8]
mov r14, qword [0x1400418a0]
mov rsi, qword [0x140041888]
test rsi, rsi
je 0x140032b1b
inc dword [rsi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140032b67
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
jmp 0x140032b6a
mov rbx, r13
mov qword [rsi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rsi + 0x90], rax
or dword [rsi + 0xc], 8
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], r13
mov rax, qword [r14]
lea r8, [rsp + 0x68]
lea rdx, [0x14003b4c8]
mov rcx, r14
call qword [rax]
test eax, eax
jne 0x140032bf0
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
lea rdx, [0x14003b4d8]
call qword [rax + 0x30]
test eax, eax
jne 0x140032bf0
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x14003b4e8]
call qword [rax + 0x30]
test eax, eax
jne 0x140032bf0
mov qword [rbx], r14
mov qword [rbx + 8], r15
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140032c00
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140032c10
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
xor bl, bl
nop word [rax + rax]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140032c8a
nop dword [rax + rax]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
movzx ebx, bl
cmp dword [rbp - 0x78], 0x12
cmove ebx, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140032c50
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
movzx ebx, bl
cmovne ebx, r12d
mov rcx, qword [0x1400418b0]
test rcx, rcx
je 0x140032ce6
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140032cdf
lea rdx, [rbp + 0x60]
mov rcx, qword [0x1400418b0]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [0x140041898]
cmp dword [rbp + 0x60], eax
jne 0x140032cdf
mov eax, dword [0x14004189c]
mov rcx, qword [0x1400418b0]
jmp 0x140032cf4
mov rcx, qword [0x1400418b0]
mov eax, dword [0x14004189c]
test eax, eax
jne 0x140032f4f
test bl, bl
jne 0x140032f4f
test rcx, rcx
je 0x140032d44
test eax, eax
je 0x140032d44
lea rdx, [rbp + 0x68]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp + 0x74]
mov r9d, dword [rbp + 0x6c]
sub ecx, r9d
sub ecx, 0x1d
mov eax, dword [rbp + 0x70]
mov r8d, dword [rbp + 0x68]
sub eax, r8d
sub eax, 5
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, 0x7d
lea rdx, [rbp + 0xd0]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x140032e1b
mov r8d, 0x7d
lea rdx, [rbp + 0x150]
mov rcx, qword [0x1400418b0]
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x140032e1b
mov r8d, 0x7d
lea rdx, [rbp + 0x1d0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x140032e1b
lea rax, [rbp + 0xd0]
lea r8, [rbp + 0x150]
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140032dd3
inc rax
test ecx, ecx
jne 0x140032dc0
test edx, edx
je 0x140032e81
lea rax, [rbp + 0xd0]
lea r8, [rbp + 0x1d0]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140032e03
inc rax
test ecx, ecx
jne 0x140032df0
test edx, edx
je 0x140032e81
mov edx, 0xffffffec
mov r8d, 0x800a8
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [0x14004189c], 0
je 0x140032e81
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov rcx, qword [0x1400418b8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400418a8]
mov edx, r12d
call qword [rax + 0x108]
mov rcx, qword [0x1400418b8]
mov rax, qword [rcx]
lea r8, [rbp + 0xb0]
mov rdx, qword [0x1400418a8]
call qword [rax + 0x190]
mov rcx, qword [0x1400418c0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r12d
call qword [rax + 0x40]
jmp 0x140032c30
mov rax, qword [0x140041888]
test rax, rax
je 0x140032e96
mov rcx, qword [rax + 0xa0]
jmp 0x140032e99
mov rcx, r13
cmp qword [rcx + 0x48], 0
jne 0x140032ea5
call fcn.14002b6b0
call fcn.14002c540
call fcn.1400072f0
call section..text
call fcn.1400090d0
mov edx, 0xffffffec
mov rcx, rdi
cmp byte [0x1400410b8], 1
mov r8d, 0x80088
je 0x140032ed6
mov r8d, 0x800a8
call qword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.1400094e0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov rcx, qword [0x1400418b8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400418a8]
mov edx, r12d
call qword [rax + 0x108]
mov rcx, qword [0x1400418b8]
mov rax, qword [rcx]
lea r8, [rbp + 0xc0]
mov rdx, qword [0x1400418a8]
call qword [rax + 0x190]
mov rax, qword [0x140041888]
mov rcx, qword [rax + 0x48a8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r13
cmp byte [rax], r13b
cmovne rcx, rax
call fcn.14002aa40
jmp 0x140032e69
mov rbx, qword [0x140041888]
test rbx, rbx
je 0x140032f64
mov rsi, qword [rbx + 0xa0]
jmp 0x140032f67
mov rsi, r13
call fcn.14002baa0
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x140032f7b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140032f89
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140032f98
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x90], r13
mov qword [rbx + 0xa0], r13
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x140041888]
test rax, rax
je 0x140032fbc
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140041888]
test rax, rax
je 0x140032fda
mov rsi, qword [rax + 0x98]
jmp 0x140032fdd
mov rsi, r13
lea rbx, [rax + 8]
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x140032ff7
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140041888]
mov qword [rbx + 0x80], r13
mov qword [rbx + 0x90], r13
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x140033014
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140041888]
mov qword [0x140041888], rbx
call fcn.140005600
mov qword [0x140041888], r13
test rbx, rbx
je 0x14003305f
mov rcx, rbx
call fcn.14001a440
mov rax, qword [0x140041888]
test rax, rax
je 0x140033056
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.1400324c0
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140033640
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret