Function at 0x140017650
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 0x1400176ba
cmp dword [0x14022d804], r14d
je 0x1400176ba
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 0x1400176ba
mov rdx, qword [rbp + 0xf]
jmp 0x1400176c1
mov rdx, r14
mov qword [rbp + 0xf], rdx
test rcx, rcx
je 0x1400176f9
cmp dword [0x14022d804], r14d
je 0x1400176f9
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 0x1400176f9
mov rdi, qword [rbp + 0x17]
jmp 0x140017700
mov rdi, r14
mov qword [rbp + 0x17], r14
mov rdx, qword [0x14022d7e8]
add rdx, rdi
test rcx, rcx
je 0x14001773e
cmp dword [0x14022d804], r14d
je 0x14001773e
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 0x14001773e
mov rdx, qword [rbp + 0x1f]
jmp 0x140017745
mov rdx, r14
mov qword [rbp + 0x1f], rdx
mov qword [rsp + 0x108], rsi
test rcx, rcx
je 0x140017785
cmp dword [0x14022d804], r14d
je 0x140017785
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 0x140017785
mov rsi, qword [rbp + 0x27]
jmp 0x14001778c
mov rsi, r14
mov qword [rbp + 0x27], r14
test rdi, rdi
je 0x140017c56
cmp byte [0x14022eaf1], r14b
je 0x1400177b6
mov byte [rbp - 0x39], 1
test rcx, rcx
je 0x1400177eb
cmp dword [0x14022d804], r14d
je 0x1400177eb
lea r8, [rbp - 0x39]
jmp 0x1400177cc
mov byte [rbp - 0x31], r14b
test rcx, rcx
je 0x1400177eb
cmp dword [0x14022d804], r14d
je 0x1400177eb
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 0x140017ad0
mov qword [rsp + 0x100], rbx
test rcx, rcx
je 0x14001783b
cmp dword [0x14022d804], r14d
je 0x14001783b
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 0x14001783b
mov rbx, qword [rbp - 0x19]
jmp 0x140017842
mov rbx, r14
mov qword [rbp - 0x19], rbx
test rcx, rcx
je 0x140017877
cmp dword [0x14022d804], r14d
je 0x140017877
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 0x14001787b
mov qword [rbp - 0x29], r14
test rcx, rcx
je 0x1400178a9
cmp dword [0x14022d804], r14d
je 0x1400178a9
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 0x1400178ad
mov qword [rbp + 0x3f], r14
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400178d6
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 0x1400178ff
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 0x140017928
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 0x14001795c
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 0x140017985
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 0x1400179ae
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 0x1400179c5
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 0x140017a45
cmp dword [0x14022d804], r14d
je 0x140017a0d
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 0x140017a45
cmp dword [0x14022d804], r14d
je 0x140017a45
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 0x140017a45
mov rbx, qword [rbp + 0x2f]
jmp 0x140017a4c
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 0x140017a8a
cmp dword [0x14022d804], r14d
je 0x140017a8a
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 0x140017ac8
cmp dword [0x14022d804], r14d
je 0x140017ac8
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 0x140017b0e
mov dword [rbp - 0x11], r14d
test rcx, rcx
je 0x140017b0e
cmp dword [0x14022d804], r14d
je 0x140017b0e
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 0x140017b4c
mov dword [rbp - 9], r14d
test rcx, rcx
je 0x140017b4c
cmp dword [0x14022d804], r14d
je 0x140017b4c
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 0x140017b93
movss xmm0, dword [0x14022eb10]
movss dword [rbp - 1], xmm0
test rcx, rcx
je 0x140017b93
cmp dword [0x14022d804], r14d
je 0x140017b93
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 0x140017bd1
mov dword [rbp + 7], 0x447a0000
test rcx, rcx
je 0x140017bd1
cmp dword [0x14022d804], r14d
je 0x140017bd1
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 0x140017c0f
cmp dword [0x14022d804], r14d
je 0x140017c0f
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 0x140017c0f
mov rdx, qword [rbp + 0x37]
jmp 0x140017c16
mov rdx, r14
mov qword [rbp + 0x37], rdx
cmp byte [0x14022eaf8], r14b
je 0x140017c56
movss xmm0, dword [0x14022eafc]
movss dword [rbp - 0x19], xmm0
test rcx, rcx
je 0x140017c56
cmp dword [0x14022d804], r14d
je 0x140017c56
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.140098830
lea r11, [rsp + 0xf0]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret