Function at 0x140130de0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov rax, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x40], r14
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, eax
test eax, eax
jns 0x140130fe8
call fcn.140118690
mov rdi, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x140130fd0
mov rax, qword [rcx]
call qword [rax + VariantCopy]
cmp eax, 2
jl 0x140130fd0
lea rax, [0x1401913a0]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x20], r14
mov qword [rbp + 8], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov dword [rsp + 0x48], 2
lea r12, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x28], r12
mov dword [rbp - 0x2c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.140016f30
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x50], r15
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.140016ea0
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x40], r14
mov dword [rbp - 0x38], 4
lea rdx, str.SHGetKnownFolderPath_failed_with
lea rcx, [rsp + 0x50]
call fcn.14001e8f0
mov rcx, rax
mov edx, esi
call fcn.14012fd30
mov rsi, qword [rdi]
lea edx, [r14 + 0x2f]
lea rdi, str.D:Jenkinsworkspaceccd_appmain_nativewin64_buildgit_adobeccddunamis_sdkdunamis_internaldunamis_core_sourcedunamiscore_filesystemwin_filesystem_win.cpp
mov rcx, rdi
call fcn.140154680
test rax, rax
jne 0x140130f3a
lea edx, [rax + 0x5c]
mov rcx, rdi
call fcn.140154680
test rax, rax
je 0x140130f3e
lea rdi, [rax + 1]
mov rax, qword [rsi]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x2d
mov qword [rsp + 0x20], rdi
lea r9, str.dunamis::_anonymous_namespace::getKnownFolder
lea r8, [0x140184060]
mov edx, 2
mov rcx, rsi
call qword [rax + 0x20]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], r15
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.140015d60
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], r12
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.140060930
nop
mov qword [rbx], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
jmp 0x1401310f7
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], r14
mov rdx, qword [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140131000
lea rcx, [rbp + 0x48]
call fcn.140006890
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbx], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
lea r15, [rbp + 0x48]
mov r14, qword [rbp + 0x48]
mov r12, qword [rbp + 0x60]
cmp r12, 8
cmovae r15, r14
movabs rdi, 0x7ffffffffffffffe
mov rsi, qword [rbp + 0x58]
cmp rsi, rdi
ja 0x140131128
mov qword [rbx + 0x18], 7
cmp rsi, 8
jae 0x14013107a
mov qword [rbx + 0x10], rsi
mov r8d, 0x10
mov rdx, r15
mov rcx, rbx
call fcn.14007e1c0
jmp 0x1401310c0
mov rax, rsi
or rax, 7
cmp rax, rdi
ja 0x140131095
mov rdi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rdi, rcx
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.140007410
mov qword [rbx], rax
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rdi
lea r8, [rsi*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.14007e1c0
nop
cmp r12, 8
jb 0x1401310f7
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x1401310ef
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140131122
mov rcx, r14
call fcn.14007c190
mov rax, rbx
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.14007bb60
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140082b90
nop
call fcn.140002490
nop
int3