Function at 0x140004670
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1400e9070]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
mov qword [rbp - 0x29], rcx
xor r13d, r13d
mov dword [rbp - 0x59], r13d
mov qword [rbp - 0x19], r13
mov qword [rbp - 9], r13
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r13w
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
lea rdi, [r13 - 1]
test eax, eax
je 0x14000471e
lea ecx, [rax + 1]
movsxd rdx, ecx
mov eax, 2
mul rdx
cmovo rax, rdi
mov rcx, rax
call fcn.140080e28
mov rbx, rax
test rax, rax
je 0x14000471e
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140004716
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.140002cb0
mov rcx, rbx
call fcn.140080e14
mov qword [rbp + 7], r13
mov qword [rbp + 0x17], r13
mov qword [rbp + 0x1f], r13
mov r8d, 0xd
lea rdx, str.CreativeCloud
lea rcx, [rbp + 7]
call fcn.140003250
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1400047bb
mov rax, qword [rbp + 0x17]
test rax, rax
je 0x1400047bb
lea rsi, [rcx + 0xb]
add rsi, rax
mov eax, 2
mul rsi
cmovo rax, rdi
mov rcx, rax
call fcn.140080e28
mov rbx, rax
test rax, rax
je 0x1400047bb
lea r8, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae r8, qword [rbp - 0x19]
mov rdx, rsi
mov rcx, rax
call fcn.140080dac
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.140002cb0
mov rcx, rbx
call fcn.140080e14
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400047fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c00
call fcn.140079b70
mov qword [rbp + 7], r13
mov qword [rbp + 0x17], r13
mov qword [rbp + 0x1f], r13
mov r8d, 3
lea rdx, [0x1400c6268]
lea rcx, [rbp + 7]
call fcn.140003250
nop
mov rdx, qword [rbp - 9]
test rdx, rdx
je 0x140004898
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x140004898
lea rsi, [rdx + 0xb]
add rsi, rcx
mov eax, 2
mul rsi
cmovo rax, rdi
mov rcx, rax
call fcn.140080e28
mov rbx, rax
test rax, rax
je 0x140004898
lea r8, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae r8, qword [rbp - 0x19]
mov rdx, rsi
mov rcx, rax
call fcn.140080dac
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.140002cb0
mov rcx, rbx
call fcn.140080e14
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400048d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c06
call fcn.140079b70
lea rcx, [rbp - 0x19]
call fcn.14003abd0
mov ecx, 0x180
call fcn.140079b80
mov rbx, rax
mov qword [rbp - 0x51], rax
xor edx, edx
mov r8d, 0x180
mov rcx, rax
call fcn.14007cb40
mov rcx, rbx
call fcn.140036b80
nop
lea rax, vtable.oobe::LogTargetDefault.0
mov qword [rbx], rax
lea rcx, [rbx + 0xd8]
call fcn.14002ded0
nop
mov qword [rbx + 0x138], r13
mov qword [rbx + 0x148], r13
mov qword [rbx + 0x150], 7
mov word [rbx + 0x138], r13w
mov qword [rbx + 0x168], r13
mov qword [rbx + 0x170], r13
mov qword [rbx + 0x178], r13
mov qword [rbx + 0xd0], r13
mov byte [rbx + 0x131], 1
mov qword [rbx + 0x90], r13
lea rcx, [rbx + 8]
lea rdx, str.CCD_Logs
call fcn.140002cb0
mov rcx, rbx
call fcn.140045e60
mov rcx, rbx
call fcn.140047100
mov byte [rbx + 0x130], 0
mov qword [r14 + 8], rbx
lea r8, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae r8, qword [rbp - 0x19]
lea rdx, str.ACC.log
mov rcx, rbx
call fcn.1400374c0
mov rcx, qword [r14 + 8]
call fcn.140036e40
call fcn.14002c740
mov rcx, rax
mov rdx, qword [r14 + 8]
call fcn.14002c7e0
mov ecx, 0xb0
call fcn.140079b80
mov rsi, rax
mov qword [rbp - 0x21], rax
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call fcn.14007cb40
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, 0xa
mov r8d, r9d
lea rdx, [rbp + 7]
mov ecx, eax
call fcn.1400935d4
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], r13
lea rax, [rbp + 7]
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140004a20
mov r8, rdi
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x49]
call fcn.140003250
nop
mov dword [rbp - 0x59], 7
lea rax, [rbp - 0x49]
mov rbx, qword [rbp - 0x49]
mov rdi, qword [rbp - 0x31]
cmp rdi, 8
cmovae rax, rbx
mov qword [rbp - 0x51], rax
lea rax, vtable.oobe::Logger.0
mov qword [rsi], rax
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x20], r13
mov qword [rsi + 0x28], 7
mov word [rsi + 0x10], r13w
mov qword [rsi + 0x30], r13
mov qword [rsi + 0x40], r13
mov qword [rsi + 0x48], 7
mov word [rsi + 0x30], r13w
mov qword [rsi + 0x50], r13
mov qword [rsi + 0x60], r13
mov qword [rsi + 0x68], 7
mov word [rsi + 0x50], r13w
xor eax, eax
mov qword [rsi + 0x70], rax
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x88], 7
mov word [rsi + 0x70], ax
lea rcx, [rsi + 0x90]
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
lea rdx, str.CCD_Logs
call fcn.140002cb0
mov rdx, qword [rbp - 0x51]
test rdx, rdx
je 0x140004afe
lea rcx, [rsi + 0x10]
call fcn.140002cb0
mov rdi, qword [rbp - 0x31]
mov rbx, qword [rbp - 0x49]
lea rdx, [0x1400c62c0]
lea rcx, [rsi + 0x30]
call fcn.140002cb0
lea rdx, str.CCDApp
lea rcx, [rsi + 0x50]
call fcn.140002cb0
lea rdx, str.ApplicationContext
lea rcx, [rsi + 0x70]
call fcn.140002cb0
call fcn.14002c740
mov qword [rsi + 8], rax
mov r14, qword [rbp - 0x29]
mov qword [r14], rsi
cmp rdi, 8
jb 0x140004b79
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140004b71
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c0c
mov rcx, rbx
call fcn.140079b70
mov rcx, qword [r14]
mov rax, qword [rcx]
lea rdx, str._START_Creative_Cloud_Desktop._Version:_6.1.0.587_
mov rax, qword [rax + 0x28]
call qword [case.0x140049d6d.0]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140004bcd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004bfa
call fcn.140079b70
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140079b50
lea r11, [rsp + 0xb0]
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
call fcn.140080d34
nop
call fcn.140080d34
nop
call fcn.140080d34
int3
call fcn.140080d34
int3