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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov rax, qword [0x14032b320]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0xf0]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x48]
mov edx, 2
mov ecx, dword [rsp + 0x40]
call fcn.1401ab500
test eax, eax
je 0x1401bedb2
cmp dword [rsp + 0x190], 0x286
je 0x1401bedb2
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x10]
and eax, 0x20
cmp eax, 0x20
jne 0x1401bed6b
cmp dword [rsp + 0x190], 0x100
jl 0x1401bed6b
cmp dword [rsp + 0x190], 0x109
jg 0x1401bed6b
mov r9, qword [rsp + 0x1a0]
mov r8, qword [rsp + 0x198]
mov edx, dword [rsp + 0x190]
mov rax, qword [rsp + 0x180]
mov rcx, qword [rax + 0x170]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x190]
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x188]
call fcn.1401a4c20
test rax, rax
je 0x1401bedb2
mov eax, 1
jmp 0x1401bf278
cmp dword [rsp + 0x190], 0x100
jne 0x1401bf12c
cmp qword [rsp + 0x198], 0x1b
jne 0x1401bee3b
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0xbc]
and eax, 0x8000
cmp eax, 0x8000
jne 0x1401bee36
cmp dword [rsp + 0x50], 0
jne 0x1401bee36
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x10]
and eax, 0x200
cmp eax, 0x200
jne 0x1401bee1c
mov edx, 2
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.USER32.dll_EndDialog]
nop
jmp 0x1401bee36
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
jmp 0x1401bf04a
cmp qword [rsp + 0x198], 0x20
jne 0x1401beeb7
call fcn.1401b9600
test eax, eax
jne 0x1401beeb2
cmp qword [rsp + 0x48], 0
je 0x1401beeb2
mov r8d, 0x400
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.1401c3a30
test eax, eax
jne 0x1401beeb2
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], 0x201
mov r9, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x188]
call fcn.1401be4e0
nop
jmp 0x1401bf04a
cmp qword [rsp + 0x198], 0xd
jne 0x1401bef6d
call fcn.1401b9600
test eax, eax
jne 0x1401bef68
cmp qword [rsp + 0x48], 0
je 0x1401bef68
mov r8d, 0x400
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.1401c3a30
test eax, eax
jne 0x1401bef68
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xfffffffc
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x188]
call fcn.1401a64d0
test rax, rax
jne 0x1401bef68
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x400
mov r9d, 0xfffffffd
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x188]
call fcn.1401a4c20
nop
jmp 0x1401bf04a
cmp qword [rsp + 0x198], 9
jne 0x1401bef98
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x188]
call fcn.1401ba780
nop
jmp 0x1401bf04a
cmp qword [rsp + 0x198], 0x26
je 0x1401befae
cmp qword [rsp + 0x198], 0x28
jne 0x1401beff2
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0xbc]
and eax, 0x40000000
cmp eax, 0x40000000
jne 0x1401beff0
mov rax, qword [rsp + 0x180]
mov rax, qword [rax + 0x130]
mov rcx, qword [rsp + 0x180]
mov qword [rax + 0x140], rcx
mov eax, 1
jmp 0x1401bf278
jmp 0x1401bf04a
cmp qword [rsp + 0x198], 0x25
je 0x1401bf008
cmp qword [rsp + 0x198], 0x27
jne 0x1401bf04a
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0xbc]
and eax, 0x40000000
cmp eax, 0x40000000
jne 0x1401bf04a
mov rax, qword [rsp + 0x180]
mov rax, qword [rax + 0x130]
mov rcx, qword [rsp + 0x180]
mov qword [rax + 0x140], rcx
mov eax, 1
jmp 0x1401bf278
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x10]
and eax, 0x200
cmp eax, 0x200
jne 0x1401bf127
mov edx, 2
mov ecx, dword [rsp + 0x198]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x1401bf127
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
lea rax, [rsp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x1a0]
mov ecx, dword [rsp + 0x198]
call qword [sym.imp.USER32.dll_ToUnicode]
nop
cmp qword [rsp + 0x48], 0
je 0x1401bf127
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x54]
mov rcx, qword [rsp + 0x1a0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9d, 0x102
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x188]
call fcn.1401a4c20
nop
jmp 0x1401bf276
cmp dword [rsp + 0x190], 0x101
jne 0x1401bf1c7
cmp qword [rsp + 0x198], 0x20
jne 0x1401bf1c2
cmp qword [rsp + 0x48], 0
je 0x1401bf1c2
mov r8d, 0x400
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.1401c3a30
test eax, eax
jne 0x1401bf1c2
mov qword [rsp + 0x20], 0
mov r9d, 0x400
mov r8d, 0x202
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x180]
call fcn.1401bf4e0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x400
mov r9d, 0xfffffffd
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x188]
call fcn.1401a4c20
nop
jmp 0x1401bf276
cmp dword [rsp + 0x190], 0x301
jne 0x1401bf213
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0xbc]
and eax, 0x80000000
cmp eax, 0x80000000
jne 0x1401bf211
cmp qword [rsp + 0x48], 0
je 0x1401bf211
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0xd8]
cmp dword [rax], 0x63313881
jne 0x1401bf211
mov eax, 1
jmp 0x1401bf278
jmp 0x1401bf276
cmp dword [rsp + 0x190], 0x286
jne 0x1401bf276
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x10]
and eax, 0x200
cmp eax, 0x200
jne 0x1401bf276
cmp qword [rsp + 0x48], 0
je 0x1401bf276
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x20], rax
mov r9d, 0x102
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x188]
call fcn.1401a4c20
nop
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14023ba10
add rsp, 0x170
pop rdi
ret