Function at 0x14000eb60
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x4a0
mov rax, qword [0x1400e71f0]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x20], r13
mov rbp, rcx
mov qword [r11 - 0x28], r14
xor r14d, r14d
mov rsi, rdx
lea rcx, [r11 - 0x248]
xor edx, edx
mov r8d, 0x208
mov qword [rsp + 0x40], r14
mov r13, r14
mov qword [rsp + 0x28], r14
mov r12d, r14d
call fcn.140080d50
lea edx, [r14 + 6]
xor ecx, ecx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
or ebx, 0xffffffff
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x14000ebe6
cmp eax, 0x80010106
jne 0x14000ed7a
lea rdx, [rsp + 0x40]
mov rcx, rbp
mov r12d, 1
call fcn.14000e570
test eax, eax
js 0x14000ed7a
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0xa0]
test eax, eax
js 0x14000ed7a
lea rcx, [rsp + 0x50]
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14000ed7a
mov qword [rsp + 0x498], rdi
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
mov eax, dword [0x1400a3ff4]
or rcx, 0xffffffffffffffff
mov dword [rdi - 2], eax
xor eax, eax
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, word [rsi + rcx]
add rcx, 2
test ax, ax
mov word [rdi + rcx - 4], ax
jne 0x14000ec70
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
mov rax, qword [str.RPD.exe]
lea rcx, [rsp + 0x50]
mov qword [rdi - 2], rax
mov rax, qword [0x1400a5058]
mov qword [rdi + 6], rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, rax
mov r13, rax
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x14000ed72
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rdx, r13
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
js 0x14000ed6f
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x88]
test eax, eax
js 0x14000ed72
movzx eax, word [rsp + 0x20]
cmp ax, 0xffff
jne 0x14000ed09
mov ebx, 2
jmp 0x14000ed10
test ax, ax
cmove ebx, r12d
lea rcx, [rsp + 0x260]
mov edx, 0x104
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
js 0x14000ed4a
mov rdx, qword [rsp + 0x28]
lea rcx, [rbp + 8]
call fcn.140069f68
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
lea rdx, [rsp + 0x50]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rbp + 0x10]
call fcn.140003c40
jmp 0x14000ed72
mov ebx, r14d
mov rdi, qword [rsp + 0x498]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x480]
test rcx, rcx
mov r13, qword [rsp + 0x488]
mov rsi, qword [rsp + 0x4c8]
je 0x14000edb6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000edc6
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rdx, qword [rsp + 0x40]
mov rcx, rbp
call fcn.14000e610
mov rbp, qword [rsp + 0x4c0]
test r12d, r12d
mov r12, qword [rsp + 0x490]
je 0x14000edee
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140081050
add rsp, 0x4a0
pop rbx
ret