Function at 0x18001a880
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x110
mov rax, qword [0x18027d040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [0x1802b4ae8], 0
mov rdi, rcx
je 0x18001aca1
mov rdx, qword [0x1802b4ad8]
test rdx, rdx
je 0x18001aca1
cmp byte [0x1802b3a78], 0
mov qword [rsp + 0x120], rbx
je 0x18001ac4a
mov ecx, dword [0x1802b3a7c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001ac43
movaps xmmword [rsp + 0x100], xmm6
xor ebx, ebx
cmp byte [0x1802b4ce0], bl
movaps xmmword [rsp + 0xf0], xmm7
movaps xmmword [rsp + 0xe0], xmm8
movaps xmmword [rsp + 0xd0], xmm9
movaps xmmword [rsp + 0xc0], xmm10
movaps xmmword [rsp + 0xb0], xmm11
movaps xmmword [rsp + 0xa0], xmm12
movaps xmmword [rsp + 0x90], xmm13
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm15
jne 0x18001a9c9
mov rcx, qword [0x1802b4c68]
test rcx, rcx
je 0x18001a982
cmp dword [0x1802b4c60], ebx
je 0x18001a982
mov rdx, qword [0x1802b4ad8]
lea r8, [rsp + 0x58]
add rdx, 0x2c
mov qword [rsp + 0x20], rbx
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1802b4c68]
movss xmm0, dword [rsp + 0x58]
movss dword [0x1802b4ce4], xmm0
mov dword [rsp + 0x50], ebx
test rcx, rcx
je 0x18001a9c2
cmp dword [0x1802b4c60], ebx
je 0x18001a9c2
mov rdx, qword [0x1802b4ad8]
lea r8, [rsp + 0x50]
add rdx, 0x2c
mov qword [rsp + 0x20], rbx
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [0x1802b4ce0], 1
movd xmm6, dword [0x1802b3a80]
mov ecx, 0x10
cvtdq2ps xmm6, xmm6
divss xmm6, dword [0x18026fe70]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001a9f4
mulss xmm6, dword [0x18026fda4]
movss xmm8, dword [0x1802b4cb0]
mov ecx, 0x57
movss xmm9, dword [0x1802b4cb4]
movaps xmm12, xmm8
movss xmm7, dword [0x1802b4cb8]
movaps xmm14, xmm9
movaps xmm15, xmm7
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm11, dword [rdi]
movss xmm13, dword [rdi + 4]
movss xmm10, dword [rdi + 8]
test ax, ax
je 0x18001aa64
movaps xmm8, xmm11
movaps xmm9, xmm13
movaps xmm7, xmm10
mulss xmm8, xmm6
mulss xmm9, xmm6
mulss xmm7, xmm6
addss xmm8, xmm12
addss xmm9, xmm14
addss xmm7, xmm15
mov ecx, 0x53
movaps xmm15, xmm10
movaps xmm14, xmm13
movaps xmm12, xmm11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001aaa6
movaps xmm0, xmm11
movaps xmm1, xmm13
mulss xmm0, xmm6
mulss xmm1, xmm6
subss xmm8, xmm0
movaps xmm0, xmm10
mulss xmm0, xmm6
subss xmm9, xmm1
subss xmm7, xmm0
xorps xmm0, xmm0
movaps xmm12, xmm13
mulss xmm10, xmm0
mov ecx, 0x41
mulss xmm13, xmm0
subss xmm12, xmm10
subss xmm10, xmm11
mulss xmm11, xmm0
subss xmm11, xmm13
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm15, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
movaps xmm13, xmmword [rsp + 0x90]
test ax, ax
je 0x18001ab19
movaps xmm0, xmm12
movaps xmm1, xmm10
mulss xmm0, xmm6
mulss xmm1, xmm6
subss xmm8, xmm0
movaps xmm0, xmm11
mulss xmm0, xmm6
subss xmm9, xmm1
subss xmm7, xmm0
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001ab47
mulss xmm12, xmm6
mulss xmm10, xmm6
mulss xmm11, xmm6
addss xmm8, xmm12
addss xmm9, xmm10
addss xmm7, xmm11
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm12, xmmword [rsp + 0xa0]
movaps xmm11, xmmword [rsp + 0xb0]
movaps xmm10, xmmword [rsp + 0xc0]
test ax, ax
je 0x18001ab76
addss xmm7, xmm6
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001ab8a
subss xmm7, xmm6
mov rcx, qword [0x1802b4c68]
movaps xmm0, xmm8
mov rdi, qword [0x1802b4ad0]
mov rdx, qword [0x1802b4ae8]
movaps xmm6, xmmword [rsp + 0x100]
unpcklps xmm0, xmm9
movsd qword [rsp + 0x30], xmm0
movss dword [rsp + 0x38], xmm7
test rcx, rcx
je 0x18001abec
cmp dword [0x1802b4c60], ebx
je 0x18001abec
add rdx, 0x90
mov qword [rsp + 0x20], rbx
mov r9d, 0xc
lea r8, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x1802b4c68]
movss dword [rsp + 0x48], xmm7
movaps xmm0, xmm8
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
unpcklps xmm0, xmm9
movaps xmm9, xmmword [rsp + 0xd0]
movsd qword [rsp + 0x40], xmm0
test rcx, rcx
je 0x18001ac99
cmp dword [0x1802b4c60], ebx
je 0x18001ac99
lea rdx, [rdi + 0x50]
mov qword [rsp + 0x20], rbx
mov r9d, 0xc
lea r8, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x18001ac99
mov rdx, qword [0x1802b4ad8]
cmp byte [0x1802b4ce0], 0
je 0x18001ac92
mov rcx, qword [0x1802b4c68]
movss xmm0, dword [0x1802b4ce4]
movss dword [rsp + 0x50], xmm0
test rcx, rcx
je 0x18001ac92
cmp dword [0x1802b4c60], 0
je 0x18001ac92
xor ebx, ebx
lea r8, [rsp + 0x50]
add rdx, 0x2c
mov qword [rsp + 0x20], rbx
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [0x1802b4ce0], 0
mov rbx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180074910
add rsp, 0x110
pop rdi
ret