Function at 0x140041bf0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
xor esi, esi
mov rdi, rcx
cmp byte [rcx], sil
je 0x140041eb8
mov ecx, 0xa0
mov qword [rsp + 0x90], rbx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x140de41e8]
test ax, ax
je 0x140041c35
movss xmm0, dword [0x1401641e4]
jmp 0x140041c3d
movss xmm0, dword [0x14016417c]
mov rdx, qword [0x140de4e70]
lea r8, [rbp + 0x20]
mov rcx, qword [0x140de5028]
mov r9d, 8
movss dword [0x140de2e58], xmm0
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x140de4dc0]
lea r8, [rbp - 0x30]
mov rcx, qword [0x140de5028]
add rdx, 0x90
mov r9d, recv
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x20]
lea r8, [rbp - 0x10]
mov rcx, qword [0x140de5028]
add rdx, 0x3d0
mov r9d, recv
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x140de4dc0]
lea r8, [rbp + 0x28]
mov rcx, qword [0x140de5028]
add rdx, 0x20
mov r9d, 8
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140041d02
movss xmm0, dword [rbp - 0x2c]
addss xmm0, dword [0x140de2e58]
movss dword [rbp - 0x2c], xmm0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140041d24
movss xmm0, dword [rbp - 0x2c]
subss xmm0, dword [0x140de2e58]
movss dword [rbp - 0x2c], xmm0
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140041d46
movss xmm0, dword [rbp - 0x28]
addss xmm0, dword [0x140de2e58]
movss dword [rbp - 0x28], xmm0
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140041d68
movss xmm0, dword [rbp - 0x28]
subss xmm0, dword [0x140de2e58]
movss dword [rbp - 0x28], xmm0
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140041d8a
movss xmm0, dword [rbp - 0x30]
subss xmm0, dword [0x140de2e58]
movss dword [rbp - 0x30], xmm0
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140041dac
movss xmm0, dword [rbp - 0x30]
addss xmm0, dword [0x140de2e58]
movss dword [rbp - 0x30], xmm0
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140041dbf
mov byte [rdi], sil
mov rdx, qword [0x140de4dc0]
lea r8, [rbp - 0x20]
movsd xmm0, qword [rbp - 0x30]
add rdx, 0x90
mov eax, dword [rbp - 0x28]
mov r9d, recv
mov rcx, qword [0x140de5028]
movsd qword [rbp - 0x20], xmm0
mov dword [rbp - 0x18], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rbp + 0x28]
lea r8, [rbp + 0x20]
mov rcx, qword [0x140de5028]
add rdx, 0x2e
mov r9d, 4
mov dword [rbp + 0x20], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x140de4dc0]
lea r8, [rbp + 0x20]
mov rcx, qword [0x140de5028]
add rdx, 0x30
mov r9d, 8
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp + 0x20]
lea r8, [rbp - 0x20]
movsd xmm0, qword [rbp - 0x30]
mov r9d, recv
mov eax, dword [rbp - 0x28]
mov rcx, qword [0x140de5028]
lea rdx, [rbx + 0x30]
movsd qword [rbp - 0x20], xmm0
mov dword [rbp - 0x18], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movsd xmm0, qword [rbp - 0x30]
lea rdx, [rbx + 0x50]
mov eax, dword [rbp - 0x28]
lea r8, [rbp - 0x20]
mov rcx, qword [0x140de5028]
mov r9d, recv
movsd qword [rbp - 0x20], xmm0
mov dword [rbp - 0x18], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rbx, qword [rsp + 0x90]
cmp byte [rdi], sil
jne 0x140041f0a
mov rdx, qword [0x140de4dc0]
lea r8, [rbp + 0x28]
mov rcx, qword [0x140de5028]
add rdx, 0x20
mov r9d, 8
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x28]
lea r8, [rbp + 0x20]
mov rcx, qword [0x140de5028]
add rdx, 0x2e
mov r9d, 4
mov dword [rbp + 0x20], 0x9573f9a
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret