Function at 0x14004a720
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov r15, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x38]
call fcn.140044650
lea rcx, [0x140000000]
lea rax, [rcx + 0xd2d30]
mov qword [rsp + 0x50], rax
lea rax, [rcx + 0xd2d38]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x10], rbx
mov qword [rbp + 0x18], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x18], rax
mov dword [rsp + 0x30], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.1400057e0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x4c], edx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x68], rax
lea ecx, [rbx + 0x10]
call fcn.14009c500
mov rdi, rax
test rax, rax
je 0x14004a85f
mov cl, 1
call fcn.14007a500
mov qword [rdi + 8], rax
jmp 0x14004a862
mov rdi, rbx
mov qword [rbp - 0x38], rdi
lea rax, [rsp + 0x70]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x70]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x4c]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x50], rbx
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x70], rbx
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x30], rbx
mov dword [rbp - 0x28], ebx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.14009f630
mov r8d, 0x104
lea rdx, [rbp + 0x70]
lea rcx, str._SystemRoot__system32_ntdll.dll
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
lea rax, [rbp + 0x70]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004a910
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.140012bb0
nop
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rcx, qword [rbp + 0x50]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x30]
call fcn.14006eb20
mov rsi, rax
test rax, rax
jne 0x14004a95d
mov r14, rbx
jmp 0x14004a97e
xor r9d, r9d
mov r8, r15
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.14004ab10
mov r14, rax
xor edx, edx
mov rcx, rsi
call fcn.14006b500
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x14004a9b9
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a9b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ab04
call fcn.14006b0f0
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x180]
call fcn.14009f630
mov r8d, 0x104
lea rdx, [rbp + 0x180]
lea rcx, str._SystemRoot__system32win32u.dll
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
lea rax, [rbp + 0x180]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14004aa02
mov r8, rdi
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x50]
call fcn.140012bb0
nop
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rcx, qword [rbp + 0x50]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x30]
call fcn.14006eb20
mov rdi, rax
test rax, rax
jne 0x14004aa54
mov rsi, rbx
jmp 0x14004aa77
mov r9d, 0x1000
mov r8, r15
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call fcn.14004ab10
mov rsi, rax
xor edx, edx
mov rcx, rdi
call fcn.14006b500
lea rdi, [rsi + r14]
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x14004aab2
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004aaad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004aafe
call fcn.14006b0f0
lea rcx, [rsp + 0x38]
call fcn.140044710
test rdi, rdi
je 0x14004aac5
mov rbx, qword [r15 + 8]
lea rcx, [rsp + 0x50]
call fcn.14000c2f0
mov rax, rbx
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.14009c8a0
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400a3548
nop
call fcn.1400a3548
int3