Function at 0x1800bd1e0
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], r12
push rbp
push r14
push r15
sub rsp, 0x200
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
movabs rax, 0x75fce3c2f7b4a154
movabs rsi, 0xdfc42302fbf375ae
mov qword [rbp + 0x80], rax
mov r12d, ecx
mov qword [rbp + 0x88], rsi
lea rcx, [rbp + 0x80]
movdqa xmm0, xmmword [rbp + 0x80]
movabs rdi, 0x75bdb783b3e4f115
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x68], rsi
pxor xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x80], xmm0
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
movabs rcx, 0x8e940e9033bd8ca8
mov qword [rbp], rdi
mov rbx, rax
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x78], rcx
lea rdx, [rbp + 0x60]
movabs rax, 0x13e1d5edd2888149
mov qword [rbp + 8], rsi
mov qword [rbp + 0x60], rax
lea rcx, [rbp]
movabs rax, 0xb3ea506695961cdc
mov r14d, 0xf
mov qword [rbp + 0x68], rax
movabs rax, 0xb1780b79487a1904
mov qword [rbp + 0x70], rax
movabs rax, 0xb1780b79487a6d77
mov qword [rbp + 0x10], rax
vmovdqu ymm0, ymmword [rbp]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
and qword [rbp], 0
and qword [rbp + 0x10], 0
vmovdqa ymmword [rbp + 0x60], ymm1
mov qword [rbp + 0x18], r14
vzeroupper
call fcn.180044368
or r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], 0
jne 0x1800bd2ed
mov r8, rbx
lea rcx, [rbp]
xor edx, edx
call fcn.180049808
mov edi, 0x1000
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
and qword [rax + 0x10], 0
mov byte [rax], 0
mov qword [rax + 0x18], r14
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x1800bd35f
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x1800bd35a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800bd35a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180152208
cmp qword [rbp + 0x58], 0x10
lea rax, [rbp + 0x40]
lea rdx, [rbp + 0x60]
cmovae rax, qword [rbp + 0x40]
lea rcx, [rbp]
mov qword [rbp + 0x60], rax
xor r8d, r8d
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x68], rax
call fcn.18002dea8
lea rcx, [rbp]
call fcn.180045e90
lea rcx, [rbp]
mov bl, al
call fcn.180043ea0
test bl, bl
jne 0x1800bd3e7
cmp qword [rbp + 0x58], 0x10
lea rcx, [rbp + 0x40]
mov edx, 0x40000000
cmovae rcx, qword [rbp + 0x40]
xor r9d, r9d
and qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor sil, sil
jmp 0x1800bd5b0
cmp qword [rbp + 0x58], 0x10
lea rdx, [rbp + 0x40]
mov eax, 1
lea rcx, [rbp + 0x90]
cmovae rdx, qword [rbp + 0x40]
mov r8d, eax
mov dword [rsp + 0x20], eax
lea r9d, [rax + 0x3f]
call fcn.180032cf4
mov rax, qword [rbp + 0x90]
xor sil, sil
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
and qword [rbp + 0x20], 0
and qword [rbp + 0x30], 0
mov qword [rbp + 0x38], r14
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x8c], edx
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x90]
call fcn.18003288c
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x1800bd531
mov edx, r12d
lea rcx, [rbp]
call fcn.180030640
mov rax, qword [rbp + 0x10]
lea r9, [rbp]
mov r14, qword [rbp + 0x18]
lea rcx, [rbp + 0x20]
mov rdi, qword [rbp]
cmp r14, 0x10
mov rdx, qword [rbp + 0x30]
setae bl
mov qword [rsp + 0x20], rax
cmovae r9, rdi
cmp qword [rbp + 0x38], 0x10
cmovae rcx, qword [rbp + 0x20]
xor r8d, r8d
call fcn.180031928
mov r15, rax
test bl, bl
je 0x1800bd4f4
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800bd4ec
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bd5de
mov rcx, rdi
call fcn.180152208
mov eax, 1
movzx esi, sil
cmp r15, 0xffffffffffffffff
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x90]
cmovne esi, eax
call fcn.18003288c
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x1800bd476
mov edi, 0x1000
mov r14d, 0xf
lea rcx, [rbp + 0xa0]
call fcn.180044468
test rax, rax
jne 0x1800bd564
mov rax, qword [rbp + 0x90]
xor r8d, r8d
movsxd rcx, dword [rax + 4]
lea edx, [r8 + 2]
lea rax, [rbp + 0x90]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1800bd597
mov rcx, qword [rbp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x1800bd592
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bd5de
call fcn.180152208
and qword [rbp + 0x30], 0
lea rcx, [rbp + 0x90]
mov qword [rbp + 0x38], r14
mov byte [rbp + 0x20], 0
call fcn.180035b70
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1800bd5ea
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x1800bd5e5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800bd5e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180152208
mov al, sil
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret