Function at 0x180005f40
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 0x180005ff3
movabs rax, 0xe84bd117e274be21
movabs rcx, 0xe84be152b121f16c
mov qword [rsp + 0x30], rax
mov r8, 0xffffffffffffffff
movabs rax, 0xbf148ee6a46810c6
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 0x180005fe0
lea rdx, [rsp + 0x30]
jmp 0x18000623e
cmp dil, 2
jne 0x180006068
movabs rax, 0xe84bd117e274be21
movabs rcx, 0xe84be052b121f16c
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
movabs rax, 0xbf148ee6a46810c6
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 0x180006055
lea rdx, [rsp + 0x30]
jmp 0x18000623e
cmp dil, 4
jne 0x1800060e3
movabs rax, 0xe84bd117e274be21
movabs rcx, 0xe8059e43b621fc6c
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
movabs rax, 0xbf148ee6a46810c6
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 0x1800060d0
lea rdx, [rsp + 0x30]
jmp 0x18000623e
cmp dil, 5
jne 0x180006158
movabs rax, 0xe84bd117e274be21
movabs rcx, 0xd9059e43b621fc79
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
movabs rax, 0xbf148ee6a46810c6
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 0x180006145
lea rdx, [rsp + 0x30]
jmp 0x18000623e
cmp dil, 6
jne 0x1800061d0
movabs rax, 0xe84bd117e274be21
movabs rcx, 0xda059e43b621fc79
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
movabs rax, 0xbf148ee6a46810c6
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 0x1800061c0
lea rdx, [rsp + 0x30]
jmp 0x18000623e
lea eax, [rdi - 0x21]
cmp eax, 0x84
ja case.0x1800061f5.41
lea rdx, [0x180000000]
cdqe
movzx eax, byte [rdx + rax + 0x6274]
mov ecx, dword [rdx + rax*4 + 0x626c]
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 0x180006230
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.18000c2e0
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.18000d1b0
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret