Function at 0x1800c5394
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, 0x6bea22e295473f8
movabs rsi, 0x164f1c3e7f8501f6
mov qword [rbp + 0x80], rax
mov r12d, ecx
mov qword [rbp + 0x88], rsi
lea rcx, [rbp + 0x80]
movdqa xmm0, xmmword [rbp + 0x80]
movabs rdi, 0x6fff66f6d0423b9
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, 0x30cbd5e058f00158
mov qword [rbp], rdi
mov rbx, rax
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x78], rcx
lea rdx, [rbp + 0x60]
movabs rax, 0x60a394010c6853e5
mov qword [rbp + 8], rsi
mov qword [rbp + 0x60], rax
lea rcx, [rbp]
movabs rax, 0x7a616f5a11e06884
mov r14d, 0xf
mov qword [rbp + 0x68], rax
movabs rax, 0x217dc9f13ed38350
mov qword [rbp + 0x70], rax
movabs rax, 0x217dc9f13ed3f723
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.180046d48
or r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], 0
jne 0x1800c54a1
mov r8, rbx
lea rcx, [rbp]
xor edx, edx
call fcn.18004c470
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 0x1800c5513
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x1800c550e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c550e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180162508
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.18002fc68
lea rcx, [rbp]
call fcn.180048b00
lea rcx, [rbp]
mov bl, al
call fcn.1800461c0
test bl, bl
jne 0x1800c559b
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 0x1800c5764
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.180034ab4
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.18003464c
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x1800c56e5
mov edx, r12d
lea rcx, [rbp]
call fcn.180032400
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.1800336e8
mov r15, rax
test bl, bl
je 0x1800c56a8
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800c56a0
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c5792
mov rcx, rdi
call fcn.180162508
mov eax, 1
movzx esi, sil
cmp r15, 0xffffffffffffffff
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x90]
cmovne esi, eax
call fcn.18003464c
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x1800c562a
mov edi, 0x1000
mov r14d, 0xf
lea rcx, [rbp + 0xa0]
call fcn.180046e48
test rax, rax
jne 0x1800c5718
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 0x1800c574b
mov rcx, qword [rbp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x1800c5746
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c5792
call fcn.180162508
and qword [rbp + 0x30], 0
lea rcx, [rbp + 0x90]
mov qword [rbp + 0x38], r14
mov byte [rbp + 0x20], 0
call fcn.180037930
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1800c579e
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x1800c5799
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c5799
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180162508
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