Function at 0x18002f380
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x180211600]
xor rax, rsp
mov qword [rbp + 0x320], rax
xor r15d, r15d
mov dword [rsp + 0x34], r15d
mov dword [rbp + 0xb4], 0x617461
mov dword [rbp + 0xb0], 0x64707061
mov byte [rbp + 0xb8], r15b
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0xc8], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0xd8], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x18002f410
mov rdx, rax
lea rcx, [rbp + 0xc8]
call fcn.180006350
nop
vmovdqu xmm0, xmmword [0x1801e5060]
vmovdqu xmmword [rbp + 0x90], xmm0
mov dword [rbp + 0xa0], 0x40075b40
mov dword [rbp + 0xa4], 0x434358
mov byte [rbp + 0xa8], 1
lea rcx, [rbp + 0x90]
call fcn.180033600
inc rbx
cmp byte [rax + rbx], 0
jne 0x18002f460
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xc8]
call fcn.1800085c0
lea rbx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rbx, qword [rbp + 0xc8]
lea r12, [0x180000000]
lea rax, [r12 + 0x1ce844]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x34], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], rdi
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x50], rax
mov byte [rbp - 0x34], 0
mov byte [rbp - 0x3f], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x30], r15
mov rax, qword [0x180237e50]
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x48], r15
mov r9d, 0x40
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.18002be10
test rax, rax
jne 0x18002f573
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
xor r8d, r8d
mov edx, 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 [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], rdi
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x3c], edx
cmp qword [rbp - 0x30], 0
jne 0x18002f5fe
call fcn.180027830
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rdx, qword [rbp + 0xc8]
mov r9d, 0x40
mov r8d, 1
lea rcx, [rsp + 0x50]
call fcn.18002be10
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
je 0x18002f5f0
add rcx, rax
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]
jmp 0x18002f5fe
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov qword [rbp + 0x88], r15
lea rax, [rsp + 0x40]
mov qword [rbp + 0xb0], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx - 0x78]
mov qword [rbp + 0xb8], rax
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x230]
call fcn.18002b8b0
nop
mov rcx, rax
call fcn.180029db0
nop
lea rcx, [rbp + 0x278]
call fcn.18002bab0
mov rcx, qword [rbp + 0x268]
test rcx, rcx
je 0x18002f672
mov rax, qword [rcx]
lea rdx, [rbp + 0x230]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xor r14b, r14b
lea r13, [0x180237f98]
lea r8, [r13 + 0x10]
mov qword [rbp + 0x90], r8
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp + 0x98], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0xa0], xmm1
movabs r9, 0x8000000000000000
mov qword [rbp + 0xa8], r9
movzx edx, byte [r8]
cmp edx, 9
ja case.0x18002f6d9.3
movsxd rax, edx
mov ecx, dword [r12 + rax*4 + 0x2fbcc]
add rcx, r12
jmp rcx
cmp edx, 9
ja case.0x18002f6d9.3
mov ecx, dword [r12 + rdx*4 + 0x2fbf4]
add rcx, r12
jmp rcx
mov rax, qword [r8 + 8]
mov rcx, qword [rax]
mov rax, qword [rcx]
mov qword [rbp + 0x98], rax
jmp 0x18002f712
mov rax, qword [r8 + 8]
mov rcx, qword [rax]
mov qword [rbp + 0xa0], rcx
jmp 0x18002f712
mov qword [rbp + 0xa8], 1
jmp 0x18002f712
mov qword [rbp + 0xa8], r15
vmovups ymm0, ymmword [rbp + 0x90]
vmovups ymmword [rbp + 0x110], ymm0
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x138], r15
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x140], xmm0
vmovdqu xmm2, xmmword [0x1801e4860]
vmovdqu xmmword [rbp + 0x150], xmm2
mov word [rbp + 0x140], 0x30
vmovups xmmword [rbp + 0x160], xmm0
vmovdqu xmm3, xmmword [0x1801e4850]
vmovdqu xmmword [rbp + 0x170], xmm3
mov byte [rbp + 0x160], 0
lea r8, [r13 + 0x10]
mov qword [rbp + 0x90], r8
vmovdqu xmmword [rbp + 0x98], xmm0
vmovdqu xmmword [rbp + 0xa0], xmm1
mov qword [rbp + 0xa8], r9
movzx edx, byte [r8]
cmp edx, 9
ja case.0x18002f7bf.0
movsxd rax, edx
mov ecx, dword [r12 + rax*4 + 0x2fc1c]
add rcx, r12
jmp rcx
cmp edx, 9
ja case.0x18002f7bf.0
mov ecx, dword [r12 + rdx*4 + 0x2fc44]
add rcx, r12
jmp rcx
mov rax, qword [r8 + 8]
mov rcx, qword [rax]
mov qword [rbp + 0x98], rcx
jmp 0x18002f7ed
mov rax, qword [r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rbp + 0xa0], rcx
jmp 0x18002f7ed
mov qword [rbp + 0xa8], 1
vmovups ymm0, ymmword [rbp + 0x90]
vmovups ymmword [rbp + 0x180], ymm0
mov qword [rbp + 0x1a0], r15
mov qword [rbp + 0x1a8], r15
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x1b0], xmm0
vmovdqu xmmword [rbp + 0x1c0], xmm2
mov word [rbp + 0x1b0], 0x30
vmovups xmmword [rbp + 0x1d0], xmm0
vmovdqu xmmword [rbp + 0x1e0], xmm3
mov byte [rbp + 0x1d0], 0
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x110]
vzeroupper
call fcn.180009620
test al, al
je 0x18002f9f5
nop dword [rax]
lea rcx, [rbp + 0x110]
call fcn.18002bc30
mov rbx, rax
cmp byte [0x180237f98], 1
jne 0x18002f8a2
mov r8, rax
lea rdx, [rbp + 0xb0]
mov rcx, qword [0x180237fa0]
call fcn.18000e9e0
mov r8, rbx
mov rdx, qword [rax + 0x10]
call fcn.18000eab0
test al, al
jne 0x18002f9c0
mov r14b, 1
lea rax, [rbp + 0x90]
mov qword [rbp + 0xb0], rax
mov rdx, qword [rbp + 0x110]
movzx eax, byte [rdx]
cmp eax, 9
ja case.0x18002f8cd.3
mov ecx, dword [r12 + rax*4 + 0x2fc6c]
add rcx, r12
jmp rcx
mov rdx, qword [rbp + 0x118]
add rdx, 0x40
jmp 0x18002f8f3
mov rdx, qword [rbp + 0x120]
jmp 0x18002f8f3
cmp qword [rbp + 0x128], 0
jne 0x18002fb52
lea rcx, [rbp + 0x90]
call fcn.180007910
mov rdi, rax
lea rcx, [rbp + 0x110]
call fcn.18002bc30
mov rsi, rax
movzx ecx, byte [0x180237f98]
test cl, cl
jne 0x18002f97f
mov byte [0x180237f98], 1
mov ecx, 0x10
call fcn.18016cca4
mov rbx, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf0], rbx
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov ecx, 0x50
call fcn.18016cca4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rbp + 0xf0], r15
mov qword [0x180237fa0], rbx
movzx ecx, byte [0x180237f98]
jmp 0x18002f986
mov rbx, qword [0x180237fa0]
cmp cl, 1
jne 0x18002fb01
mov rdx, rsi
mov rcx, rbx
call fcn.180008320
nop
movzx edx, byte [rax]
movzx ecx, byte [rdi]
mov byte [rax], cl
mov byte [rdi], dl
lea rcx, [rdi + 8]
mov rdx, qword [rax + 8]
mov r8, qword [rcx]
mov qword [rax + 8], r8
mov qword [rcx], rdx
movzx edx, byte [rdi]
call fcn.180007eb0
nop
lea rcx, [rbp + 0x110]
call fcn.180008410
inc qword [rbp + 0x130]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x110]
call fcn.180009620
test al, al
jne 0x18002f860
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
lea rcx, [rbp + 0x1d0]
call fcn.180006590
lea rcx, [rbp + 0x1b0]
call fcn.180006590
nop
lea rcx, [rbp + 0x160]
call fcn.180006590
lea rcx, [rbp + 0x140]
call fcn.180006590
test r14b, r14b
je 0x18002fa5c
mov word [rbp + 0xa0], 0x2e
vmovdqu xmm0, xmmword [0x1801e5f70]
vmovdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0xa2], 0
lea rcx, [rbp + 0x90]
call fcn.180005650
call fcn.18002f170
mov word [rbp + 0xa0], 0
vmovdqu xmm0, xmmword [0x1801e4bd0]
vmovdqu xmmword [rbp + 0x90], xmm0
lea rcx, [rbp + 0x90]
call fcn.180005650
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], rdi
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x50]
call fcn.18002cc30
lea rcx, [rsp + 0x58]
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 - 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xc8]
call fcn.180006590
mov al, 1
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.18016cc50
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, r13
call fcn.1800084d0
mov rdx, rax
lea rcx, [rbp + 0xe8]
call fcn.180006480
nop
mov r8, rax
lea rdx, str.cannot_use_operator___with_a_string_argument_with
lea rcx, [rbp + 0x1f0]
call fcn.1800093e0
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rbp + 0x50]
call fcn.180009700
lea rdx, [0x18020cae0]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.cannot_get_value
lea rcx, [rbp + 0xe8]
call fcn.180006480
nop
lea r8, [rbp + 0xe8]
mov edx, 0xd6
lea rcx, [rbp + 0x50]
call fcn.180009dd0
lea rdx, [0x18020c9e0]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.cannot_get_value
lea rcx, [rbp + 0xe8]
call fcn.180006480
nop
lea r8, [rbp + 0xe8]
mov edx, 0xd6
lea rcx, [rbp + 0x1f0]
call fcn.180009dd0
lea rdx, [0x18020c9e0]
lea rcx, [rbp + 0x1f0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3