Function at 0x14004bc00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14006e040]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rdx
mov qword [rbp - 0x70], rdx
cmp byte [0x14006f95f], 0
je 0x14004bc4b
mov ecx, 2
mov dword [0x14006f7c8], ecx
jmp 0x14004bc51
mov ecx, dword [0x14006f7c8]
cmp byte [0x14006f95d], 0
je 0x14004bc65
mov ecx, 1
mov dword [0x14006f7c8], ecx
cmp byte [0x14006f962], 0
je 0x14004bc79
mov ecx, 0x14
mov dword [0x14006f7c8], ecx
cmp byte [0x14006f99d], 0
je 0x14004bc8d
mov ecx, 0xa0
mov dword [0x14006f7c8], ecx
xor r15d, r15d
ucomisd xmm0, qword [0x140065a40]
jp 0x14004bca0
je 0x14004bedf
cmp byte [0x14006f983], r15b
je 0x14004bedf
mov rax, qword [0x14006fa00]
cmp qword [rax + 0xc0], r15
je 0x14004bedf
lea rbx, [rbp + 0x48]
mov rsi, qword [rbx]
mov qword [rbx], r15
movzx ecx, cl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt eax, 0xf
mov qword [rbx], rsi
jae 0x14004bedf
xorps xmm1, xmm1
cmp byte [0x14006f98e], r15b
je 0x14004bd6c
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
lea rbx, [rbp + 0x48]
mov qword [rbx], r15
test rcx, rcx
je 0x14004bd10
mov r8d, 0x6d
lea rdx, [rsp + 0x60]
call fcn.140047fa0
mov qword [rbx], rsi
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
lea rax, [rbp + 0x48]
mov qword [rax], r15
test rcx, rcx
jne 0x14004bd39
xorps xmm1, xmm1
movups xmmword [rsp + 0x28], xmm1
xorps xmm0, xmm0
movsd qword [rsp + 0x38], xmm0
jmp 0x14004bd4e
mov r8d, 0x6d
lea rdx, [rsp + 0x28]
call fcn.140047fa0
movups xmm1, xmmword [rsp + 0x28]
mov qword [rbx], rsi
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [rsp + 0x38]
movsd qword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x40]
jmp 0x14004bec4
cmp byte [0x14006f96c], r15b
je 0x14004bdc0
mov rax, qword [rdi]
mov r8d, 0x42
lea rdx, [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.140047fa0
mov rax, qword [rdi]
mov r8d, 0x42
lea rdx, [rsp + 0x28]
mov rcx, qword [rax + 8]
call fcn.140047fa0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
jmp 0x14004bec4
cmp byte [0x14006f9a6], r15b
je 0x14004be77
mov rax, qword [rdi]
mov r8d, 0x25
lea rdx, [rbp - 0x20]
mov rcx, qword [rax + 8]
call fcn.140047fa0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1400434a0
mov rax, qword [rdi]
mov r8d, 8
lea rdx, [rbp - 0x50]
mov rcx, qword [rax + 8]
call fcn.140047fa0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x70], xmm1
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400434a0
mov rax, qword [rdi]
mov r8d, 8
lea rdx, [rbp - 0x38]
mov rcx, qword [rax + 8]
call fcn.140047fa0
movsd xmm1, qword [rbp - 0x80]
subsd xmm1, qword [rsp + 0x28]
mulsd xmm1, qword [0x140065788]
addsd xmm1, qword [rsp + 0x28]
movsd xmm0, qword [rsp + 0x30]
unpcklpd xmm1, xmm0
jmp 0x14004bed1
cmp byte [0x14006f9ac], r15b
je 0x14004bed1
mov rax, qword [rdi]
mov r8d, 2
lea rdx, [rbp - 0x38]
mov rcx, qword [rax + 8]
call fcn.140047fa0
mov rax, qword [rdi]
mov r8d, 2
lea rdx, [rbp - 0x50]
mov rcx, qword [rax + 8]
call fcn.140047fa0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x70], xmm1
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400434a0
movupd xmm1, xmmword [rax]
movdqa xmmword [rbp - 0x60], xmm1
lea rcx, [rbp - 0x60]
call fcn.14004b8d0
cmp byte [0x14006f979], r15b
je 0x14004bff1
mov rax, qword [0x14006fa00]
mov rcx, qword [rax + 0x18]
add rcx, 0x1840
call fcn.14005a860
mov rcx, rax
call fcn.14005a860
mov rsi, rax
movzx ecx, byte [0x14006f7c8]
lea r14, [rbp + 0x48]
mov rbx, qword [r14]
mov qword [r14], r15
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt eax, 0xf
mov qword [r14], rbx
jae 0x14004bf4a
cmp byte [0x14006e9e9], r15b
je 0x14004bf5c
mov rax, rsi
mov qword [0x14006f740], rax
mov byte [0x14006e9e9], r15b
jmp 0x14004bf63
cmp byte [0x14006e9e9], r15b
jne 0x14004bf5c
mov byte [0x14006e9e9], 1
jmp 0x14004bfcf
mov rax, qword [0x14006f740]
test rax, rax
je 0x14004bfd9
cmp rax, rsi
je 0x14004bff1
xorps xmm0, xmm0
movdqu xmmword [rbp - 4], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov dword [rbp - 8], r15d
mov dword [rbp + 0xc], 2
mov r8d, 0x28
lea rdx, [rbp - 8]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
movdqu xmmword [rbp - 4], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov dword [rbp - 8], r15d
mov dword [rbp + 0xc], 4
mov r8d, 0x28
lea rdx, [rbp - 8]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov rax, r15
mov qword [0x14006f740], rax
cmp rax, rsi
je 0x14004bff1
test rax, rax
je 0x14004bff1
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
nop
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14004c026
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004c026
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14004c026
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14005bc40
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret