Function at 0x1401dcd70
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x1402708c0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x79], rdx
mov r12, rcx
mov qword [rbp - 0x59], rcx
xor ebx, ebx
lea rax, [0x1402216d0]
mov qword [rbp - 0x49], rax
lea rax, str.TEMP
mov qword [rbp - 0x41], rax
lea rax, str.LOCALAPPDATA
mov qword [rbp - 0x39], rax
lea rax, str.USERPROFILE
mov qword [rbp - 0x31], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], 7
mov word [rbp - 0x21], bx
mov r15d, ebx
lea r13, [rbp - 0x49]
lea r14, [rbx - 1]
nop word [rax + rax]
mov rsi, qword [r13]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
je 0x1401dce95
mov eax, 2
mul rdi
cmovo rax, r14
mov rcx, rax
call fcn.1401734fc
mov rbx, rax
mov qword [rbp - 0x59], rax
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1401dce8b
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xor eax, eax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov r8, r14
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], ax
jne 0x1401dce60
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.14004eb54
nop
mov rcx, rbx
call fcn.140172db0
mov rsi, qword [rbp + 0x17]
mov rdx, qword [rbp + 0xf]
xor ebx, ebx
jmp 0x1401dceb0
mov rcx, rbx
call fcn.140172db0
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov rdx, rbx
mov qword [rbp + 0xf], rbx
mov esi, 7
mov qword [rbp + 0x17], rsi
mov word [rbp - 1], bx
test rdx, rdx
je 0x1401dcf74
lea r9, [rbp - 1]
cmp rsi, 7
cmova r9, qword [rbp - 1]
mov rax, qword [rbp - 9]
cmp rdx, rax
ja 0x1401dcefa
lea rdi, [rbp - 0x21]
cmp rax, 7
cmova rdi, qword [rbp - 0x21]
mov qword [rbp - 0x11], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.1401e0580
xor eax, eax
mov word [rdi + rbx], ax
jmp 0x1401dcf0a
xor r8d, r8d
lea rcx, [rbp - 0x21]
call fcn.1400c5520
mov rsi, qword [rbp + 0x17]
cmp r15d, 2
jb 0x1401dcf20
lea rdx, str.Temp
lea rcx, [rbp - 0x21]
call fcn.1401da7d0
xor ebx, ebx
mov dword [rbp - 0x71], ebx
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.1401dcb00
cmp dword [rax], 1
jbe 0x1401dcf5f
cmp dword [rbp - 0x71], ebx
jne 0x1401dcf5f
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x51]
call fcn.1401dcb00
cmp dword [rax], 3
jne 0x1401dcf5f
cmp dword [rbp - 0x71], ebx
je 0x1401dd045
mov qword [rbp - 0x11], rbx
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rax, qword [rbp - 0x21]
mov word [rax], bx
cmp rsi, 7
jbe 0x1401dcfb0
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401dcfab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401dd14a
call fcn.140172db0
inc r15d
add r13, 8
cmp r15d, 4
jb 0x1401dce00
cmp qword [rbp - 0x11], 0
jne 0x1401dd0c5
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, eax
test eax, eax
je 0x1401dd014
mov eax, 2
mul rdi
cmovo rax, r14
mov rcx, rax
call fcn.1401734fc
mov rbx, rax
mov qword [rbp - 0x51], rax
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x1401dd090
mov rcx, rbx
call fcn.140172db0
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401dd11b
mov rax, qword [rbp - 0x79]
test rax, rax
je 0x1401dd12d
mov dword [rax], ebx
mov byte [rax + 4], 0
lea rcx, [0x1401fe9e8]
mov qword [rax + 8], rcx
jmp 0x1401dd12d
cmp rsi, 7
jbe 0x1401dcfc1
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401dd080
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401dd14a
call fcn.140172db0
jmp 0x1401dcfc1
inc r14
cmp word [rbx + r14*2], 0
jne 0x1401dd090
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.1401da920
lea rdx, str.Temp
lea rcx, [rbp - 0x21]
call fcn.1401da7d0
nop
mov rcx, rbx
call fcn.140172db0
xor ebx, ebx
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [r12 + 0x10], xmm1
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], 7
mov word [rbp - 0x21], bx
lea rcx, [rbp - 0x21]
call fcn.140054cd8
mov rax, r12
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140173230
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, str.boost::filesystem::temp_directory_path
mov rdx, qword [rbp - 0x79]
mov ecx, eax
call fcn.1401dd870
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], 7
mov word [r12], bx
jmp 0x1401dd0e8
call fcn.14017a8e4
int3