Function at 0x14010c600
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov ebx, r9d
mov r13d, r8d
movsxd rbp, edx
mov r15, rcx
xor edi, edi
mov r12d, edi
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400f2a60
nop
test ebp, ebp
jle 0x14010c8c4
lea r8, str.mskernel32hlp.dll
lea rdx, str.shellfolder
lea rcx, [rsp + 0x30]
test ebx, ebx
je 0x14010c682
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
jmp 0x14010c6a1
lea rax, str._AMZ2112
mov qword [rsp + 0x28], rax
lea rax, str.shelloldbuild
mov qword [rsp + 0x20], rax
lea r9, str.shelloldmake
call fcn.140105340
mov r12d, eax
test eax, eax
jle 0x14010c8c4
lea r14, [0x140312c90]
or rsi, 0xffffffffffffffff
cmp byte [0x140312c90], 0
je 0x14010c75f
mov rbx, rsi
nop dword [rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x14010c6d0
lea rcx, [rsp + 0x30]
call fcn.1400f3130
mov rdi, rax
test rax, rax
je 0x14010c75f
nop dword [rax]
mov rcx, rdi
call fcn.1400494c0
mov r14, rax
test rax, rax
je 0x14010c716
mov r8, rbx
lea rdx, [0x140312c90]
mov rcx, rax
call fcn.1401621bc
test eax, eax
je 0x14010c72d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400f3190
mov rdi, rax
test rax, rax
je 0x14010c758
jmp 0x14010c6f0
mov r8, rbp
mov rcx, r15
test r13d, r13d
mov rdx, r14
jne 0x14010c73f
lea rdx, [r14 + rbx]
call fcn.140157390
lea eax, [rbp - 1]
movsxd rcx, eax
mov byte [rcx + r15], 0
test rdi, rdi
jne 0x14010c8c4
lea r14, [0x140312c90]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rax, [rsp + 0x60]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14010c774
lea rcx, [rsp + 0x30]
call fcn.1400f3130
test rax, rax
mov rbx, rax
je 0x14010c841
mov rcx, rax
call fcn.1400494c0
mov rdi, rax
test rax, rax
je 0x14010c7b7
mov r8, rsi
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1401621bc
test eax, eax
jne 0x14010c7c6
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400f3190
jmp 0x14010c787
cmp byte [0x140312c90], 0
jne 0x14010c803
mov rcx, rdi
mov rdx, r14
sub rdx, rdi
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14010c7e0
mov edx, 0x5c
mov rcx, r14
call fcn.1401421b8
test rax, rax
je 0x14010c803
mov byte [rax], 0
test r13d, r13d
jne 0x14010c81f
lea edx, [r13 + 0x5c]
mov rcx, rdi
call fcn.1401421b8
lea rcx, [rax + 1]
test rax, rax
cmovne rdi, rcx
mov r8, rbp
mov rdx, rdi
mov rcx, r15
call fcn.140157390
lea eax, [rbp - 1]
movsxd rcx, eax
mov byte [rcx + r15], 0
test rbx, rbx
jne 0x14010c8c4
test r13d, r13d
je 0x14010c8c1
lea rcx, [rsp + 0x30]
call fcn.1400f3130
test rax, rax
je 0x14010c8c4
mov rcx, rax
call fcn.1400494c0
mov rbx, rax
test rax, rax
je 0x14010c8c4
cmp byte [0x140312c90], 0
jne 0x14010c8a6
mov r9, rax
mov r10, r14
sub r10, rax
nop word [rax + rax]
movzx r8d, byte [r9]
mov byte [r10 + r9], r8b
lea r9, [r9 + 1]
test r8b, r8b
jne 0x14010c880
mov edx, 0x5c
mov rcx, r14
call fcn.1401421b8
test rax, rax
je 0x14010c8a6
mov byte [rax], 0
mov r8, rbp
mov rdx, rbx
mov rcx, r15
call fcn.140157390
lea eax, [rbp - 1]
movsxd rcx, eax
mov byte [rcx + r15], 0
jmp 0x14010c8c4
xor r12d, r12d
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1400f2f30
nop
lea rcx, [rsp + 0x30]
call fcn.1400f2ab0
mov eax, r12d
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140113910
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret