Function at 0x140201eb0
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 [0x1405d3230]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x61], rdx
mov r15, rcx
mov qword [rbp - 0x59], rcx
xor r12d, r12d
test rdx, rdx
je 0x140201f01
xorps xmm0, xmm0
mov qword [rbp - 0x69], r12
movups xmmword [rdx], xmm0
movsd xmm0, qword [rbp - 0x69]
movsd qword [rdx + 0x10], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r12w
lea r13, [0x1405cb038]
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
mov r14, qword [r13]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
je 0x140201fc1
mov eax, 2
mul rsi
cmovo rax, rdi
mov rcx, rax
call fcn.14045aa34
mov rbx, rax
mov qword [rbp - 0x41], rax
mov r8d, esi
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140201fb9
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xor r14d, r14d
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], r14
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], r14w
jne 0x140201f90
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.1401b5710
nop
mov rcx, rbx
call fcn.14045a270
mov rax, qword [rbp + 0x17]
mov rcx, qword [rbp + 0xf]
jmp 0x140201fe0
mov rcx, rbx
call fcn.14045a270
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xor r14d, r14d
mov ecx, r14d
mov qword [rbp + 0xf], rcx
mov eax, 7
mov qword [rbp + 0x17], rax
mov word [rbp - 1], r14w
test rcx, rcx
je 0x1402020e4
lea rdx, [rbp - 1]
cmp rax, 8
jb 0x140201ffc
mov rdx, qword [rbp - 1]
mov rax, rdx
jmp 0x140202000
lea rax, [rbp - 1]
lea r8, [rdx + rcx*2]
sub r8, rax
sar r8, 1
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.1401ffa30
cmp r12d, 2
jb 0x140202034
lea r8, [0x1404a11b8]
lea rdx, str.Temp
lea rcx, [rbp - 0x21]
call fcn.140202df0
nop
xorps xmm0, xmm0
mov qword [rbp - 0x29], r14
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [rbp - 0x29]
movsd qword [rbp - 0x69], xmm0
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x49]
call fcn.140201b90
cmp dword [rbp - 0x49], 1
seta al
test al, al
je 0x1402020ca
test byte [rbp - 0x69], 1
je 0x14020207d
cmp qword [rbp - 0x69], 1
jne 0x1402020ca
cmp dword [rbp - 0x79], 0
setne al
test al, al
jne 0x1402020ca
xorps xmm0, xmm0
mov qword [rbp - 0x29], r14
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [rbp - 0x29]
movsd qword [rbp - 0x69], xmm0
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x59]
call fcn.140201b90
nop
cmp dword [rbp - 0x59], 3
jne 0x1402020ca
test byte [rbp - 0x69], 1
je 0x1402021b6
cmp qword [rbp - 0x69], 1
jne 0x1402020ca
cmp dword [rbp - 0x79], 0
setne al
test al, al
je 0x1402021b6
mov qword [rbp - 0x11], r14
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rax, qword [rbp - 0x21]
mov word [rax], r14w
mov rax, qword [rbp + 0x17]
cmp rax, 8
jb 0x140202120
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020211b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402022e5
call fcn.14045a270
inc r12d
add r13, 8
cmp r12d, 4
jb 0x140201f30
cmp qword [rbp - 0x11], 0
jne 0x14020223e
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, eax
test eax, eax
je 0x140202182
mov eax, 2
mul rsi
cmovo rax, rdi
mov rcx, rax
call fcn.14045aa34
mov rbx, rax
mov qword [rbp - 0x41], rax
mov edx, esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x140202200
mov rcx, rbx
call fcn.14045a270
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbp - 0x61]
test eax, eax
jne 0x140202279
test rdx, rdx
je 0x140202287
xorps xmm0, xmm0
mov qword [rbp - 0x29], r14
movups xmmword [rdx], xmm0
movsd xmm0, qword [rbp - 0x29]
movsd qword [rdx + 0x10], xmm0
jmp 0x140202287
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140202131
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402021f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402022e5
call fcn.14045a270
jmp 0x140202131
lea rdi, [rdi + 1]
cmp word [rbx + rdi*2], 0
jne 0x140202200
lea r8, [rdi + rdi]
sar r8, 1
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.1401ffa30
lea r8, [0x1404a11b8]
lea rdx, str.Temp
lea rcx, [rbp - 0x21]
call fcn.140202df0
nop
mov rcx, rbx
call fcn.14045a270
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [r15 + 0x10], xmm1
mov rax, r15
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14045a250
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 ecx, eax
call fcn.140204680
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], 7
mov word [r15], r14w
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x14020224f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402022d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402022df
call fcn.14045a270
jmp 0x14020224f
call fcn.140470888
nop
call fcn.140470888
int3