Function at 0x140009a60
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push rdi
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x14005c040]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdx, qword [0x140146518]
lea r8, [rbp - 0x39]
add rdx, qword [0x140146548]
xor r15d, r15d
mov rdi, rcx
mov qword [r11 + 0x18], rsi
mov rcx, qword [0x140146570]
movaps xmmword [r11 - 0x28], xmm6
lea r9d, [r15 + 8]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x39]
lea r9d, [r15 + 8]
mov rcx, qword [0x140146570]
lea r8, [rbp - 9]
add rdx, 0x20
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rsi, qword [rbp - 9]
cmp byte [rdi + 0x21], r15b
je 0x140009b5c
mov rdx, qword [0x140146530]
lea r9d, [r15 + 8]
add rdx, qword [0x140146518]
lea r8, [rbp - 0x39]
mov rcx, qword [0x140146570]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x39]
lea r9d, [r15 + 8]
add rdx, qword [0x140146550]
lea r8, [rbp - 0x29]
mov rcx, qword [0x140146570]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x29]
lea r9d, [r15 + 4]
movss xmm0, dword [rdi + 0x24]
lea r8, [rbp - 0x39]
mov rcx, qword [0x140146570]
add rdx, 0x4c
movss dword [rbp - 0x39], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xorps xmm6, xmm6
mov qword [rsp + 0xe8], rbx
cmp byte [rdi], r15b
je 0x140009dae
mov rdx, qword [0x140146518]
lea r8, [rbp - 1]
mov rcx, qword [0x140146570]
add rdx, 0x90
mov r9d, 0xc
mov qword [rsp + 0xf8], r14
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x140146518]
lea r8, [rbp - 0x29]
mov rcx, qword [0x140146570]
add rdx, 0x30
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r14, qword [rbp - 0x29]
lea r8, [rbp - 0x19]
mov rcx, qword [0x140146570]
mov r9d, 0xc
mov qword [rbp - 0x19], r15
mov dword [rbp - 0x11], r15d
lea rdx, [r14 + 0x30]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140009da6
mov rdx, qword [0x140146518]
lea r8, [rbp - 0x39]
mov rcx, qword [0x140146570]
add rdx, 0x320
movaps xmmword [rsp + 0xa0], xmm7
mov r9d, 0xc
movaps xmmword [rsp + 0x90], xmm8
mov qword [rbp - 0x39], r15
mov dword [rbp - 0x31], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x140146560]
lea r8, [rbp - 0x39]
mov rcx, qword [0x140146570]
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x39]
lea r8, [rbp - 0x19]
mov rcx, qword [0x140146570]
mov r9d, 0xc
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 0x3d0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm8, dword [rbp - 0x19]
ucomiss xmm8, xmm6
jp 0x140009cfc
jne 0x140009cfc
movss xmm0, dword [rbp - 0x15]
ucomiss xmm0, xmm6
jp 0x140009cfc
jne 0x140009cfc
movss xmm0, dword [rbp - 0x11]
ucomiss xmm0, xmm6
jp 0x140009cfc
jne 0x140009cfc
mov rcx, qword [0x140146570]
lea rdx, [rbx + 0x40]
mov r9d, 0xc
mov qword [rsp + 0x20], r15
lea r8, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm0, dword [rbp - 0x45]
movss xmm1, dword [rbp - 0x41]
movss xmm8, dword [rbp - 0x49]
movss dword [rbp - 0x15], xmm0
movss dword [rbp - 0x11], xmm1
movss dword [rbp - 0x19], xmm8
movss xmm0, dword [0x140053260]
lea r8, [rbp - 0x49]
movss xmm7, dword [rbp - 0x15]
mov r9d, 0xc
movss xmm6, dword [rbp - 0x11]
mov rdx, qword [0x140146518]
mov rcx, qword [0x140146570]
add rdx, 0x90
mulss xmm8, xmm0
mov qword [rsp + 0x20], r15
mulss xmm7, xmm0
addss xmm8, dword [rbp - 1]
mulss xmm6, xmm0
addss xmm7, dword [rbp + 3]
addss xmm6, dword [rbp + 7]
movss dword [rbp - 0x49], xmm8
movss dword [rbp - 0x45], xmm7
movss dword [rbp - 0x41], xmm6
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x140146570]
lea rdx, [r14 + 0x50]
mov r9d, 0xc
movss dword [rbp - 0x49], xmm8
lea r8, [rbp - 0x49]
movss dword [rbp - 0x45], xmm7
movss dword [rbp - 0x41], xmm6
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
mov r14, qword [rsp + 0xf8]
movaps xmm6, xmmword [rsp + 0xb0]
cmp byte [rdi + 1], r15b
je 0x140009e1e
mov rdx, qword [0x140146518]
lea r8, [rbp - 0x39]
mov rcx, qword [0x140146570]
add rdx, 0x280
mov r9d, 4
mov dword [rbp - 0x39], 0x43480000
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x140146540]
lea r8, [rbp - 0x39]
add rdx, qword [0x140146518]
mov r9d, 4
mov rcx, qword [0x140146570]
mov dword [rbp - 0x39], 0x42c80000
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 4], r15b
je 0x140009e86
mov rdx, qword [0x140146518]
lea r8, [rbp - 0x39]
mov rcx, qword [0x140146570]
add rdx, 0x189
mov r9d, 4
mov dword [rbp - 0x39], 0x43480000
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x140146540]
lea r8, [rbp - 0x39]
add rdx, qword [0x140146518]
mov r9d, 4
mov rcx, qword [0x140146570]
mov dword [rbp - 0x39], 0x42c80000
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 5], r15b
je 0x140009f1e
mov rdx, qword [0x140146518]
lea r8, [rbp - 0x29]
mov rcx, qword [0x140146570]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [rdi + 0xc]
lea r8, [rbp - 0x39]
mov rbx, qword [rbp - 0x29]
mov r9d, 4
mov rcx, qword [0x140146570]
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 0xcf0]
movss dword [rbp - 0x39], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movd xmm0, dword [rdi + 0x10]
lea rdx, [rbx + 0x170]
mov rcx, qword [0x140146570]
lea r8, [rbp - 0x39]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r15
movss dword [rbp - 0x39], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x140146518]
lea r8, [rbp - 0x29]
mov rcx, qword [0x140146570]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r15
cmp byte [rdi + 6], r15b
je 0x140009f57
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 0x39], 0x42c80000
jmp 0x140009f64
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 0x39], 0x3f800000
mov rdx, qword [rbp - 0x29]
lea r8, [rbp - 0x39]
mov rcx, qword [0x140146570]
add rdx, 0xcf4
mov r9d, 4
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x2f4]
mov rcx, qword [0x140146570]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r15
mov r9d, 4
mov dword [rbp - 0x39], r15d
cmp byte [rdi + 9], r15b
jne 0x140009fb9
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x84]
mov rcx, qword [0x140146570]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r15
mov r9d, 4
mov dword [rbp - 0x39], r15d
cmp byte [rdi + 0xa], r15b
jne 0x140009fed
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x134]
mov rcx, qword [0x140146570]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r15
mov r9d, 4
mov dword [rbp - 0x39], 0x447a0000
cmp byte [rdi + 0xb], r15b
jne 0x14000a024
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 7], r15b
je 0x14000a0e3
mov rcx, qword [0x140146570]
lea rdx, [rsi + 0x60]
mov r9d, 8
mov qword [rsp + 0x20], r15
lea r8, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x29]
lea r8, [rbp - 0x39]
mov rcx, qword [0x140146570]
add rdx, 8
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x39]
lea r8, [rbp - 0x29]
mov rcx, qword [0x140146570]
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x29]
lea r8, [rbp - 0x39]
mov rcx, qword [0x140146570]
mov r9d, 8
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140146570]
lea r8, [rbp - 0x39]
mov r9d, 4
mov dword [rbp - 0x39], 0x41f00000
lea rdx, [rbx + 0x18]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rbx, qword [rsp + 0xe8]
cmp byte [rdi + 8], r15b
je 0x14000a121
movd xmm0, dword [rdi + 0x14]
lea rdx, [rsi + 0xb0]
mov rcx, qword [0x140146570]
lea r8, [rbp - 0x39]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r15
movss dword [rbp - 0x39], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rsi, qword [rsp + 0xf0]
cmp byte [rdi + 0x18], r15b
je 0x14000a1ae
mov rdx, qword [0x140146580]
lea r8, [rbp - 0x29]
add rdx, qword [0x140146560]
mov r9d, 8
mov rcx, qword [0x140146570]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x29]
lea r8, [rbp - 9]
mov rcx, qword [0x140146570]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [rdi + 0x1c]
lea r8, [rbp - 0x39]
mov rdx, qword [rbp - 9]
mov r9d, 4
mov rcx, qword [0x140146570]
add rdx, 0x30
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], r15
movss dword [rbp - 0x39], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140049010
add rsp, 0xc0
pop r15
pop rdi
pop rbp
ret