Function at 0x14001fc44
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 [rbp - 0x78], 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 r12, rcx
mov edi, 1
mov edx, edi
call fcn.140032178
mov rcx, rax
xor edx, edx
call fcn.140032030
mov edx, 0x3ed
mov rcx, r12
call fcn.140032178
mov r13, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov esi, 0x104
mov edx, esi
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, [0x140085174]
lea ebx, [rsi + 1]
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1400673e8
lea r8, str.diskptex.dat
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1400673e8
call fcn.1400279a4
mov rcx, rax
xor r15d, r15d
test rax, rax
je 0x14001ffe1
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 0x14001fdc5
cmp dword [rbp - 0x64], edi
jne 0x14001fdc5
mov dword [rsp + 0x48], esi
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
mov edx, 0x419
mov rcx, r12
call fcn.140032178
mov rcx, rax
xor edx, edx
call fcn.140032030
mov edx, 0x3ef
mov rcx, r12
call fcn.140032178
mov rcx, rax
xor edx, edx
call fcn.140032030
mov edx, 0x3f1
mov rcx, r12
call fcn.140032178
mov rcx, rax
xor edx, edx
call fcn.140032030
mov edx, edi
mov rcx, r12
call fcn.140032178
mov rcx, rax
xor edx, edx
call fcn.140032030
jmp 0x14001fddf
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 + 0x60]
call fcn.140037358
nop
xor r9d, r9d
mov r8d, 0x8040
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140037998
or rsi, 0xffffffffffffffff
test eax, eax
je 0x14001ff86
lea rcx, [rsp + 0x60]
call fcn.140037884
lea r14d, [rax - 4]
movsxd rcx, eax
sub rcx, 4
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 0x14001ff86
mov eax, 0x3ec
mul rdi
cmovo rax, rsi
mov rcx, rax
call fcn.14002700c
mov rsi, rax
test rax, rax
je 0x14001ff82
mov r8d, 4
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140037bdc
mov r8d, r14d
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140037bdc
cmp r14d, eax
jne 0x14001ff7a
xor eax, eax
test edi, edi
jle 0x14001ff7a
mov r14, rsi
cmp dword [r14], 1
jne 0x14001ff62
mov word [r14 + 0x3ea], ax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
movsxd rax, r15d
imul rcx, rax, 0x3ec
lea rdx, [rsi + 4]
add rdx, rcx
lea rcx, [rsp + 0x58]
call fcn.140003464
nop
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.14001cf20
nop
mov rbx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov r9, rbx
mov r8d, eax
lea edx, [rcx + 1]
mov rcx, r13
call fcn.1400368bc
inc r15d
add r14, 0x3ec
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ff60
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
inc r15d
add r14, 0x3ec
cmp r15d, edi
jl 0x14001feb1
mov rbx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.140027004
or rsi, 0xffffffffffffffff
call fcn.140061710
nop
lea rcx, [rsp + 0x60]
call fcn.1400373b0
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14001ffb1
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