Function at 0x140012340
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1401b2f00]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdx, qword [0x14029e8e8]
lea r8, [rbp - 0x19]
mov rdi, rcx
mov qword [rsp + 0xc0], rsi
mov rcx, qword [0x14029e940]
xor r14d, r14d
add rdx, 0x10d8
mov qword [rsp + 0x20], r14
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x19]
lea r8, [rbp + 0x27]
mov rcx, qword [0x14029e940]
add rdx, 0x20
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rsi, qword [rbp + 0x27]
cmp byte [rdi + 0x25], r14b
je 0x140012444
mov rdx, qword [0x14029e900]
lea r8, [rbp - 0x19]
add rdx, qword [0x14029e8e8]
mov r9d, 8
mov rcx, qword [0x14029e940]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x19]
lea r8, [rbp + 0x17]
add rdx, qword [0x14029e920]
mov r9d, 8
mov rcx, qword [0x14029e940]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x17]
lea r8, [rbp - 0x19]
movss xmm0, dword [rdi + 0x28]
add rdx, 0x4c
mov rcx, qword [0x14029e940]
mov r9d, 4
movss dword [rbp - 0x19], xmm0
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0xb8], rbx
cmp byte [rdi + 1], r14b
je 0x14001268c
call fcn.140011c30
mov rdx, qword [0x14029e930]
lea r8, [rbp + 0x17]
mov rcx, qword [0x14029e940]
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x14029e8e8]
lea r8, [rbp - 1]
mov rcx, qword [0x14029e940]
add rdx, 0x90
mov r9d, recvfrom
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x17]
lea r8, [rbp + 0x2f]
mov rcx, qword [0x14029e940]
add rdx, 0x3d0
mov r9d, recvfrom
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 0x1400124f5
movss xmm1, dword [rbp + 3]
movd xmm0, dword [rdi + 0xc]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp + 3], xmm1
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14001251b
movss xmm1, dword [rbp + 3]
movd xmm0, dword [rdi + 0xc]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp + 3], xmm1
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140012541
movss xmm1, dword [rbp + 7]
movd xmm0, dword [rdi + 0xc]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp + 7], xmm1
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140012567
movss xmm1, dword [rbp + 7]
movd xmm0, dword [rdi + 0xc]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp + 7], xmm1
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14001258d
movss xmm1, dword [rbp - 1]
movd xmm0, dword [rdi + 0xc]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp - 1], xmm1
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400125b3
movss xmm1, dword [rbp - 1]
movd xmm0, dword [rdi + 0xc]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 1], xmm1
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400125c7
mov byte [rdi + 1], r14b
mov rdx, qword [0x14029e8e8]
lea r8, [rbp + 0x17]
movsd xmm0, qword [rbp - 1]
add rdx, 0x90
mov eax, dword [rbp + 7]
mov r9d, recvfrom
mov rcx, qword [0x14029e940]
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 [0x14029e8e8]
lea r8, [rbp + 0x17]
mov rcx, qword [0x14029e940]
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 - 1]
mov r9d, recvfrom
mov eax, dword [rbp + 7]
mov rcx, qword [0x14029e940]
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 - 1]
lea rdx, [rbx + 0x50]
mov eax, dword [rbp + 7]
lea r8, [rbp - 0x19]
mov rcx, qword [0x14029e940]
mov r9d, recvfrom
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], r14b
je 0x1400126f3
mov rdx, qword [0x14029e8e8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x14029e940]
add rdx, 0x280
mov r9d, 4
mov dword [rbp - 0x19], 0x43480000
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x14029e910]
lea r8, [rbp - 0x19]
add rdx, qword [0x14029e8e8]
mov r9d, 4
mov rcx, qword [0x14029e940]
mov dword [rbp - 0x19], 0x42c80000
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0x35], r14b
je 0x14001272a
mov rdx, qword [0x14029e8e8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x14029e940]
add rdx, 0x1530
mov r9d, 4
mov dword [rbp - 0x19], 0x42c80000
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0x34], r14b
je 0x14001275b
mov rdx, qword [0x14029e8e8]
lea r8, [rbp - 9]
mov rcx, qword [0x14029e940]
add rdx, 0x2c
mov r9d, 1
mov byte [rbp - 9], 1
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 2], r14b
je 0x1400127f3
mov rdx, qword [0x14029e8e8]
lea r8, [rbp + 0x17]
mov rcx, qword [0x14029e940]
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 - 0x19]
mov rbx, qword [rbp + 0x17]
mov r9d, 4
mov rcx, qword [0x14029e940]
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], r14
lea rdx, [rbx + 0xcf0]
movss dword [rbp - 0x19], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movd xmm0, dword [rdi + 0x14]
lea rdx, [rbx + 0x170]
mov rcx, qword [0x14029e940]
lea r8, [rbp - 0x19]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r14
movss dword [rbp - 0x19], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 3], r14b
je 0x140012851
mov rdx, qword [0x14029e8e8]
lea r8, [rbp + 0x17]
mov rcx, qword [0x14029e940]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x17]
lea r8, [rbp - 0x19]
mov rcx, qword [0x14029e940]
add rdx, 0xcf4
mov r9d, 4
mov dword [rbp - 0x19], 0x42c80000
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 5], r14b
je 0x14001287e
mov rcx, qword [0x14029e940]
lea rdx, [rsi + 0x2f4]
mov r9d, 4
mov dword [rbp - 0x19], r14d
lea r8, [rbp - 0x19]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 6], r14b
je 0x1400128ab
mov rcx, qword [0x14029e940]
lea rdx, [rsi + 0x84]
mov r9d, 4
mov dword [rbp - 0x19], r14d
lea r8, [rbp - 0x19]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 7], r14b
je 0x1400128db
mov rcx, qword [0x14029e940]
lea rdx, [rsi + 0x134]
mov r9d, 4
mov dword [rbp - 0x19], 0x447a0000
lea r8, [rbp - 0x19]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 8], r14b
je 0x140012976
mov rcx, qword [0x14029e940]
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 - 1]
mov rcx, qword [0x14029e940]
add rdx, 0x8d
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 1]
lea r8, [rbp + 0x17]
mov rcx, qword [0x14029e940]
mov rdx, rbx
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14029e940]
lea rdx, [rbx + 0x18]
mov r9d, 4
mov dword [rbp - 0x19], 0x270f
lea r8, [rbp - 0x19]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rbx, qword [rsp + 0xb8]
cmp byte [rdi + 4], r14b
je 0x1400129b4
movd xmm0, dword [rdi + 0x18]
lea rdx, [rsi + 0xb0]
mov rcx, qword [0x14029e940]
lea r8, [rbp - 0x19]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r14
movss dword [rbp - 0x19], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rsi, qword [rsp + 0xc0]
cmp byte [rdi + 0x1c], r14b
je 0x140012a41
mov rdx, qword [0x14029e950]
lea r8, [rbp - 1]
add rdx, qword [0x14029e930]
mov r9d, 8
mov rcx, qword [0x14029e940]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 1]
lea r8, [rbp + 0x17]
mov rcx, qword [0x14029e940]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [rdi + 0x20]
lea r8, [rbp - 0x19]
mov rdx, qword [rbp + 0x17]
mov r9d, 4
mov rcx, qword [0x14029e940]
add rdx, 0x30
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], r14
movss dword [rbp - 0x19], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14010cd30
add rsp, 0x90
pop r14
pop rdi
pop rbp
ret