Function at 0x140006530
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1400f7080]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdx, qword [0x1401e1f38]
lea r8, [rbp - 0x31]
xor r15d, r15d
mov qword [rsp + 0xf0], rsi
mov rdi, rcx
mov qword [rsp + 0x20], r15
mov rcx, qword [0x1401e1f78]
add rdx, 0x10d8
lea r9d, [r15 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x31]
lea r9d, [r15 + 8]
mov rcx, qword [0x1401e1f78]
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 0x1400065dd
mov rdx, qword [0x1401e1f38]
lea r9d, [r15 + 1]
mov rcx, qword [0x1401e1f78]
lea r8, [rbp - 0x39]
add rdx, 0x189
mov byte [rbp - 0x39], 1
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0xe8], rbx
cmp byte [rdi], r15b
je 0x14000683f
mov rdx, qword [0x1401e1f38]
lea r8, [rbp - 9]
mov rcx, qword [0x1401e1f78]
add rdx, 0x90
mov qword [rsp + 0xf8], r14
mov r9d, recv
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x1401e1f38]
lea r8, [rbp - 0x31]
mov rcx, qword [0x1401e1f78]
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 [0x1401e1f78]
mov r9d, recv
xorps xmm6, xmm6
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 0x14000682f
mov rdx, qword [0x1401e1f38]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1401e1f78]
add rdx, 0x320
movaps xmmword [rsp + 0xa0], xmm7
mov r9d, recv
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 [0x1401e1f60]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1401e1f78]
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 [0x1401e1f78]
mov r9d, recv
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 0x140006785
jne 0x140006785
movss xmm0, dword [rbp - 0x25]
ucomiss xmm0, xmm6
jp 0x140006785
jne 0x140006785
movss xmm0, dword [rbp - 0x21]
ucomiss xmm0, xmm6
jp 0x140006785
jne 0x140006785
mov rcx, qword [0x1401e1f78]
lea rdx, [rbx + 0x40]
mov r9d, recv
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 [0x1400e3b28]
lea r8, [rbp - 0x49]
movss xmm7, dword [rbp - 0x25]
mov r9d, recv
movss xmm6, dword [rbp - 0x21]
mov rdx, qword [0x1401e1f38]
mov rcx, qword [0x1401e1f78]
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 [0x1401e1f78]
lea rdx, [r14 + 0x50]
mov r9d, recv
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 0x1400068c4
mov rdx, qword [0x1401e1f40]
lea r8, [rbp - 0x19]
add rdx, qword [0x1401e1f38]
mov r9d, 8
mov rcx, qword [0x1401e1f78]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 0x29]
add rdx, qword [0x1401e1f50]
mov r9d, 8
mov rcx, qword [0x1401e1f78]
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 [0x1401e1f78]
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 0x1400068fb
mov rdx, qword [0x1401e1f38]
lea r8, [rbp - 0x31]
mov rcx, qword [0x1401e1f78]
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 0x140006932
mov rdx, qword [0x1401e1f38]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1401e1f78]
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 0x14000695d
mov rdx, qword [0x1401e1f38]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1401e1f78]
add rdx, 0x2c
mov r9d, 1
mov byte [rbp - 0x39], gethostname
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 4], r15b
je 0x1400069f5
mov rdx, qword [0x1401e1f38]
lea r8, [rbp - 0x29]
mov rcx, qword [0x1401e1f78]
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 [0x1401e1f78]
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 [0x1401e1f78]
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 0x140006a53
mov rdx, qword [0x1401e1f38]
lea r8, [rbp - 0x29]
mov rcx, qword [0x1401e1f78]
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 [0x1401e1f78]
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 0x140006a89
movss xmm0, dword [0x1400f713c]
lea rdx, [rsi + 0x2f4]
mov rcx, qword [0x1401e1f78]
lea r8, [rbp - 0x31]
mov r9d, 4
movss dword [rbp - 0x31], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0xa], r15b
je 0x140006abf
movss xmm0, dword [0x1400f7140]
lea rdx, [rsi + 0x84]
mov rcx, qword [0x1401e1f78]
lea r8, [rbp - 0x31]
mov r9d, 4
movss dword [rbp - 0x31], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0xb], r15b
je 0x140006aef
mov rcx, qword [0x1401e1f78]
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 0x140006b8a
mov rcx, qword [0x1401e1f78]
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 [0x1401e1f78]
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 [0x1401e1f78]
mov rdx, rbx
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1401e1f78]
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 0x140006bc8
movd xmm0, dword [rdi + 0x18]
lea rdx, [rsi + 0xb0]
mov rcx, qword [0x1401e1f78]
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 0x140006c55
mov rdx, qword [0x1401e1f88]
lea r8, [rbp - 0x29]
add rdx, qword [0x1401e1f60]
mov r9d, 8
mov rcx, qword [0x1401e1f78]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x29]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1401e1f78]
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 [0x1401e1f78]
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.1400c8a00
add rsp, 0xc0
pop r15
pop rdi
pop rbp
ret