Function at 0x14000ce40
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r13, rcx
mov qword [rsp + 0x58], rcx
mov edx, 0x3ed
call fcn.140032178
mov qword [rsp + 0x50], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, 0x104
mov edx, edi
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, [0x140085174]
lea ebx, [rdi + 1]
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1400673e8
lea r8, str.diskpt0.dat
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1400673e8
call fcn.1400279a4
mov rcx, rax
xor r15d, r15d
test rax, rax
je 0x14000d120
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x68]
movzx ecx, word [rbp - 0x50]
call fcn.1400620e0
test eax, eax
je 0x14000cf34
cmp dword [rbp - 0x64], 1
jne 0x14000cf34
mov dword [rsp + 0x48], edi
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.140061ce0
lea rcx, [rbp - 0x50]
call fcn.1400675ec
mov r8d, eax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.14000521c
call fcn.140061820
lea rcx, [rsp + 0x70]
call fcn.140037358
nop
xor r9d, r9d
mov r8d, 0x8040
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140037998
or r12, 0xffffffffffffffff
test eax, eax
je 0x14000d0bb
lea rcx, [rsp + 0x70]
call fcn.140037884
mov r14, rax
movsxd rcx, eax
movabs rax, 0x5197f7d73404147
mul rcx
mov rdi, rcx
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 9
imul rax, rdi, 0x3ec
sub rcx, rax
jne 0x14000d0bb
mov eax, 0x3ec
mul rdi
cmovo rax, r12
mov rcx, rax
call fcn.14002700c
mov rsi, rax
test rax, rax
je 0x14000d0bb
mov r8d, r14d
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140037bdc
cmp r14d, eax
jne 0x14000d0b3
test edi, edi
jle 0x14000d0b3
mov r12, r15
mov r15, rsi
lea r14, [rsi + 4]
mov edi, edi
mov rbx, qword [rsp + 0x50]
xor r13d, r13d
cmp dword [r15], 1
jne 0x14000d086
mov word [r15 + 0x3ea], r13w
mov rcx, r14
call fcn.1400675ec
add rax, r12
cmp word [rsi + rax*2 + 2], 0x2a
jne 0x14000d04a
mov rcx, r14
call fcn.1400675ec
add rax, r12
cmp word [rsi + rax*2], 0x3a
je 0x14000d086
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov r9, r14
mov r8d, eax
mov edx, 1
mov rcx, rbx
call fcn.1400368bc
add r14, 0x3ec
add r15, 0x3ec
add r12, 0x1f6
sub rdi, 1
jne 0x14000d017
mov rbx, qword [rsp + 0x40]
mov r13, qword [rsp + 0x58]
or r12, 0xffffffffffffffff
mov rcx, rsi
call fcn.140027004
call fcn.140061710
mov rcx, r13
call fcn.14000cca8
nop
lea rcx, [rsp + 0x70]
call fcn.1400373b0
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14000d0f0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14005ef50
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003bc0
int3