Function at 0x180005f70
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 [0x180038010]
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 0x180006023
movabs rax, 0x9006af055f250ec5
movabs rcx, 0x90069f400c704188
mov qword [rsp + 0x30], rax
mov r8, 0xffffffffffffffff
movabs rax, 0xc959b4d0101fca1a
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 0x180006010
lea rdx, [rsp + 0x30]
jmp 0x18000626e
cmp dil, 2
jne 0x180006098
movabs rax, 0x9006af055f250ec5
movabs rcx, 0x90069e400c704188
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
movabs rax, 0xc959b4d0101fca1a
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 0x180006085
lea rdx, [rsp + 0x30]
jmp 0x18000626e
cmp dil, 4
jne 0x180006113
movabs rax, 0x9006af055f250ec5
movabs rcx, 0x9048e0510b704c88
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
movabs rax, 0xc959b4d0101fca1a
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 0x180006100
lea rdx, [rsp + 0x30]
jmp 0x18000626e
cmp dil, 5
jne 0x180006188
movabs rax, 0x9006af055f250ec5
movabs rcx, 0xa148e0510b704c9d
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
movabs rax, 0xc959b4d0101fca1a
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 0x180006175
lea rdx, [rsp + 0x30]
jmp 0x18000626e
cmp dil, 6
jne 0x180006200
movabs rax, 0x9006af055f250ec5
movabs rcx, 0xa248e0510b704c9d
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
movabs rax, 0xc959b4d0101fca1a
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 0x1800061f0
lea rdx, [rsp + 0x30]
jmp 0x18000626e
lea eax, [rdi - 0x21]
cmp eax, 0x84
ja case.0x180006225.41
lea rdx, [0x180000000]
cdqe
movzx eax, byte [rdx + rax + 0x62a4]
mov ecx, dword [rdx + rax*4 + 0x629c]
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 0x180006260
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.18000c540
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.18000d410
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret