Function at 0x1401679e0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403644c8]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.14016f920
xor edi, edi
lea rsi, [0x14028b1b8]
test al, al
je 0x140167c60
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14030c868]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x140167aba
xor r8d, r8d
lea edx, [rdi + 4]
lea rcx, [rbp - 0x80]
call fcn.14025b540
nop
lea rcx, [rbp - 0x80]
call fcn.14025c1a0
test al, al
je 0x140167a87
lea rdx, str.temp_file_manager:_local_low_temp_path_failed
lea rcx, [rbp - 0x80]
call fcn.140253210
nop
lea rcx, [rbp - 0x80]
call fcn.140252b50
xor al, al
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400e39a0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
movdqa xmm0, xmmword [0x14027bc70]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
mov rdx, qword [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], di
jne 0x140167ae0
lea rcx, [rsp + 0x40]
call fcn.140086f50
nop
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.Temp
lea rcx, [rsp + 0x40]
call fcn.140174100
lea rax, [rsp + 0x40]
cmp rbx, rax
je 0x140167b39
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140086f50
mov rcx, rbx
call fcn.140166910
test al, al
jne 0x140167c50
mov dword [rsp + 0x28], edi
mov byte [rsp + 0x2c], al
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140172960
nop
cmp dword [rsp + 0x28], 0
je 0x140167c50
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp - 0x80]
call fcn.14025b540
nop
lea rcx, [rbp - 0x80]
call fcn.14025c1a0
test al, al
je 0x140167c36
lea rdx, str.temp_file_manager:_create_directories_of
lea rcx, [rbp - 0x80]
call fcn.140253210
mov rdx, rbx
mov rcx, rax
call fcn.140252e40
lea rdx, str._failed__
mov rcx, rax
call fcn.140253210
mov rbx, rax
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0x28]
mov r8d, dword [rsp + 0x28]
lea rdx, [rsp + 0x60]
call r9
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140252d20
lea rdx, [0x14027b3d4]
mov rcx, rax
call fcn.140253210
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140167c36
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140167c30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140167c30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082ab0
nop
lea rcx, [rbp - 0x80]
call fcn.140252b50
nop
lea rcx, [rsp + 0x40]
call fcn.1400867f0
nop
jmp 0x140167a90
lea rcx, [rsp + 0x40]
call fcn.1400867f0
nop
jmp 0x140167ce5
lea rcx, str.NITRO_TMP_FOLDER
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wgetenv]
test rax, rax
je 0x140167c97
cmp word [rax], di
je 0x140167c97
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], di
jne 0x140167c80
mov rdx, rax
mov rcx, rbx
call fcn.140086f50
jmp 0x140167ce5
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140173570
nop
lea rax, [rsp + 0x40]
cmp rbx, rax
je 0x140167cda
mov rcx, rbx
call fcn.1400867f0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x14027bc70]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.1400867f0
nop
mov rax, qword [rbx + 0x10]
test rax, rax
jne 0x140167d29
xor r8d, r8d
lea edx, [rax + 4]
lea rcx, [rbp - 0x80]
call fcn.14025b540
nop
lea rcx, [rbp - 0x80]
call fcn.14025c1a0
test al, al
je 0x140167d1c
lea rdx, str.temp_file_manager:_temp_directory_path_empty
lea rcx, [rbp - 0x80]
call fcn.140253210
nop
lea rcx, [rbp - 0x80]
call fcn.140252b50
mov rax, qword [rbx + 0x10]
mov dword [rsp + 0x60], edi
mov byte [rsp + 0x64], 0
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x40], edi
mov byte [rsp + 0x44], 0
mov qword [rsp + 0x48], rsi
test rax, rax
je 0x140167a90
lea r8, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1401733b0
cmp dword [rax], 1
jbe 0x140167a90
cmp dword [rsp + 0x60], 0
jne 0x140167a90
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1401733b0
cmp dword [rax], 3
jne 0x140167a90
cmp dword [rsp + 0x40], 0
jne 0x140167a90
mov al, 1
jmp 0x140167a92