Function at 0x140008410
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140112028]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov dword [0x140112048], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp byte [0x140209659], 0
mov dword [0x14011204c], eax
je 0x14000869d
cmp byte [0x140112050], 0
je 0x140008698
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400084b5
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140008480
cmp dword [rsp + 0x38], 0x12
jne 0x1400084c3
mov byte [0x140112050], 0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400084ff
cmp byte [0x140209701], 0
jne 0x1400084ff
cmp byte [0x1402096e8], 0
mov rcx, qword [0x1402096f0]
sete byte [0x1402096e8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x140209701], 1
jmp 0x140008541
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140008541
mov rcx, qword [0x1402096f0]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x1402096f0]
mov edx, 0xffffffec
or rax, 0x20
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov byte [0x140209701], 0
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14000869d
mov rax, qword [0x140209868]
mov qword [rsp + 0x80], rbx
xor ebx, ebx
test rax, rax
je 0x140008573
mov rcx, qword [rax + 0xa0]
jmp 0x140008576
mov rcx, rbx
cmp qword [rcx + 0x48], rbx
jne 0x140008581
call fcn.140052830
call fcn.140053520
call fcn.140029a50
cmp byte [0x1402096e8], bl
je 0x1400085ca
mov rcx, qword [0x1402096f0]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x1402096f0]
mov edx, 0xffffffec
and rax, 0xffffffffffffffdf
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x14020d9f8]
call fcn.1400093c0
mov rcx, qword [0x14020d9e0]
call fcn.14000ced0
mov rax, qword [0x140209868]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x48a0]
mov rcx, qword [rcx]
call fcn.140029090
call fcn.14002bb10
mov rcx, qword [0x1402096d0]
lea r8, [0x1402096f8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x60], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x1402096d0]
lea r8, [rsp + 0x60]
mov rdx, qword [0x1402096f8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140209868]
mov rcx, qword [rax + 0x48a0]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], bl
cmove rcx, rbx
call fcn.140051be0
mov rcx, qword [0x1402096e0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
cmp byte [0x140112050], 0
mov rbx, qword [rsp + 0x80]
je 0x140008698
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400cfa20
add rsp, 0x88
ret
call fcn.1400091e0
xor al, al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400cfa20
add rsp, 0x88
ret