Function at 0x140004cd0
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 [0x14005d040]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdx, qword [0x14005db78]
lea r8, [rbp - 0x31]
xor r15d, r15d
mov qword [r11 + 0x18], rsi
mov rdi, rcx
movaps xmmword [r11 - 0x28], xmm6
mov rcx, qword [0x14005dbb0]
add rdx, 0x10d8
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x31]
lea r9d, [r15 + 8]
mov rcx, qword [0x14005dbb0]
lea r8, [rbp + 7]
add rdx, 0x20
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rsi, qword [rbp + 7]
cmp byte [rdi + 1], r15b
je 0x140004d7f
mov rdx, qword [0x14005db78]
lea r9d, [r15 + 1]
mov rcx, qword [0x14005dbb0]
lea r8, [rbp - 0x39]
add rdx, 0x189
mov byte [rbp - 0x39], 1
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 0x140004fd1
mov rdx, qword [0x14005db78]
lea r8, [rbp - 9]
mov rcx, qword [0x14005dbb0]
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 [0x14005db78]
lea r8, [rbp - 0x31]
mov rcx, qword [0x14005dbb0]
add rdx, 0x30
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r14, qword [rbp - 0x31]
lea r8, [rbp - 0x29]
mov rcx, qword [0x14005dbb0]
mov r9d, 0xc
mov qword [rbp - 0x29], r15
mov dword [rbp - 0x21], r15d
lea rdx, [r14 + 0x30]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140004fc9
mov rdx, qword [0x14005db78]
lea r8, [rbp - 0x19]
mov rcx, qword [0x14005dbb0]
add rdx, 0x320
movaps xmmword [rsp + 0xa0], xmm7
mov r9d, 0xc
movaps xmmword [rsp + 0x90], xmm8
mov qword [rbp - 0x19], r15
mov dword [rbp - 0x11], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x14005dba0]
lea r8, [rbp - 0x19]
mov rcx, qword [0x14005dbb0]
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
lea r8, [rbp - 0x29]
mov rcx, qword [0x14005dbb0]
mov r9d, 0xc
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 0x3d0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm8, dword [rbp - 0x29]
ucomiss xmm8, xmm6
jp 0x140004f1f
jne 0x140004f1f
movss xmm0, dword [rbp - 0x25]
ucomiss xmm0, xmm6
jp 0x140004f1f
jne 0x140004f1f
movss xmm0, dword [rbp - 0x21]
ucomiss xmm0, xmm6
jp 0x140004f1f
jne 0x140004f1f
mov rcx, qword [0x14005dbb0]
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 - 0x25], xmm0
movss dword [rbp - 0x21], xmm1
movss dword [rbp - 0x29], xmm8
movss xmm0, dword [0x140054340]
lea r8, [rbp - 0x49]
movss xmm7, dword [rbp - 0x25]
mov r9d, 0xc
movss xmm6, dword [rbp - 0x21]
mov rdx, qword [0x14005db78]
mov rcx, qword [0x14005dbb0]
add rdx, 0x90
mulss xmm8, xmm0
mov qword [rsp + 0x20], r15
mulss xmm7, xmm0
addss xmm8, dword [rbp - 9]
mulss xmm6, xmm0
addss xmm7, dword [rbp - 5]
addss xmm6, dword [rbp - 1]
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 [0x14005dbb0]
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 + 0x25], r15b
je 0x14000505e
mov rdx, qword [0x14005db80]
lea r8, [rbp - 0x19]
add rdx, qword [0x14005db78]
mov r9d, 8
mov rcx, qword [0x14005dbb0]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 0x29]
add rdx, qword [0x14005db90]
mov r9d, 8
mov rcx, qword [0x14005dbb0]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x29]
lea r8, [rbp - 0x31]
movss xmm0, dword [rdi + 0x28]
add rdx, 0x4c
mov rcx, qword [0x14005dbb0]
mov r9d, 4
movss dword [rbp - 0x31], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 2], r15b
je 0x140005095
mov rdx, qword [0x14005db78]
lea r8, [rbp - 0x31]
mov rcx, qword [0x14005dbb0]
add rdx, 0x1530
mov r9d, 4
mov dword [rbp - 0x31], 0x42c80000
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 3], r15b
je 0x1400050cc
mov rdx, qword [0x14005db78]
lea r8, [rbp - 0x39]
mov rcx, qword [0x14005dbb0]
add rdx, 0x2c
mov r9d, 1
mov byte [rbp - 0x39], 1
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 3], r15b
jne 0x1400050f7
mov rdx, qword [0x14005db78]
lea r8, [rbp - 0x39]
mov rcx, qword [0x14005dbb0]
add rdx, 0x2c
mov r9d, 1
mov byte [rbp - 0x39], 0x37
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 4], r15b
je 0x14000518f
mov rdx, qword [0x14005db78]
lea r8, [rbp - 0x29]
mov rcx, qword [0x14005dbb0]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [rdi + 0x10]
lea r8, [rbp - 0x31]
mov rbx, qword [rbp - 0x29]
mov r9d, 4
mov rcx, qword [0x14005dbb0]
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 0xcf0]
movss dword [rbp - 0x31], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movd xmm0, dword [rdi + 0x14]
lea rdx, [rbx + 0x170]
mov rcx, qword [0x14005dbb0]
lea r8, [rbp - 0x31]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r15
movss dword [rbp - 0x31], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 5], r15b
je 0x1400051ed
mov rdx, qword [0x14005db78]
lea r8, [rbp - 0x29]
mov rcx, qword [0x14005dbb0]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x29]
lea r8, [rbp - 0x31]
mov rcx, qword [0x14005dbb0]
add rdx, 0xcf4
mov r9d, 4
mov dword [rbp - 0x31], 0x42c80000
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 8], r15b
je 0x14000521a
mov rcx, qword [0x14005dbb0]
lea rdx, [rsi + 0x2f4]
mov r9d, 4
mov dword [rbp - 0x31], r15d
lea r8, [rbp - 0x31]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0xa], r15b
je 0x140005247
mov rcx, qword [0x14005dbb0]
lea rdx, [rsi + 0x84]
mov r9d, 4
mov dword [rbp - 0x31], r15d
lea r8, [rbp - 0x31]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0xb], r15b
je 0x140005277
mov rcx, qword [0x14005dbb0]
lea rdx, [rsi + 0x134]
mov r9d, 4
mov dword [rbp - 0x31], 0x447a0000
lea r8, [rbp - 0x31]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 6], r15b
je 0x140005312
mov rcx, qword [0x14005dbb0]
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 - 0x19]
mov rcx, qword [0x14005dbb0]
add rdx, 0x8d
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
lea r8, [rbp - 0x29]
mov rcx, qword [0x14005dbb0]
mov rdx, rbx
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14005dbb0]
lea rdx, [rbx + 0x18]
mov r9d, 4
mov dword [rbp - 0x31], 0x270f
lea r8, [rbp - 0x31]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rbx, qword [rsp + 0xe8]
cmp byte [rdi + 7], r15b
je 0x140005350
movd xmm0, dword [rdi + 0x18]
lea rdx, [rsi + 0xb0]
mov rcx, qword [0x14005dbb0]
lea r8, [rbp - 0x31]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r15
movss dword [rbp - 0x31], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rsi, qword [rsp + 0xf0]
cmp byte [rdi + 0x1c], r15b
je 0x1400053dd
mov rdx, qword [0x14005dbc0]
lea r8, [rbp - 0x29]
add rdx, qword [0x14005dba0]
mov r9d, 8
mov rcx, qword [0x14005dbb0]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x29]
lea r8, [rbp - 0x19]
mov rcx, qword [0x14005dbb0]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [rdi + 0x20]
lea r8, [rbp - 0x31]
mov rdx, qword [rbp - 0x19]
mov r9d, 4
mov rcx, qword [0x14005dbb0]
add rdx, 0x30
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], r15
movss dword [rbp - 0x31], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14004c580
add rsp, 0xc0
pop r15
pop rdi
pop rbp
ret