Function at 0x140023ee0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140118080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdx, qword [0x140204878]
lea r8, [rbp - 9]
add rdx, qword [0x1402048a8]
xor r14d, r14d
mov rdi, rcx
mov qword [rsp + 0xc0], rsi
mov rcx, qword [0x1402048d0]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 9]
lea r9d, [r14 + 8]
mov rcx, qword [0x1402048d0]
lea r8, [rbp + 0x27]
add rdx, 0x20
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rsi, qword [rbp + 0x27]
cmp byte [rdi + 0x29], r14b
je 0x140023fda
mov rdx, qword [0x140204890]
lea r9d, [r14 + 8]
add rdx, qword [0x140204878]
lea r8, [rbp - 9]
mov rcx, qword [0x1402048d0]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 9]
lea r9d, [r14 + 8]
add rdx, qword [0x1402048b0]
lea r8, [rbp + 0x17]
mov rcx, qword [0x1402048d0]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x17]
lea r9d, [r14 + 4]
movss xmm0, dword [rdi + 0x2c]
lea r8, [rbp - 9]
mov rcx, qword [0x1402048d0]
add rdx, 0x4c
movss dword [rbp - 9], xmm0
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi], r14b
je 0x140024041
mov rdx, qword [0x140204878]
lea r8, [rbp - 9]
mov rcx, qword [0x1402048d0]
add rdx, 0x189
mov r9d, 4
mov dword [rbp - 9], 0x3f800000
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1402048a0]
lea r8, [rbp - 9]
add rdx, qword [0x140204878]
mov r9d, 4
mov rcx, qword [0x1402048d0]
mov dword [rbp - 9], 0x42c80000
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 1], r14b
je 0x1400240a9
mov rdx, qword [0x140204878]
lea r8, [rbp - 9]
mov rcx, qword [0x1402048d0]
add rdx, 0x280
mov r9d, 4
mov dword [rbp - 9], 0x43480000
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1402048a0]
lea r8, [rbp - 9]
add rdx, qword [0x140204878]
mov r9d, 4
mov rcx, qword [0x1402048d0]
mov dword [rbp - 9], 0x42c80000
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0xb8], rbx
cmp byte [rdi + 2], r14b
je 0x1400242f1
call fcn.1400237a0
mov rdx, qword [0x1402048c0]
lea r8, [rbp + 0x17]
mov rcx, qword [0x1402048d0]
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x140204878]
lea r8, [rbp - 9]
mov rcx, qword [0x1402048d0]
add rdx, 0x90
mov r9d, recv
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x17]
lea r8, [rbp + 0x2f]
mov rcx, qword [0x1402048d0]
add rdx, 0x3d0
mov r9d, recv
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14002415a
movss xmm1, dword [rbp - 5]
movd xmm0, dword [rdi + 0x14]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 5], xmm1
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140024180
movss xmm1, dword [rbp - 5]
movd xmm0, dword [rdi + 0x14]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp - 5], xmm1
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400241a6
movss xmm1, dword [rbp - 1]
movd xmm0, dword [rdi + 0x14]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 1], xmm1
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400241cc
movss xmm1, dword [rbp - 1]
movd xmm0, dword [rdi + 0x14]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp - 1], xmm1
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400241f2
movss xmm1, dword [rbp - 9]
movd xmm0, dword [rdi + 0x14]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp - 9], xmm1
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140024218
movss xmm1, dword [rbp - 9]
movd xmm0, dword [rdi + 0x14]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 9], xmm1
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14002422c
mov byte [rdi + 2], r14b
mov rdx, qword [0x140204878]
lea r8, [rbp + 0x17]
movsd xmm0, qword [rbp - 9]
add rdx, 0x90
mov eax, dword [rbp - 1]
mov r9d, recv
mov rcx, qword [0x1402048d0]
movsd qword [rbp + 0x17], xmm0
mov dword [rbp + 0x1f], eax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x140204878]
lea r8, [rbp + 0x17]
mov rcx, qword [0x1402048d0]
add rdx, 0x30
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp + 0x17]
lea r8, [rbp - 0x19]
movsd xmm0, qword [rbp - 9]
mov r9d, recv
mov eax, dword [rbp - 1]
mov rcx, qword [0x1402048d0]
lea rdx, [rbx + 0x30]
movsd qword [rbp - 0x19], xmm0
mov dword [rbp - 0x11], eax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movsd xmm0, qword [rbp - 9]
lea rdx, [rbx + 0x50]
mov eax, dword [rbp - 1]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1402048d0]
mov r9d, recv
movsd qword [rbp - 0x19], xmm0
mov dword [rbp - 0x11], eax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 4], r14b
je 0x140024328
mov rdx, qword [0x140204878]
lea r8, [rbp + 7]
mov rcx, qword [0x1402048d0]
add rdx, 0x2c
mov r9d, 1
mov byte [rbp + 7], 1
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 4], r14b
jne 0x140024353
mov rdx, qword [0x140204878]
lea r8, [rbp + 7]
mov rcx, qword [0x1402048d0]
add rdx, 0x2c
mov r9d, 1
mov byte [rbp + 7], gethostname
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 5], r14b
je 0x1400243eb
mov rdx, qword [0x140204878]
lea r8, [rbp + 0x17]
mov rcx, qword [0x1402048d0]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [rdi + 0x10]
lea r8, [rbp - 9]
mov rbx, qword [rbp + 0x17]
mov r9d, 4
mov rcx, qword [0x1402048d0]
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], r14
lea rdx, [rbx + 0xcf0]
movss dword [rbp - 9], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movd xmm0, dword [rdi + 0x18]
lea rdx, [rbx + 0x170]
mov rcx, qword [0x1402048d0]
lea r8, [rbp - 9]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r14
movss dword [rbp - 9], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x140204878]
lea r8, [rbp + 0x17]
mov rcx, qword [0x1402048d0]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r14
cmp byte [rdi + 6], r14b
je 0x140024424
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 9], 0x42c80000
jmp 0x140024431
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 9], 0x3f800000
mov rdx, qword [rbp + 0x17]
lea r8, [rbp - 9]
mov rcx, qword [0x1402048d0]
add rdx, 0xcf4
mov r9d, 4
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x2f4]
mov rcx, qword [0x1402048d0]
lea r8, [rbp - 9]
mov qword [rsp + 0x20], r14
mov r9d, 4
mov dword [rbp - 9], r14d
cmp byte [rdi + 8], r14b
jne 0x140024486
mov dword [rbp - 9], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x84]
mov rcx, qword [0x1402048d0]
lea r8, [rbp - 9]
mov qword [rsp + 0x20], r14
mov r9d, 4
mov dword [rbp - 9], r14d
cmp byte [rdi + 9], r14b
jne 0x1400244ba
mov dword [rbp - 9], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x134]
mov rcx, qword [0x1402048d0]
lea r8, [rbp - 9]
mov qword [rsp + 0x20], r14
mov r9d, 4
mov dword [rbp - 9], 0x447a0000
cmp byte [rdi + 0xa], r14b
jne 0x1400244f1
mov dword [rbp - 9], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0xb], r14b
je 0x1400245b0
mov rcx, qword [0x1402048d0]
lea rdx, [rsi + 0x60]
mov r9d, 8
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x17]
lea r8, [rbp - 9]
mov rcx, qword [0x1402048d0]
add rdx, 8
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 9]
lea r8, [rbp + 0x17]
mov rcx, qword [0x1402048d0]
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp + 0x17]
lea r8, [rbp - 9]
mov rcx, qword [0x1402048d0]
mov r9d, 8
mov qword [rsp + 0x20], r14
lea rdx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1402048d0]
lea r8, [rbp - 9]
mov r9d, 4
mov dword [rbp - 9], 0x41f00000
lea rdx, [rbx + 0x18]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rbx, qword [rsp + 0xb8]
cmp byte [rdi + 7], r14b
je 0x1400245ee
movd xmm0, dword [rdi + 0x1c]
lea rdx, [rsi + 0xb0]
mov rcx, qword [0x1402048d0]
lea r8, [rbp - 9]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r14
movss dword [rbp - 9], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rsi, qword [rsp + 0xc0]
cmp byte [rdi + 0x20], r14b
je 0x14002467b
mov rdx, qword [0x1402048e0]
lea r8, [rbp + 0x17]
add rdx, qword [0x1402048c0]
mov r9d, 8
mov rcx, qword [0x1402048d0]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x17]
lea r8, [rbp + 0x27]
mov rcx, qword [0x1402048d0]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [rdi + 0x24]
lea r8, [rbp - 9]
mov rdx, qword [rbp + 0x27]
mov r9d, 4
mov rcx, qword [0x1402048d0]
add rdx, 0x30
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], r14
movss dword [rbp - 9], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400e22a0
add rsp, 0x90
pop r14
pop rdi
pop rbp
ret