Function at 0x14006d9e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x140232f80]
xor rax, rsp
mov qword [rbp + 0x4f], rax
cmp qword [0x14023d120], 0
je 0x14006dc75
cmp byte [0x14023d9c5], 0
je 0x14006dc75
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
call fcn.14006d240
mov rdx, qword [0x14023dff0]
lea r8, [rbp + 0x37]
mov rcx, qword [0x14023d9d8]
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x14023d120]
lea r9d, [rdi + 0xc]
mov rcx, qword [0x14023d9d8]
lea r8, [rbp + 0x27]
mov rbx, qword [rbp + 0x37]
add rdx, 0x90
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14023d9d8]
lea rdx, [rbx + 0x3d0]
lea r9d, [rdi + 0xc]
mov qword [rsp + 0x20], rdi
lea r8, [rbp + 0x3f]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [rdi + 0x57]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14006dabc
movss xmm1, dword [rbp + 0x2b]
movd xmm0, dword [0x14023d0f0]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp + 0x2b], xmm1
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14006dae5
movss xmm1, dword [rbp + 0x2b]
movd xmm0, dword [0x14023d0f0]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp + 0x2b], xmm1
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14006db0e
movss xmm1, dword [rbp + 0x2f]
movd xmm0, dword [0x14023d0f0]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp + 0x2f], xmm1
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14006db37
movss xmm1, dword [rbp + 0x2f]
movd xmm0, dword [0x14023d0f0]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp + 0x2f], xmm1
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14006db60
movss xmm1, dword [rbp + 0x27]
movd xmm0, dword [0x14023d0f0]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp + 0x27], xmm1
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14006db89
movss xmm1, dword [rbp + 0x27]
movd xmm0, dword [0x14023d0f0]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp + 0x27], xmm1
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14006dba0
mov byte [0x14023d9c5], dil
mov rdx, qword [0x14023d120]
lea r8, [rbp - 9]
movsd xmm0, qword [rbp + 0x27]
add rdx, 0x90
mov eax, dword [rbp + 0x2f]
mov r9d, listen
mov rcx, qword [0x14023d9d8]
movsd qword [rbp - 9], xmm0
mov dword [rbp - 1], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x14023d120]
lea r8, [rbp + 0x37]
mov rcx, qword [0x14023d9d8]
add rdx, 0x30
mov r9d, 8
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp + 0x37]
lea r8, [rbp + 7]
movsd xmm0, qword [rbp + 0x27]
mov r9d, listen
mov eax, dword [rbp + 0x2f]
mov rcx, qword [0x14023d9d8]
lea rdx, [rbx + 0x30]
movsd qword [rbp + 7], xmm0
mov dword [rbp + 0xf], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movsd xmm0, qword [rbp + 0x27]
lea rdx, [rbx + 0x50]
mov eax, dword [rbp + 0x2f]
lea r8, [rbp + 0x17]
mov rcx, qword [0x14023d9d8]
mov r9d, listen
movsd qword [rbp + 0x17], xmm0
mov dword [rbp + 0x1f], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140120290
add rsp, 0x90
pop rbp
ret