Function at 0x140017f70
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 0x140017fda
cmp dword [0x14022d804], r14d
je 0x140017fda
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 0x140017fda
mov rdx, qword [rbp + 0xf]
jmp 0x140017fe1
mov rdx, r14
mov qword [rbp + 0xf], rdx
test rcx, rcx
je 0x140018019
cmp dword [0x14022d804], r14d
je 0x140018019
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 0x140018019
mov rdi, qword [rbp + 0x17]
jmp 0x140018020
mov rdi, r14
mov qword [rbp + 0x17], r14
mov rdx, qword [0x14022d7e8]
add rdx, rdi
test rcx, rcx
je 0x14001805e
cmp dword [0x14022d804], r14d
je 0x14001805e
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 0x14001805e
mov rdx, qword [rbp + 0x1f]
jmp 0x140018065
mov rdx, r14
mov qword [rbp + 0x1f], rdx
mov qword [rsp + 0x108], rsi
test rcx, rcx
je 0x1400180a5
cmp dword [0x14022d804], r14d
je 0x1400180a5
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 0x1400180a5
mov rsi, qword [rbp + 0x27]
jmp 0x1400180ac
mov rsi, r14
mov qword [rbp + 0x27], r14
test rdi, rdi
je 0x140018576
cmp byte [0x14022eaf1], r14b
je 0x1400180d6
mov byte [rbp - 0x39], 1
test rcx, rcx
je 0x14001810b
cmp dword [0x14022d804], r14d
je 0x14001810b
lea r8, [rbp - 0x39]
jmp 0x1400180ec
mov byte [rbp - 0x31], r14b
test rcx, rcx
je 0x14001810b
cmp dword [0x14022d804], r14d
je 0x14001810b
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 0x1400183f0
mov qword [rsp + 0x100], rbx
test rcx, rcx
je 0x14001815b
cmp dword [0x14022d804], r14d
je 0x14001815b
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 0x14001815b
mov rbx, qword [rbp - 0x19]
jmp 0x140018162
mov rbx, r14
mov qword [rbp - 0x19], rbx
test rcx, rcx
je 0x140018197
cmp dword [0x14022d804], r14d
je 0x140018197
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 0x14001819b
mov qword [rbp - 0x29], r14
test rcx, rcx
je 0x1400181c9
cmp dword [0x14022d804], r14d
je 0x1400181c9
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 0x1400181cd
mov qword [rbp + 0x3f], r14
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400181f6
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 0x14001821f
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 0x140018248
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 0x14001827c
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 0x1400182a5
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 0x1400182ce
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 0x1400182e5
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 0x140018365
cmp dword [0x14022d804], r14d
je 0x14001832d
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 0x140018365
cmp dword [0x14022d804], r14d
je 0x140018365
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 0x140018365
mov rbx, qword [rbp + 0x2f]
jmp 0x14001836c
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 0x1400183aa
cmp dword [0x14022d804], r14d
je 0x1400183aa
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 0x1400183e8
cmp dword [0x14022d804], r14d
je 0x1400183e8
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 0x14001842e
mov dword [rbp - 0x11], r14d
test rcx, rcx
je 0x14001842e
cmp dword [0x14022d804], r14d
je 0x14001842e
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 0x14001846c
mov dword [rbp - 9], r14d
test rcx, rcx
je 0x14001846c
cmp dword [0x14022d804], r14d
je 0x14001846c
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 0x1400184b3
movss xmm0, dword [0x14022eb10]
movss dword [rbp - 1], xmm0
test rcx, rcx
je 0x1400184b3
cmp dword [0x14022d804], r14d
je 0x1400184b3
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 0x1400184f1
mov dword [rbp + 7], 0x447a0000
test rcx, rcx
je 0x1400184f1
cmp dword [0x14022d804], r14d
je 0x1400184f1
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 0x14001852f
cmp dword [0x14022d804], r14d
je 0x14001852f
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 0x14001852f
mov rdx, qword [rbp + 0x37]
jmp 0x140018536
mov rdx, r14
mov qword [rbp + 0x37], rdx
cmp byte [0x14022eaf8], r14b
je 0x140018576
movss xmm0, dword [0x14022eafc]
movss dword [rbp - 0x19], xmm0
test rcx, rcx
je 0x140018576
cmp dword [0x14022d804], r14d
je 0x140018576
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.140099150
lea r11, [rsp + 0xf0]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret