Function at 0x140001ef0
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140042060]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
lea rdx, [rbp + 0x90]
mov ecx, 0xff
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xor edi, edi
test eax, eax
je 0x1400021fe
mov qword [rbp + 0x80], rdi
lea rax, [rbp + 0x90]
mov qword [rbp + 0x88], 0xf
mov r8, 0xffffffffffffffff
mov byte [rbp + 0x70], dil
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140001f60
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x70]
call fcn.140006250
mov r8d, 0xe
lea rdx, str.CreativeCloud
lea rcx, [rbp + 0x70]
call fcn.1400063b0
cmp qword [rbp + 0x88], 0x10
lea rcx, [rbp + 0x70]
cmovae rcx, qword [rbp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140001fbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400021c4
mov r8d, 0x19
lea rdx, str.Creative_Cloud_Libraries
lea rcx, [rbp + 0x70]
call fcn.1400063b0
cmp qword [rbp + 0x88], 0x10
lea rcx, [rbp + 0x70]
cmovae rcx, qword [rbp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140002001
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400021c4
mov r8d, 0x17
lea rdx, str.CC_Library_Process.log
lea rcx, [rbp + 0x70]
call fcn.1400063b0
lea rcx, [rsp + 0x20]
call fcn.140004430
cmp qword [rbp + 0x88], 0x10
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x20]
cmovae rdx, qword [rbp + 0x70]
call fcn.140005ca0
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rbp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140004730
mov rcx, rax
lea rdx, [0x14003d24c]
call fcn.140007390
movzx edx, word [rbp + 0x62]
mov rcx, rax
call fcn.140004730
mov rcx, rax
lea rdx, [0x14003d24c]
call fcn.140007390
movzx edx, word [rbp + 0x66]
mov rcx, rax
call fcn.140004730
mov rcx, rax
lea rdx, [0x14003d24c]
call fcn.140007390
movzx edx, word [rbp + 0x68]
mov rcx, rax
call fcn.140004730
mov rcx, rax
lea rdx, [0x14003d248]
call fcn.140007390
movzx edx, word [rbp + 0x6a]
mov rcx, rax
call fcn.140004730
mov rcx, rax
lea rdx, [0x14003d248]
call fcn.140007390
movzx edx, word [rbp + 0x6c]
mov rcx, rax
call fcn.140004730
mov rcx, rax
lea rdx, str._CCLibrariesNative:
call fcn.140007390
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x1400020f7
mov rdx, qword [rbx]
lea rcx, [rsp + 0x20]
call fcn.140007750
mov rcx, rax
lea rdx, [0x14003d250]
call fcn.140007390
lea rcx, [rsp + 0x20]
call fcn.140004670
lea rcx, [rsp + 0x28]
call fcn.140005ba0
test rax, rax
jne 0x140002159
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
mov eax, 4
cmp qword [rsp + rcx + 0x68], rdi
mov edx, dword [rsp + rcx + 0x34]
cmovne eax, edi
or eax, dword [rsp + rcx + 0x30]
and eax, 0x15
or eax, 2
mov dword [rsp + rcx + 0x30], eax
and edx, eax
jne 0x140002278
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [0x14003d650]
mov qword [rsp + rcx + 0x20], rax
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x1c], edx
lea rcx, [rsp + 0x28]
call fcn.140004150
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [0x14003d4c0]
mov qword [rsp + rcx + 0x20], rax
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [0x14003d4b8]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x1c], edx
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x38], rax
call fcn.140009df4
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x1400021fe
mov rcx, qword [rbp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021f9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000226c
call fcn.14000aa70
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140002239
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140002234
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002272
mov rcx, r8
call fcn.14000aa70
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14000aa10
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140010b1c
int3
call fcn.140010b1c
int3
test dl, 4
je 0x140002286
lea rdx, str.ios_base::badbit_set
jmp 0x14000229b
test dl, 2
lea rax, str.ios_base::eofbit_set
lea rdx, str.ios_base::failbit_set
cmove rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140001280
mov r8, rax
lea rcx, [rbp + 0x40]
call fcn.140001de0
mov rcx, rax
call fcn.140001100
int3