Function at 0x140005ec0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x88
mov rax, qword [0x14010b040]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov dword [0x14010b0a8], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp byte [0x14039a339], 0
mov dword [0x14010b0b0], eax
je 0x14000614f
cmp byte [0x14010b0b4], 0
je 0x14000614a
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 0x140005f65
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 0x140005f30
cmp dword [rsp + 0x38], 0x12
jne 0x140005f73
mov byte [0x14010b0b4], 0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140005faf
cmp byte [0x14039a3cd], 0
jne 0x140005faf
cmp byte [0x14010b0ac], 0
mov rcx, qword [0x14039a3b8]
sete byte [0x14010b0ac]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x14039a3cd], 1
jmp 0x140005ff1
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140005ff1
mov rcx, qword [0x14039a3b8]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x14039a3b8]
mov edx, 0xffffffec
or rax, 0x20
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov byte [0x14039a3cd], 0
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14000614f
mov rax, qword [0x14039a558]
mov qword [rsp + 0x80], rbx
xor ebx, ebx
test rax, rax
je 0x140006023
mov rcx, qword [rax + 0xa0]
jmp 0x140006026
mov rcx, rbx
cmp qword [rcx + 0x48], rbx
jne 0x140006031
call fcn.140050c70
call fcn.140051aa0
call fcn.14002aa70
cmp byte [0x14010b0ac], bl
je 0x14000607a
mov rcx, qword [0x14039a3b8]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x14039a3b8]
mov edx, 0xffffffec
and rax, 0xffffffffffffffdf
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x14039b968]
call fcn.1400070d0
mov rcx, qword [0x14039b950]
call fcn.14000b460
mov rax, qword [0x14039a558]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.14002a020
call fcn.14002cb60
mov rcx, qword [0x14039a3a0]
lea r8, [0x14039a3c0]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x60], xmm0
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x14039a3a0]
lea r8, [rsp + 0x60]
mov rdx, qword [0x14039a3c0]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x14039a558]
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], bl
cmove rcx, rbx
call fcn.140050200
mov rcx, qword [0x14039a3b0]
xor r8d, r8d
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp byte [0x14010b0b4], 0
mov rbx, qword [rsp + 0x80]
je 0x14000614a
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400cc5e0
add rsp, 0x88
ret
call fcn.140006ee0
xor al, al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400cc5e0
add rsp, 0x88
ret