Function at 0x1800c669c
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, 0xc35afe0f1e428c76
movabs rsi, 0x4f38705f99fe6f9c
mov qword [rbp + 0x80], rax
mov r12d, ecx
mov qword [rbp + 0x88], rsi
lea rcx, [rbp + 0x80]
movdqa xmm0, xmmword [rbp + 0x80]
movabs rdi, 0xc31baa4e5a12dc37
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, 0x1602425db3d3d3d6
mov qword [rbp], rdi
mov rbx, rax
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x78], rcx
lea rdx, [rbp + 0x60]
movabs rax, 0xa547c8203b7eac6b
mov qword [rbp + 8], rsi
mov qword [rbp + 0x60], rax
lea rcx, [rbp]
movabs rax, 0x2316033bf79b06ee
mov r14d, 0xf
mov qword [rbp + 0x68], rax
movabs rax, 0x8ebf6c749111b622
mov qword [rbp + 0x70], rax
movabs rax, 0x8ebf6c749111c251
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.1800480d8
or r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], 0
jne 0x1800c67a9
mov r8, rbx
lea rcx, [rbp]
xor edx, edx
call fcn.18004d800
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 0x1800c681b
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x1800c6816
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c6816
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801634c8
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.180030fe8
lea rcx, [rbp]
call fcn.180049e90
lea rcx, [rbp]
mov bl, al
call fcn.180047550
test bl, bl
jne 0x1800c68a3
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 0x1800c6a6c
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.180035e34
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.1800359cc
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x1800c69ed
mov edx, r12d
lea rcx, [rbp]
call fcn.180033780
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.180034a68
mov r15, rax
test bl, bl
je 0x1800c69b0
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800c69a8
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c6a9a
mov rcx, rdi
call fcn.1801634c8
mov eax, 1
movzx esi, sil
cmp r15, 0xffffffffffffffff
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x90]
cmovne esi, eax
call fcn.1800359cc
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x1800c6932
mov edi, 0x1000
mov r14d, 0xf
lea rcx, [rbp + 0xa0]
call fcn.1800481d8
test rax, rax
jne 0x1800c6a20
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 0x1800c6a53
mov rcx, qword [rbp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x1800c6a4e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c6a9a
call fcn.1801634c8
and qword [rbp + 0x30], 0
lea rcx, [rbp + 0x90]
mov qword [rbp + 0x38], r14
mov byte [rbp + 0x20], 0
call fcn.180038cb0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1800c6aa6
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x1800c6aa1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c6aa1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801634c8
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