Function at 0x140094f10
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r12, rdx
xor r8d, r8d
lea rdx, str.CBaseFuncSub::FS_NetworkSelectUseShellFunction
lea rcx, [rsp + 0x50]
call fcn.1400075a0
nop
mov r9, r12
lea r8, str.lpPrinterPort___s
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.140007780
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov r14d, ebx
test r12, r12
je 0x140095311
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r15, rax
mov word [r12], bx
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea edx, [rbx + 7]
lea rcx, [rsp + 0x50]
test eax, eax
js 0x140094ff0
lea r8, str._t_t_tSHGetMalloc:SUCCEED
call fcn.140007780
lea r8, [rsp + 0x48]
lea edx, [rbx + 0x12]
mov rcx, r15
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea r8, str._t_t_tPOST_SHGetSpecialFolderLocation__
lea edx, [rbx + 7]
lea rcx, [rsp + 0x50]
jmp 0x140094ff7
lea r8, str._t_t_tSHGetMalloc___is_FAIL
call fcn.140007780
call fcn.140102a14
mov rdx, rax
mov eax, ebx
test rdx, rdx
setne al
test eax, eax
je 0x140095306
or rsi, 0xffffffffffffffff
nop dword [rax + rax]
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov word [rbp - 0x50], bx
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp - 0x4e]
call fcn.14024b970
mov ecx, 0xa
call fcn.1401027e8
test rax, rax
je 0x140095069
mov r8d, 0xa
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140005b00
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edx, edx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x68], rdx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r12
lea rax, [rbp - 0x50]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x2240
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov r13, rax
test rax, rax
je 0x1400952b1
mov rdx, r12
mov rcx, rax
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov r14d, eax
test eax, eax
je 0x1400952b1
call fcn.140102a14
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
je 0x1400952a6
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x38], rdi
test r12, 0xffffffffffff0000
jne 0x14009514f
movzx ebx, r12w
mov ecx, ebx
call fcn.1401027e8
test rax, rax
je 0x140095175
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140005b00
mov rdi, qword [rsp + 0x38]
jmp 0x140095175
xor eax, eax
mov rcx, rsi
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.140005d50
mov rdi, qword [rsp + 0x38]
jmp 0x140095177
xor ebx, ebx
cmp dword [rdi - 0x10], 0
jl 0x140095221
lea rdx, [0x1402f0008]
mov rcx, rdi
call fcn.140245e24
test rax, rax
je 0x140095221
sub rax, rdi
sar rax, 1
test eax, eax
jne 0x140095221
cmp dword [rdi - 0x10], 2
jl 0x140095221
lea rcx, [rdi + 4]
lea rdx, [0x1402e5094]
call fcn.140245e24
test rax, rax
je 0x140095221
sub rax, rdi
sar rax, 1
test eax, eax
js 0x140095221
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r9, qword [rax]
xor r8d, r8d
mov rdx, r12
mov rcx, rax
call qword [r9 + 0x170]
cmp eax, 0xffffffff
jne 0x14009528a
mov rcx, qword [0x1403b9770]
mov rax, qword [rcx]
mov edx, UnRegisterTypeLib
call qword [rax + 0x18]
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14009521f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140095255
mov r14d, ebx
mov rcx, qword [0x1403b9770]
mov rax, qword [rcx]
mov r8, rdi
mov edx, 0xa3
call qword [rax + 0x18]
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140095255
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140095274
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140102a14
mov rdx, rax
test rax, rax
je 0x140095306
jmp 0x140095020
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400952b1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400952b1
mov ecx, 0x80004005
call fcn.140005210
int3
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400952df
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400952d9
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
neg r14d
sbb edi, edi
add edi, 2
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x140095316
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140095316
mov ecx, 0x80004005
call fcn.140005210
int3
mov edi, 2
mov dword [rsp + 0x20], edi
mov r9, r12
lea r8, str.PrinterPort___s__return___08x
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.140007780
nop
lea rcx, [rsp + 0x50]
call fcn.140007730
mov eax, edi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret