Function at 0x140007942
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b8
mov rsi, rcx
lea rdx, str.C:WindowsTemp
lea rcx, [rsp + 0x50]
call sym._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2B8ue170005ILi0EEEPKc
lea rcx, [rsp + 0x68]
lea rdx, str._userprofile_Desktop
call sym._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2B8ue170005ILi0EEEPKc
mov rcx, rsi
call sym.strlen
movabs rcx, 0x3a2273656c694622
mov qword [rsi + rax], rcx
mov dword [rsi + rax + 7], 0x7b203a
xor r14d, r14d
lea rdi, [rsp + 0xb0]
lea rbx, [rsp + 0x38]
lea r15, [rsp + 0x98]
lea r12, [0x14009f88c]
lea r13, [rsp + 0x80]
lea rbp, str.___s_:_
test byte [rsp + r14 + 0x50], 1
jne 0x1400079e9
lea rax, [rsp + r14]
add rax, 0x50
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x30], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
jmp 0x1400079fd
mov r8, qword [rsp + r14 + 0x58]
mov rdx, qword [rsp + r14 + 0x60]
lea rcx, [rsp + 0x20]
call method.std::__1::basic_string_char__std::__1::char_traits_char___std::__1::allocator_char___.__init_copy_ctor_external_char_const__unsigned_long_long_
test byte [rsp + 0x20], 1
lea rcx, [rsp + 0x21]
je 0x140007a0e
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov rcx, rbx
mov rdx, rdi
call sym._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2B8ue170005ILi0EEEPKc
mov rcx, r15
lea rdx, [0x14009f880]
call sym._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2B8ue170005ILi0EEEPKc
mov rcx, r13
mov rdx, r12
call sym._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2B8ue170005ILi0EEEPKc
mov rcx, rbx
mov rdx, r15
mov r8, r13
call sym.replaceAll_std::__1::basic_string_char__std::__1::char_traits_char___std::__1::allocator_char_____std::__1::basic_string_char__std::__1::char_traits_char___std::__1::allocator_char____const__std::__1::basic_string_char__std::__1::char_traits_char___std::__1::allocator_char____const_
test byte [rsp + 0x80], 1
je 0x140007a67
mov rcx, qword [rsp + 0x90]
call sym..weak._ZdlPv.default.__clang_call_terminate
test byte [rsp + 0x98], 1
je 0x140007a7e
mov rcx, qword [rsp + 0xa8]
call sym..weak._ZdlPv.default.__clang_call_terminate
mov rcx, rsi
call sym.strlen
movzx edx, byte [rsp + 0x38]
test dl, 1
je 0x140007a9c
mov rdx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
jmp 0x140007aa3
shr edx, 1
lea r9, [rsp + 0x39]
add rax, rsi
add rdx, 9
mov rcx, rax
mov r8, rbp
call fcn.14000aca4
mov rcx, rdi
mov rdx, rsi
call sym.ListFilesInDirectory_char_const__char_
mov rcx, rsi
call sym.strlen
mov word [rsi + rax], 0x2c5d
mov byte [rsi + rax + 2], 0
test byte [rsp + 0x38], 1
je 0x140007ae4
mov rcx, qword [rsp + 0x48]
call sym..weak._ZdlPv.default.__clang_call_terminate
test byte [rsp + 0x20], 1
je 0x140007af5
mov rcx, qword [rsp + 0x30]
call sym..weak._ZdlPv.default.__clang_call_terminate
add r14, 0x18
cmp r14, 0x30
jne 0x1400079c6
mov rcx, rsi
call sym.strlen
xor edi, edi
mov byte [rax + rsi - 1], dil
mov rcx, rsi
call sym.strlen
mov byte [rsi + rax + 2], dil
mov word [rsi + rax], 0x2c7d
mov esi, 0x30
test byte [rsp + rsi + 0x38], 1
je 0x140007b3b
mov rcx, qword [rsp + rsi + 0x48]
call sym..weak._ZdlPv.default.__clang_call_terminate
add rsi, 0xffffffffffffffe8
jne 0x140007b2a
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret