Function at 0x14001cad0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400e9088]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
mov qword [rbp - 0x78], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rbx
mov word [rcx], bx
mov dword [rsp + 0x20], 1
call fcn.14001e580
test al, al
je 0x14001cced
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rbx
mov word [rbp - 0x68], bx
lea rcx, str.shell32
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14001cbff
lea rdx, str.SHGetKnownFolderPath
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001cbde
mov qword [rbp - 0x70], rbx
lea r9, [rbp - 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400a87d0]
call rax
test eax, eax
js 0x14001cbcf
mov rdx, qword [rbp - 0x70]
cmp word [rdx], bx
jne 0x14001cba6
mov r8d, ebx
jmp 0x14001cbbb
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14001cbb0
mov rcx, rdi
call fcn.140011700
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14001cbf4
mov r8d, 0x23
lea rdx, str.Call_to_SHGetKnownFolderPath_failed
jmp 0x14001cbeb
mov r8d, 0x36
lea rdx, str.Unable_to_get_address_of_SHGetKnownFolderPath_function
lea rcx, [rbp - 0x68]
call fcn.140011700
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14001cc15
mov r8d, 0x1a
lea rdx, str.Unable_to_load_shell32.dll
lea rcx, [rbp - 0x68]
call fcn.140011700
cmp qword [rbp - 0x58], 0
je 0x14001ccbe
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x28]
call fcn.140018b90
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400098b0
nop
mov r8, qword [rsp + 0x40]
cmp r8, 0x10
jb 0x14001cc5a
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140003c00
mov qword [rsp + 0x40], SafeArrayLock
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], 0
lea rax, vtable.HP::Pdsmq::Common::PeptoException.0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x60]
call fcn.140011850
nop
lea rdx, [0x1400e7378]
lea rcx, [rsp + 0x48]
call fcn.140075a20
nop
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x14001ccd8
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.140012760
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rbx
mov word [rbp - 0x68], bx
jmp 0x14001cdc9
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x40]
call fcn.140077610
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x14001cd9d
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rbx
mov word [rbp - 0x68], bx
lea r8d, [rax + 0x4e]
lea rdx, str.Unable_to_retrieve_the_directory_that_contains_application_data_for_all_users.
lea rcx, [rbp - 0x68]
call fcn.140011700
nop
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x48]
call fcn.140019f50
nop
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x14001cd6f
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.140012760
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rbx
mov word [rbp - 0x68], bx
lea rax, vtable.HP::Pdsmq::Common::PeptoException.0
mov qword [rsp + 0x48], rax
lea rdx, [0x1400e7378]
lea rcx, [rsp + 0x48]
call fcn.140075a20
int3
cmp word [rbp - 0x40], 0
je 0x14001cdba
lea rax, [rbp - 0x40]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14001cdb0
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140011700
mov rax, rdi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140056080
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret