Function at 0x14000a240
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x88
mov rax, qword [0x14018f080]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov dword [0x14018f0f8], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp byte [0x140288129], 0
mov dword [0x14018f0fc], eax
je 0x14000a4cd
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14000a4c8
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 0x14000a2e5
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 0x14000a2b0
cmp dword [rsp + 0x38], 0x12
jne 0x14000a2f3
mov byte [reloc.WS2_32.dll_accept], 0
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000a32f
cmp byte [0x1402881e1], 0
jne 0x14000a32f
cmp byte [0x1402881c8], 0
mov rcx, qword [0x1402881d0]
sete byte [0x1402881c8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x1402881e1], 1
jmp 0x14000a371
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14000a371
mov rcx, qword [0x1402881d0]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x1402881d0]
mov edx, 0xffffffec
or rax, 0x20
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov byte [0x1402881e1], 0
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14000a4cd
mov rax, qword [0x140286c58]
mov qword [rsp + 0x80], rbx
xor ebx, ebx
test rax, rax
je 0x14000a3a3
mov rcx, qword [rax + 0xa0]
jmp 0x14000a3a6
mov rcx, rbx
cmp qword [rcx + 0x48], rbx
jne 0x14000a3b1
call fcn.140054c10
call fcn.140055900
call fcn.14002bff0
cmp byte [0x1402881c8], bl
je 0x14000a3fa
mov rcx, qword [0x1402881d0]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x1402881d0]
mov edx, 0xffffffec
and rax, 0xffffffffffffffdf
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x14028b270]
call fcn.14000b1c0
mov rcx, qword [0x14028b258]
call fcn.14000efb0
mov rax, qword [0x140286c58]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x48a0]
mov rcx, qword [rcx]
call fcn.14002b630
call fcn.14002e0b0
mov rcx, qword [0x1402881b0]
lea r8, [0x1402881d8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x60], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x1402881b0]
lea r8, [rsp + 0x60]
mov rdx, qword [0x1402881d8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140286c58]
mov rcx, qword [rax + 0x48a0]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], bl
cmove rcx, rbx
call fcn.140053fd0
mov rcx, qword [0x1402881c0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
cmp byte [reloc.WS2_32.dll_accept], 0
mov rbx, qword [rsp + 0x80]
je 0x14000a4c8
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140135200
add rsp, 0x88
ret
call fcn.14000afe0
xor al, al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140135200
add rsp, 0x88
ret