Function at 0x140017cc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x1400ba040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rcx, qword [0x14022d9b0]
xor r14d, r14d
test rcx, rcx
je 0x140017d2a
cmp dword [0x14022d804], r14d
je 0x140017d2a
mov rdx, qword [0x14022e7b0]
lea r8, [rbp + 0xf]
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14022d9b0]
test eax, eax
je 0x140017d2a
mov rdx, qword [rbp + 0xf]
jmp 0x140017d31
mov rdx, r14
mov qword [rbp + 0xf], rdx
test rcx, rcx
je 0x140017d69
cmp dword [0x14022d804], r14d
je 0x140017d69
add rdx, 8
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14022d9b0]
test eax, eax
je 0x140017d69
mov rdi, qword [rbp + 0x17]
jmp 0x140017d70
mov rdi, r14
mov qword [rbp + 0x17], r14
mov rdx, qword [0x14022d7e8]
add rdx, rdi
test rcx, rcx
je 0x140017dae
cmp dword [0x14022d804], r14d
je 0x140017dae
mov r9d, 8
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14022d9b0]
test eax, eax
je 0x140017dae
mov rdx, qword [rbp + 0x1f]
jmp 0x140017db5
mov rdx, r14
mov qword [rbp + 0x1f], rdx
mov qword [rsp + 0x108], rsi
test rcx, rcx
je 0x140017df5
cmp dword [0x14022d804], r14d
je 0x140017df5
add rdx, 0x20
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14022d9b0]
test eax, eax
je 0x140017df5
mov rsi, qword [rbp + 0x27]
jmp 0x140017dfc
mov rsi, r14
mov qword [rbp + 0x27], r14
test rdi, rdi
je 0x1400182c6
cmp byte [0x14022eaf1], r14b
je 0x140017e26
mov byte [rbp - 0x39], 1
test rcx, rcx
je 0x140017e5b
cmp dword [0x14022d804], r14d
je 0x140017e5b
lea r8, [rbp - 0x39]
jmp 0x140017e3c
mov byte [rbp - 0x31], r14b
test rcx, rcx
je 0x140017e5b
cmp dword [0x14022d804], r14d
je 0x140017e5b
lea r8, [rbp - 0x31]
mov r9d, 1
mov qword [rsp + 0x20], r14
lea rdx, [rdi + 0x189]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14022d9b0]
cmp byte [0x14022eaf2], r14b
je 0x140018140
mov qword [rsp + 0x100], rbx
test rcx, rcx
je 0x140017eab
cmp dword [0x14022d804], r14d
je 0x140017eab
mov rdx, qword [0x14022e7c8]
lea r8, [rbp - 0x19]
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14022d9b0]
test eax, eax
je 0x140017eab
mov rbx, qword [rbp - 0x19]
jmp 0x140017eb2
mov rbx, r14
mov qword [rbp - 0x19], rbx
test rcx, rcx
je 0x140017ee7
cmp dword [0x14022d804], r14d
je 0x140017ee7
lea rdx, [rdi + 0x90]
mov qword [rsp + 0x20], r14
mov r9d, 0xc
lea r8, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14022d9b0]
test eax, eax
jne 0x140017eeb
mov qword [rbp - 0x29], r14
test rcx, rcx
je 0x140017f19
cmp dword [0x14022d804], r14d
je 0x140017f19
lea rdx, [rbx + 0x3d0]
mov qword [rsp + 0x20], r14
mov r9d, 0xc
lea r8, [rbp + 0x3f]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140017f1d
mov qword [rbp + 0x3f], r14
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140017f46
movss xmm1, dword [rbp - 0x25]
movd xmm0, dword [0x14022eaf4]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 0x25], xmm1
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140017f6f
movss xmm1, dword [rbp - 0x25]
movd xmm0, dword [0x14022eaf4]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp - 0x25], xmm1
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140017f98
movss xmm1, dword [rbp - 0x21]
movd xmm0, dword [0x14022eaf4]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 0x21], xmm1
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140017fcc
movss xmm1, dword [rbp - 0x21]
movd xmm0, dword [0x14022eaf4]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp - 0x21], xmm1
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140017ff5
movss xmm1, dword [rbp - 0x29]
movd xmm0, dword [0x14022eaf4]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp - 0x29], xmm1
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14001801e
movss xmm1, dword [rbp - 0x29]
movd xmm0, dword [0x14022eaf4]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 0x29], xmm1
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140018035
mov byte [0x14022eaf2], r14b
mov rcx, qword [0x14022d9b0]
movsd xmm0, qword [rbp - 0x29]
mov eax, dword [rbp - 0x21]
movsd qword [rbp - 0x69], xmm0
mov dword [rbp - 0x61], eax
test rcx, rcx
je 0x1400180b5
cmp dword [0x14022d804], r14d
je 0x14001807d
lea rdx, [rdi + 0x90]
mov qword [rsp + 0x20], r14
mov r9d, 0xc
lea r8, [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14022d9b0]
test rcx, rcx
je 0x1400180b5
cmp dword [0x14022d804], r14d
je 0x1400180b5
lea rdx, [rdi + 0x30]
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14022d9b0]
test eax, eax
je 0x1400180b5
mov rbx, qword [rbp + 0x2f]
jmp 0x1400180bc
mov rbx, r14
mov qword [rbp + 0x2f], rbx
movsd xmm0, qword [rbp - 0x29]
mov eax, dword [rbp - 0x21]
movsd qword [rbp - 0x59], xmm0
mov dword [rbp - 0x51], eax
test rcx, rcx
je 0x1400180fa
cmp dword [0x14022d804], r14d
je 0x1400180fa
lea rdx, [rbx + 0x30]
mov qword [rsp + 0x20], r14
mov r9d, 0xc
lea r8, [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14022d9b0]
movsd xmm0, qword [rbp - 0x29]
mov eax, dword [rbp - 0x21]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
test rcx, rcx
je 0x140018138
cmp dword [0x14022d804], r14d
je 0x140018138
lea rdx, [rbx + 0x50]
mov qword [rsp + 0x20], r14
mov r9d, 0xc
lea r8, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14022d9b0]
mov rbx, qword [rsp + 0x100]
cmp byte [0x14022eb0b], r14b
je 0x14001817e
mov dword [rbp - 0x11], r14d
test rcx, rcx
je 0x14001817e
cmp dword [0x14022d804], r14d
je 0x14001817e
lea rdx, [rsi + 0x2f4]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14022d9b0]
cmp byte [0x14022eb0a], r14b
je 0x1400181bc
mov dword [rbp - 9], r14d
test rcx, rcx
je 0x1400181bc
cmp dword [0x14022d804], r14d
je 0x1400181bc
lea rdx, [rsi + 0x84]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14022d9b0]
cmp byte [0x14022eb0c], r14b
je 0x140018203
movss xmm0, dword [0x14022eb10]
movss dword [rbp - 1], xmm0
test rcx, rcx
je 0x140018203
cmp dword [0x14022d804], r14d
je 0x140018203
lea rdx, [rsi + 0xb0]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14022d9b0]
cmp byte [0x14022eb09], r14b
je 0x140018241
mov dword [rbp + 7], 0x447a0000
test rcx, rcx
je 0x140018241
cmp dword [0x14022d804], r14d
je 0x140018241
lea rdx, [rsi + 0x28]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14022d9b0]
mov rdx, qword [0x14022d7c0]
add rdx, rdi
test rcx, rcx
je 0x14001827f
cmp dword [0x14022d804], r14d
je 0x14001827f
mov r9d, 8
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x37]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14022d9b0]
test eax, eax
je 0x14001827f
mov rdx, qword [rbp + 0x37]
jmp 0x140018286
mov rdx, r14
mov qword [rbp + 0x37], rdx
cmp byte [0x14022eaf8], r14b
je 0x1400182c6
movss xmm0, dword [0x14022eafc]
movss dword [rbp - 0x19], xmm0
test rcx, rcx
je 0x1400182c6
cmp dword [0x14022d804], r14d
je 0x1400182c6
add rdx, 0xcf0
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rsi, qword [rsp + 0x108]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140098d20
lea r11, [rsp + 0xf0]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret