Function at 0x180005f10
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x180037040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
movzx edi, dl
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edx, edx
mov ecx, edi
xor ebp, ebp
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r9d, eax
cmp dil, 1
jne 0x180005fc3
movabs rax, 0x5c45905474b46087
movabs rcx, 0x5c45a01127e12fca
mov qword [rsp + 0x30], rax
mov r8, 0xffffffffffffffff
movabs rax, 0x84502b85ae851d94
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
nop dword [rax]
inc r8
cmp byte [rax + r8], bpl
jne 0x180005fb0
lea rdx, [rsp + 0x30]
jmp 0x18000620e
cmp dil, 2
jne 0x180006038
movabs rax, 0x5c45905474b46087
movabs rcx, 0x5c45a11127e12fca
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
movabs rax, 0x84502b85ae851d94
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
inc r8
cmp byte [rax + r8], bpl
jne 0x180006025
lea rdx, [rsp + 0x30]
jmp 0x18000620e
cmp dil, 4
jne 0x1800060b3
movabs rax, 0x5c45905474b46087
movabs rcx, 0x5c0bdf0020e122ca
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
movabs rax, 0x84502b85ae851d94
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
nop word [rax + rax]
inc r8
cmp byte [rax + r8], bpl
jne 0x1800060a0
lea rdx, [rsp + 0x30]
jmp 0x18000620e
cmp dil, 5
jne 0x180006128
movabs rax, 0x5c45905474b46087
movabs rcx, 0x6d0bdf0020e122df
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
movabs rax, 0x84502b85ae851d94
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
inc r8
cmp byte [rax + r8], bpl
jne 0x180006115
lea rdx, [rsp + 0x30]
jmp 0x18000620e
cmp dil, 6
jne 0x1800061a0
movabs rax, 0x5c45905474b46087
movabs rcx, 0x6e0bdf0020e122df
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
movabs rax, 0x84502b85ae851d94
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
nop word [rax + rax]
inc r8
cmp byte [rax + r8], bpl
jne 0x180006190
lea rdx, [rsp + 0x30]
jmp 0x18000620e
lea eax, [rdi - 0x21]
cmp eax, 0x84
ja case.0x1800061c5.41
lea rdx, [0x180000000]
cdqe
movzx eax, byte [rdx + rax + 0x6244]
mov ecx, dword [rdx + rax*4 + 0x623c]
add rcx, rdx
jmp rcx
bts r9d, 8
shl r9d, 0x10
lea rdx, [rsp + 0x50]
mov ecx, r9d
mov r8d, 0x80
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rbp
nop
inc r8
cmp byte [rax + r8], bpl
jne 0x180006200
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.18000c450
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.18000d320
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret