Function at 0x140009f00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x1400cc040]
xor rax, rsp
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [0x1400cd0d0], xmm0
movups xmmword [0x1400cd0e0], xmm0
movups xmmword [0x1400cd0f0], xmm0
xor edi, edi
movss xmm6, dword [0x1400c4830]
nop
mov rcx, qword [0x1400cd1d8]
nop word [rax + rax]
cmp dword [0x1400cd0d8], 0x12
je 0x14000a3f3
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1400cd100]
lea rcx, [0x1400cd0d0]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140009fad
lea rcx, [0x1400cd0d0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400cd0d0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1400cd0b0]
cmp rax, rcx
jne 0x140009ffa
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x1400cd100]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400cd0b0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x40], rdi
lea rdx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1400cd0b0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
mov rbx, qword [0x1400cd1d8]
mov qword [rbx + 0x20], rdi
mov rax, qword [0x1400cd0b0]
mov qword [rbx + 0xc8], rax
mov dword [rbx + 0x18], 0x3c888889
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x44]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe04], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000a0b9
mov byte [rbx + 0xe08], 1
mov byte [rbx + 0x3740], 1
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f0], eax
jmp 0x14000a0c0
mov byte [rbx + 0xe08], 0
mov eax, dword [0x1400cd300]
mov ecx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x14000a0f2
cmp ecx, dword [0x1400cd308]
jne 0x14000a0f2
mov eax, dword [0x1400cd304]
cmp dword [rsp + 0x4c], eax
jne 0x14000a0f2
mov eax, dword [rsp + 0x54]
cmp eax, dword [0x1400cd30c]
je 0x14000a15a
jmp 0x14000a0f6
mov eax, dword [rsp + 0x54]
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [0x1400cd300], xmm0
mov dword [0x1400cd1fc], ecx
mov dword [0x1400cd1f8], eax
mov dword [0x1400cd170], ecx
mov dword [0x1400cd174], eax
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov rcx, qword [0x1400cd100]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
lea rdx, [0x1400cd170]
call qword [rax + 0x80]
mov rax, qword [0x1400cd1d8]
test rax, rax
je 0x14000a16f
mov rcx, qword [rax + 0x98]
jmp 0x14000a172
mov rcx, rdi
cmp qword [rcx + 0x18], 0
jne 0x14000a195
test rax, rax
je 0x14000a195
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x14000a195
cmp qword [rcx], 0
je 0x14000a195
call fcn.14000dfe0
call fcn.14000eb90
call fcn.140014e50
nop
call fcn.140005d30
mov ecx, dword [reloc.XINPUT1_3.dll_Ordinal_2]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000a1c8
cmp byte [0x1400cd323], 0
je 0x14000a1c8
cmp byte [0x1400cd328], 0
je 0x14000a1fe
mov rbx, qword [0x1400cd200]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rdx, rbx
mov ecx, dword [rbx + 0x10]
call qword [sym.imp.XINPUT1_3.dll_Ordinal_2]
mov rax, qword [rbx]
shr rax, 0x30
test al, al
je 0x14000a22e
cmp byte [0x1400cd323], 0
je 0x14000a22e
cmp byte [0x1400cd328], 0
je 0x14000a22e
mov eax, dword [0x1400cd110]
test eax, eax
jne 0x14000a213
call fcn.140005620
mov eax, dword [0x1400cd110]
cmp eax, 1
jne 0x14000a223
call fcn.140005620
mov eax, dword [0x1400cd110]
cmp eax, 2
jne 0x14000a22e
call fcn.140005620
nop
jmp 0x14000a23a
call fcn.1400037b0
call fcn.140016bb0
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x1b
call qword [rax + 0x1c8]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
mov dword [rsp + 0x30], edi
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], edi
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14000a302
call fcn.140016fc0
mov rax, qword [0x1400cd1d8]
mov rcx, qword [rax + 0x48e8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, rdi
cmp byte [rax], 0
cmovne rcx, rax
call fcn.14000da20
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140009f50
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140009f50
mov rbx, qword [0x1400cd1d8]
test rbx, rbx
je 0x14000a3a8
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x14000a3a8
cmp qword [rbx], 0
je 0x14000a3a8
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000a373
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000a386
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000a3a8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x18], rdi
mov rax, qword [0x1400cd1d8]
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rdi
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
lea rdx, [0x1400cd170]
call qword [rax + 0x80]
mov rcx, qword [0x1400cd1d8]
test rcx, rcx
je 0x140009f60
mov rax, qword [rcx + 0x98]
test rax, rax
je 0x140009f60
cmp qword [rax], 0
je 0x140009f60
call fcn.14000dfe0
jmp 0x140009f50
test rcx, rcx
je 0x14000a401
mov r14, qword [rcx + 0x98]
jmp 0x14000a404
mov r14, rdi
lea rsi, [rcx + 8]
test rcx, rcx
je 0x14000a47e
mov rbx, qword [rcx + 0x98]
test rbx, rbx
je 0x14000a47e
cmp qword [rbx], 0
je 0x14000a47e
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14000a43c
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [0x1400cd1d8]
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14000a459
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [0x1400cd1d8]
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14000a47e
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x18], rdi
mov rcx, qword [0x1400cd1d8]
mov rax, qword [rcx + 0x38]
mov qword [rax + 8], rdi
mov rdx, qword [r14]
test rdx, rdx
je 0x14000a496
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x1400cd1d8]
mov qword [rsi + 0x80], rdi
mov qword [rsi + 0x90], rdi
and dword [rsi + 4], 0xfffffff7
test rcx, rcx
je 0x14000a4b3
dec dword [rcx + 0xec]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400cd1d8]
test rax, rax
je 0x14000a4d1
mov rsi, qword [rax + 0x90]
jmp 0x14000a4d4
mov rsi, rdi
lea rbx, [rax + 8]
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x14000a4ee
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400cd1d8]
mov qword [rbx + 0x78], rdi
mov qword [rbx + 0x88], rdi
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x14000a508
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400cd1d8]
mov qword [0x1400cd1d8], rbx
call fcn.140013040
mov qword [0x1400cd1d8], rdi
test rbx, rbx
je 0x14000a553
mov rcx, rbx
call fcn.140028760
mov rax, qword [0x1400cd1d8]
test rax, rax
je 0x14000a54a
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400cd1c0]
test rcx, rcx
je 0x14000a575
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400cd108]
test rcx, rcx
je 0x14000a587
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400cd100]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1400cd0e0]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400466b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop r14
ret