Function at 0x140054bb0
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 - 0x230]
sub rsp, 0x330
mov rax, qword [0x140069010]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rax, qword [0x140069a28]
test rax, rax
je 0x140054c04
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140054c04
mov byte [rcx + 0x2e], 1
mov ebx, 4
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.140041ce0
test eax, eax
je 0x140054c8a
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140069bf0], eax
jle 0x140054c63
lea rcx, [0x140069bf0]
call fcn.140056250
cmp dword [0x140069bf0], 0xffffffff
jne 0x140054c63
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140069c00], rax
lea rcx, [0x140069bf0]
call fcn.1400561f0
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x140069c00]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140054c8a
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x140054d0f
mov edx, 3
lea ecx, [rdx + 3]
call fcn.140041ce0
test eax, eax
je 0x140054d09
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140069bf8], eax
jle 0x140054ce7
lea rcx, [0x140069bf8]
call fcn.140056250
cmp dword [0x140069bf8], 0xffffffff
jne 0x140054ce7
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140069be0], rax
lea rcx, [0x140069bf8]
call fcn.1400561f0
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x140069be0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140054d09
mov ecx, 2
call rax
jmp 0x140054d0f
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
xor r13d, r13d
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x30], 0x50
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbp], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp - 8], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp - 0x10], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x18], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp - 0x18], rax
lea rax, [0x140054ac0]
mov qword [rbp - 0x28], rax
lea rdi, str.D3D11_Overlay_ImGui
mov qword [rbp + 0x10], rdi
mov qword [rbp + 8], r13
mov dword [rbp - 0x2c], 3
lea rcx, [rbp - 0x30]
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 - 0x18]
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 + 0x10]
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 [0x14005f290]
movdqu xmmword [rbp + 0x60], xmm0
lea rdx, [rbp + 0x60]
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, [0x140069a58]
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x50], rax
lea rsi, [0x140069a40]
mov qword [rsp + 0x48], rsi
lea r14, [0x140069a60]
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 0x140054f1f
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x20]
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 0x140054f3b
call fcn.140054a40
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x1400556db
call fcn.1400549d0
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 [0x140069a28]
test rbx, rbx
je 0x140054f69
inc dword [rbx + 0xf4]
mov rdx, qword [0x140069a20]
mov ecx, 0x6450
call sub.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 0x140054f9f
xor edx, edx
mov rcx, rax
call fcn.140009a80
jmp 0x140054fa2
mov rax, r13
mov qword [0x140069a28], rax
call fcn.140011440
mov rax, qword [0x140069a28]
test rbx, rbx
cmovne rax, rbx
mov qword [0x140069a28], rax
or dword [rax + 8], 1
xor ecx, ecx
call fcn.140035840
mov edx, 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rcx
mov dword [rbp + 0x38], 0x28
lea rdx, [rbp + 0x38]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [rbp + 0x48]
sub eax, dword [rbp + 0x40]
cmp eax, 0x438
jle 0x1400550c1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], rax
mov byte [rbp + 0x9c], 1
mov dword [rbp + 0xa8], 3
mov dword [rbp + 0xac], r12d
movss xmm0, dword [0x14005f250]
movss dword [rbp + 0xd4], xmm0
movss xmm1, dword [0x14005f170]
movss dword [rbp + 0xe0], xmm1
mov eax, 0xffff
mov word [rbp + 0xe4], ax
movss xmm0, dword [0x14005f1ec]
movss dword [rbp + 0xa4], xmm0
lea rdx, [rbp + 0x90]
mov rcx, qword [0x140069a28]
mov rcx, qword [rcx + 0x50]
call fcn.140039e70
mov rax, qword [0x140069a28]
mov qword [rax + 0x20], r13
mov rcx, rdi
call fcn.14003fcc0
mov r15, qword [0x140069a58]
mov r14, qword [0x140069a40]
mov rsi, qword [0x140069a28]
test rsi, rsi
je 0x1400550f4
inc dword [rsi + 0xf4]
mov rdx, qword [0x140069a20]
mov ecx, 0x78
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140055146
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 0x140055149
mov rbx, r13
mov qword [rsi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rsi + 0x90], rax
or dword [rsi + 0xc], 0x1008
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, [0x14005eb78]
mov rcx, r14
call qword [rax]
test eax, eax
jne 0x1400551d2
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
lea rdx, [0x14005eb88]
call qword [rax + 0x30]
test eax, eax
jne 0x1400551d2
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x14005eba8]
call qword [rax + 0x30]
test eax, eax
jne 0x1400551d2
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 0x1400551e2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400551f2
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]
test dword [rsi + 8], 0x400
je 0x14005525b
mov rax, qword [0x140069a28]
lea rcx, [0x14003f910]
mov qword [rax + 0x38a0], rcx
lea rcx, [0x14003fa70]
mov qword [rax + 0x38a8], rcx
lea rcx, [0x14003fb00]
mov qword [rax + 0x38b0], rcx
lea rcx, [0x14003fbf0]
mov qword [rax + 0x38b8], rcx
lea rcx, [0x14003fca0]
mov qword [rax + 0x38c0], rcx
xor bl, bl
nop dword [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 0x1400552ba
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 0x140055280
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
movzx ebx, bl
cmovne ebx, r12d
mov rcx, qword [0x140069a50]
test rcx, rcx
je 0x140055316
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14005530f
lea rdx, [rbp + 0x20]
mov rcx, qword [0x140069a50]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [0x140069a38]
cmp dword [rbp + 0x20], eax
jne 0x14005530f
mov eax, dword [0x140069a3c]
mov rcx, qword [0x140069a50]
jmp 0x140055324
mov rcx, qword [0x140069a50]
mov eax, dword [0x140069a3c]
test eax, eax
jne 0x14005557b
test bl, bl
jne 0x14005557b
test rcx, rcx
je 0x140055374
test eax, eax
je 0x140055374
lea rdx, [rbp + 0x28]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp + 0x34]
mov r9d, dword [rbp + 0x2c]
sub ecx, r9d
sub ecx, 0x1d
mov eax, dword [rbp + 0x30]
mov r8d, dword [rbp + 0x28]
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 + 0x120]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x14005544b
mov r8d, 0x7d
lea rdx, [rbp + 0x1a0]
mov rcx, qword [0x140069a50]
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x14005544b
mov r8d, 0x7d
lea rdx, [rbp + 0x90]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x14005544b
lea rax, [rbp + 0x120]
lea r8, [rbp + 0x1a0]
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140055403
inc rax
test ecx, ecx
jne 0x1400553f0
test edx, edx
je 0x140055498
lea rax, [rbp + 0x120]
lea r8, [rbp + 0x90]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140055433
inc rax
test ecx, ecx
jne 0x140055420
test edx, edx
je 0x140055498
mov edx, 0xffffffec
mov r8d, 0x800a8
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [0x140069a3c], 0
je 0x140055498
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov rcx, qword [0x140069a58]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140069a48]
mov edx, r12d
call qword [rax + 0x108]
mov rcx, qword [0x140069a58]
mov rax, qword [rcx]
lea r8, [rbp + 0x70]
mov rdx, qword [0x140069a48]
call qword [rax + 0x190]
jmp 0x140055563
mov rax, qword [0x140069a28]
test rax, rax
je 0x1400554ad
mov rcx, qword [rax + 0xa0]
jmp 0x1400554b0
mov rcx, r13
cmp qword [rcx + 0x48], 0
jne 0x1400554bc
call fcn.14003f3f0
call fcn.140040c20
call fcn.140010200
call fcn.140001a30
call fcn.140012f10
mov edx, 0xffffffec
mov rcx, rdi
cmp byte [0x140069044], 1
mov r8d, 0x80088
je 0x1400554ed
mov r8d, 0x800a8
call qword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.140013490
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov rcx, qword [0x140069a58]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140069a48]
mov edx, r12d
call qword [rax + 0x108]
mov rcx, qword [0x140069a58]
mov rax, qword [rcx]
lea r8, [rbp + 0x80]
mov rdx, qword [0x140069a48]
call qword [rax + 0x190]
mov rax, qword [0x140069a28]
mov rcx, qword [rax + 0x4210]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r13
cmp byte [rax], r13b
cmovne rcx, rax
call fcn.14003e780
mov rcx, qword [0x140069a60]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r12d
call qword [rax + 0x40]
jmp 0x140055260
mov rsi, qword [0x140069a28]
test rsi, rsi
je 0x140055590
mov rbx, qword [rsi + 0xa0]
jmp 0x140055593
mov rbx, r13
call fcn.1400246c0
call fcn.14003f7f0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400555ac
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400555ba
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400555c9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x90], r13
mov qword [rsi + 0xa0], r13
mov rax, qword [0x140069a28]
test rax, rax
je 0x1400555e9
dec dword [rax + 0xf4]
mov rdx, qword [0x140069a20]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rbx, qword [0x140069a28]
test rbx, rbx
je 0x14005560d
mov rsi, qword [rbx + 0x98]
jmp 0x140055610
mov rsi, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassW]
call fcn.1400246c0
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x14005563c
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], r13
mov qword [rbx + 0x98], r13
mov rax, qword [0x140069a28]
test rax, rax
je 0x14005565c
dec dword [rax + 0xf4]
mov rdx, qword [0x140069a20]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rbx, qword [0x140069a28]
call fcn.1400117b0
mov qword [0x140069a28], r13
test rbx, rbx
je 0x1400556ac
mov rcx, rbx
call fcn.14002e6b0
mov rax, qword [0x140069a28]
test rax, rax
je 0x14005569d
dec dword [rax + 0xf4]
mov rdx, qword [0x140069a20]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
call fcn.140054a40
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x10]
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 + 0x220]
xor rcx, rsp
call fcn.140055cd0
lea r11, [rsp + 0x330]
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