Function at 0x140008270
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140112040]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov dword [0x1401120a8], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp byte [0x1402096b9], 0
mov dword [0x1401120ac], eax
je 0x1400084fd
cmp byte [0x1401120b0], 0
je 0x1400084f8
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 0x140008315
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 0x1400082e0
cmp dword [rsp + 0x38], 0x12
jne 0x140008323
mov byte [0x1401120b0], 0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000835f
cmp byte [0x140209761], 0
jne 0x14000835f
cmp byte [0x140209748], 0
mov rcx, qword [0x140209750]
sete byte [0x140209748]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x140209761], 1
jmp 0x1400083a1
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1400083a1
mov rcx, qword [0x140209750]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x140209750]
mov edx, 0xffffffec
or rax, 0x20
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov byte [0x140209761], 0
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1400084fd
mov rax, qword [0x1402098c8]
mov qword [rsp + 0x80], rbx
xor ebx, ebx
test rax, rax
je 0x1400083d3
mov rcx, qword [rax + 0xa0]
jmp 0x1400083d6
mov rcx, rbx
cmp qword [rcx + 0x48], rbx
jne 0x1400083e1
call fcn.140052910
call fcn.140053600
call fcn.140029cf0
cmp byte [0x140209748], bl
je 0x14000842a
mov rcx, qword [0x140209750]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x140209750]
mov edx, 0xffffffec
and rax, 0xffffffffffffffdf
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x14020da50]
call fcn.140009220
mov rcx, qword [0x14020da38]
call fcn.14000ced0
mov rax, qword [0x1402098c8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x48a0]
mov rcx, qword [rcx]
call fcn.140029330
call fcn.14002bdb0
mov rcx, qword [0x140209730]
lea r8, [0x140209758]
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 [0x140209730]
lea r8, [rsp + 0x60]
mov rdx, qword [0x140209758]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1402098c8]
mov rcx, qword [rax + 0x48a0]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], bl
cmove rcx, rbx
call fcn.140051cd0
mov rcx, qword [0x140209740]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
cmp byte [0x1401120b0], 0
mov rbx, qword [rsp + 0x80]
je 0x1400084f8
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400cfbc0
add rsp, 0x88
ret
call fcn.140009040
xor al, al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400cfbc0
add rsp, 0x88
ret