Function at 0x14000c340
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14006f010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000c392
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov qword [rsp + 0x80], rbx
lea rcx, [0x14006ff48]
mov qword [rsp + 0x70], rdi
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [0x14006ff28]
lea rdx, [0x14006ff50]
call qword [sym.imp.USER32.dll_GetWindowRect]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x14006ff28]
jne 0x14000c5b2
cmp dword [0x14006ff64], 0
jne 0x14000c49a
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14000c49a
cmp dword [0x1400700e8], 0
jne 0x14000c4a7
cmp dword [0x140070078], 0
mov r9d, dword [0x14006ff54]
mov r11d, dword [0x14006ff50]
mov r8d, dword [0x14006ff4c]
mov r10d, dword [0x14006ff48]
je 0x14000c44a
mov ecx, r10d
mov edx, r8d
sub ecx, r11d
sub edx, r9d
xor ebx, ebx
mov dword [0x140070ac4], ecx
mov dword [0x140070078], ebx
mov dword [0x140070a34], edx
jmp 0x14000c456
mov ecx, dword [0x140070ac4]
mov edx, dword [0x140070a34]
mov eax, dword [0x14006ff5c]
sub r10d, ecx
mov rcx, qword [0x14006ff28]
sub eax, r9d
mov r9d, dword [0x14006ff58]
sub r8d, edx
sub r9d, r11d
mov dword [rsp + 0x28], 1
mov edx, r10d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov dword [0x1400700e8], 1
jmp 0x14000c5bd
cmp dword [0x1400700e8], 0
je 0x14000c57c
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14000c57c
mov eax, dword [0x14006ff5c]
mov r9d, dword [0x14006ff58]
mov r8d, dword [0x14006ff4c]
mov edx, dword [0x14006ff48]
sub eax, dword [0x14006ff54]
sub r9d, dword [0x14006ff50]
sub r8d, dword [0x140070a34]
sub edx, dword [0x140070ac4]
mov rcx, qword [0x14006ff28]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov dword [0x14006ff64], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword gs:[0x58]
mov rbx, rax
mov eax, 4
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x140070c34], ecx
jle 0x14000c560
lea rcx, [0x140070c34]
call fcn.140064550
cmp dword [0x140070c34], 0xffffffff
jne 0x14000c560
lea rcx, [0x140070c34]
mov dword [0x140070134], ebx
call fcn.1400644f0
mov eax, ebx
sub eax, dword [0x140070134]
cmp eax, 0x64
jl 0x14000c575
mov dword [0x140070134], ebx
jmp 0x14000c5bd
mov eax, 1
jmp 0x14000c5bf
xor ebx, ebx
mov dword [0x140070078], 1
mov dword [0x1400700e8], ebx
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
lea ecx, [rbx + 1]
jb 0x14000c5a4
lea ecx, [rbx + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x14006ff64], ebx
jmp 0x14000c5bd
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400643d0
add rsp, 0x78
ret