Function at 0x18001bf10
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x318]
sub rsp, 0x410
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1800e3040]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
xor esi, esi
mov dword [rsp + 0x30], esi
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
call fcn.18008fa14
lea r14, str.Command.txt
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xa8], 0xb
lea r8, [rbp + 0xa0]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.180017640
mov dword [rsp + 0x30], 3
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, rax
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18001bfc0
call fcn.18008fa14
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], rbx
lea r8, [rbp + 0xa0]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.180017640
mov dword [rsp + 0x30], 0x3b
lea rcx, [rsp + 0x50]
call fcn.18001d310
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180017890
mov r8d, 1
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1e0]
call fcn.18001d1e0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x18001c06d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c068
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001c068
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180090970
movdqa xmm0, xmmword [0x1800d0880]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x18001c0c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c0bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001c0bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180090970
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], si
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x48], 1
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx + 0x228]
mov qword [rbp + 0xa0], rcx
test rcx, rcx
sete byte [rbp + 0xa8]
mov byte [rbp + 0xa9], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xc8], rsi
movaps xmm0, xmmword [rbp + 0xa0]
movaps xmmword [rbp + 0xa0], xmm0
movaps xmm6, xmmword [rsp + 0x40]
test rcx, rcx
je 0x18001c17e
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x18001c164
mov byte [rbp + 0xa9], al
mov rax, qword [rbp + 0xa0]
mov byte [rbp + 0xa8], 1
movaps xmm0, xmmword [rbp + 0xa0]
jmp 0x18001c183
mov rax, rsi
mov qword [rbp + 0xa0], rax
mov byte [rbp + 0xa8], 1
movaps xmm0, xmmword [rbp + 0xa0]
jmp 0x18001c183
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x18001c3be
test rax, rax
je 0x18001c3c7
movdqa xmmword [rbp + 0xa0], xmm6
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rbp + 0xa0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xb0]
call fcn.1800221c0
nop
lea rcx, [rbp + 0x1f0]
call fcn.180009300
test rax, rax
jne 0x18001c1f4
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1e0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp qword [rbp + 0xc0], 0
je 0x18001c37f
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll_memset
call fcn.18008fa14
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xa8], 0xb
lea r8, [rbp + 0xa0]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.180017640
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xd0]
call fcn.180018950
nop
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xd0]
add rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
lea rcx, [rbp - 0x70]
call fcn.18001c740
nop
lea rcx, [rbp + 0xd8]
call fcn.180009300
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::swap_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____ptr64]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0xd8]
call fcn.18001cdb0
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rbx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.180008ba0
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xd8]
call fcn.180009300
test rax, rax
jne 0x18001c321
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xd0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xd0], rbx
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xcc], edx
lea rcx, [rbp + 0xd8]
call fcn.180008ba0
lea rcx, [rbp + 0xe0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x178]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rdx, [rbp + 0xb0]
call fcn.18001b200
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x18001c3ea
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c3e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001c3e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rax, rax
je 0x18001c19a
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
jmp 0x18001c1c1
call fcn.180090970
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1dc], edx
lea rcx, [rbp + 0x1f0]
call fcn.180008ba0
lea rcx, [rbp + 0x1f8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x290]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.1800903f0
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret