Function at 0x14013a3c0
Capabilities:
Get common file path
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
sub rsp, 0x1c8
mov dword [rsp + 0x40], 0x1c5e
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x14013a486
movabs rax, 0x7bc9acd2437d15
cmp qword [rsp + 0xa8], rax
je 0x14013a420
jmp 0x14013a4b4
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1e8]
mov r8, qword [rsp + 0x1f0]
mov rdx, qword [rsp + 0x1e8]
movzx ecx, byte [rsp + 0x1d0]
call fcn.14013a3c0
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
sub eax, 0x47de
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
mov dword [rsp + 0xc8], eax
jmp 0x14013a4b4
mov eax, 0xf18
mov word [rsp + 0x4c], ax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x54], 0x9f94
movzx eax, byte [rsp + 0x1d0]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
movsx ecx, byte [rsp + 0x1d0]
add eax, ecx
movsx ecx, byte [rsp + 0x31]
cmp eax, ecx
jg 0x14013a4f6
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x68], rax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x32], al
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x68]
and rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x1e8]
jl 0x14013a935
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xf0], rax
mov eax, 0x43
mov word [rsp + 0x34], ax
movsx eax, byte [rsp + 0x30]
movsx ecx, byte [rsp + 0x31]
shl eax, cl
mov byte [rsp + 0x32], al
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xd8], rax
movabs rax, 0x77798050c627e4
cmp qword [rsp + 0xd8], rax
je 0x14013a561
jmp 0x14013a5a6
movzx eax, word [rsp + 0x4c]
add eax, 0xc90
mov word [rsp + 0x4c], ax
lea r9, [rsp + 0x170]
mov r8d, 1
mov edx, 0x9c
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov dword [rsp + 0xcc], eax
mov ecx, dword [rsp + 0x44]
call fcn.14013a080
jmp 0x14013a63e
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x40]
mov eax, dword [rax]
sub eax, ecx
cmp eax, dword [rsp + 0x44]
jg 0x14013a62a
movsx eax, byte [rsp + 0x30]
movsx ecx, byte [rsp + 0x32]
and eax, ecx
movsx ecx, byte [rsp + 0x31]
movsx edx, byte [rsp + 0x1d0]
sub ecx, edx
cmp eax, ecx
jg 0x14013a618
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov dword [rsp + 0x5c], eax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x48], al
jmp 0x14013a62a
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
add eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
movzx eax, word [rsp + 0x4c]
mov word [rsp + 0x64], ax
movzx eax, word [rsp + 0x34]
mov word [rsp + 0x50], ax
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0xe0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax]
sar eax, cl
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x14013a6de
movabs rax, 0x70c258a3c9ece0
cmp qword [rsp + 0xb0], rax
je 0x14013a696
jmp 0x14013a75f
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.USER32.dll_GetMenuInfo]
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
movzx r8d, word [rsp + 0x64]
mov rax, qword [rsp + 0x38]
mov edx, dword [rax]
mov ecx, dword [rsp + 0x54]
call fcn.14013b010
jmp 0x14013a75f
lea rax, [rsp + 0x54]
mov qword [rsp + 0xf8], rax
movsx eax, word [rsp + 0x34]
cdq
mov ecx, 0x5ad
idiv ecx
movsx ecx, word [rsp + 0x50]
cmp eax, ecx
jle 0x14013a711
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x1e0], rax
movzx eax, byte [rsp + 0x1d0]
mov byte [rsp + 0x70], al
cmp byte [rsp + 0x70], 0
je 0x14013a74c
cmp byte [rsp + 0x70], 0x40
je 0x14013a72d
jmp 0x14013a75f
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xb8]
call fcn.14013a170
jmp 0x14013a75f
movzx eax, word [rsp + 0x34]
mov word [rsp + 0x58], ax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x49], al
movzx eax, byte [rsp + 0x1d0]
mov byte [rsp + 0xa0], al
cmp byte [rsp + 0xa0], 0x56
je 0x14013a77a
jmp 0x14013a7c0
mov r8d, 0xf0
lea rdx, [rsp + 0x148]
mov ecx, 0x1c
call qword [sym.imp.USER32.dll_GetKeyNameTextW]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0xe8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax]
shl eax, cl
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
jmp 0x14013a825
movsx eax, byte [rsp + 0x32]
movsx ecx, byte [rsp + 0x48]
xor eax, ecx
movsx ecx, byte [rsp + 0x30]
movsx edx, byte [rsp + 0x49]
and ecx, edx
cmp eax, ecx
jne 0x14013a80b
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
add eax, dword [rsp + 0x44]
mov dword [rsp + 0x5c], eax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x78], eax
movzx eax, byte [rsp + 0x1d0]
mov byte [rsp + 0x60], al
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x1061
je 0x14013a846
cmp dword [rsp + 0x74], 0x7361
je 0x14013a872
jmp 0x14013a90c
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
movsx eax, word [rsp + 0x58]
movsx ecx, word [rsp + 0x50]
add eax, ecx
mov word [rsp + 0x34], ax
jmp 0x14013a90c
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xc0]
mov r9, qword [rax]
mov r8, qword [rsp + 0x98]
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax]
movzx ecx, byte [rsp + 0x1d0]
call fcn.14013a3c0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xf8]
mov dword [rcx], eax
movsx eax, word [rsp + 0x34]
movsx ecx, word [rsp + 0x50]
and eax, ecx
movsx ecx, word [rsp + 0x58]
cmp eax, ecx
jl 0x14013a8e9
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x1f0], rax
mov edx, dword [rsp + 0x54]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax]
call fcn.14013c300
lea rax, [rsp + 0x54]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x38]
imul eax, dword [rax], 0x1a52
mov dword [rsp + 0x5c], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x140], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0xfe46
je 0x14013a951
jmp 0x14013a964
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x108], rcx
movzx ecx, al
mov rax, qword [rsp + 0x108]
mov eax, dword [rax]
sar eax, cl
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x68]
xor rcx, rax
mov rax, rcx
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
call fcn.14013a170
mov eax, 0xf1
add rsp, 0x1c8
ret