Function at 0x140006b60
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
sub rsp, 0x4c0
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov eax, 0x20
lea rcx, [rbp + 0x20]
mov word [rbp + 0x100], ax
movabs r15, 0xb617665ac46d7c7e
movabs rax, 0x284c1afa92c33261
movabs r13, 0x284c7e93e0a45309
mov qword [rbp], rax
xor edi, edi
mov rax, qword [rbp]
mov r14d, edi
mov qword [rbp + 0x20], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x20]
mov qword [rbp + 0x1a8], rax
xorps xmm0, xmmword [rbp + 0x1a0]
movdqa xmmword [rbp + 0x20], xmm0
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, rax
test rax, rax
je 0x1400077a9
mov r8, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0x5c221bfe95c32168
mov qword [rbp], rax
movabs rax, 0xb617665ac46d5c44
mov rcx, qword [rbp]
mov qword [rbp + 0x30], rcx
mov rcx, r8
mov qword [rbp], rax
mov rdx, qword [rbp]
mov qword [rbp + 0x38], rdx
lea rdx, [rbp + 0x30]
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x1b0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x30]
mov qword [rbp + 0x1b8], rax
xorps xmm0, xmmword [rbp + 0x1b0]
movdqa xmmword [rbp + 0x30], xmm0
call fcn.140003120
mov rcx, rax
mov rdx, rbx
call fcn.140003120
lea rdx, [0x1400032f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp + 0x100]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov rbx, rax
test rax, rax
je 0x1400077a9
lea rsi, [rbp + 8]
mov r12, 0xffffffffffffffff
nop word [rax + rax]
mov rcx, r12
inc rcx
cmp byte [rbx + rcx], dil
jne 0x140006ce3
add rcx, 1
cmovb rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsi], rax
nop dword [rax]
movzx ecx, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140006d00
lea rdx, [rbp + 0x100]
xor ecx, ecx
inc r14d
add rsi, 8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov rbx, rax
test rax, rax
jne 0x140006ce0
cmp r14d, 2
jl 0x1400077a9
movabs rsi, 0x284c7e938cc8376a
lea r8, [rbp + 0x40]
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x1c0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x1c8], rax
movdqa xmm0, xmmword [rbp + 0x1c0]
xorps xmm0, xmmword [rbp + 0x40]
mov rax, qword [rbp + 8]
movdqa xmmword [rbp + 0x40], xmm0
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140006db3
inc rax
test ecx, ecx
jne 0x140006da0
test edx, edx
jne 0x140006e1a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x50]
movabs rax, 0x82f17e093c53f4a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x1d0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x1d8], rax
movdqa xmm0, xmmword [rbp + 0x1d0]
xorps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
call fcn.140003120
mov bl, 1
movabs rax, 0x284c7e938cc83764
lea r8, [rbp + 0x60]
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x1e0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x60]
mov qword [rbp + 0x1e8], rax
xorps xmm0, xmmword [rbp + 0x1e0]
mov rax, qword [rbp + 8]
movdqa xmmword [rbp + 0x60], xmm0
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140006e93
inc rax
test ecx, ecx
jne 0x140006e80
test edx, edx
je 0x1400076d5
mov qword [rbp], rsi
lea r8, [rbp + 0x70]
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x1f0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x1f8], rax
movdqa xmm0, xmmword [rbp + 0x1f0]
xorps xmm0, xmmword [rbp + 0x70]
mov rax, qword [rbp + 8]
movdqa xmmword [rbp + 0x70], xmm0
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140006f03
inc rax
test ecx, ecx
jne 0x140006ef0
test edx, edx
je 0x1400076d5
movabs rax, 0x284c7e93e0c73d6c
lea r8, [rbp + 0x80]
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x200], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x208], rax
movdqa xmm0, xmmword [rbp + 0x200]
xorps xmm0, xmmword [rbp + 0x80]
mov rax, qword [rbp + 8]
movdqa xmmword [rbp + 0x80], xmm0
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140006f93
inc rax
test ecx, ecx
jne 0x140006f80
test edx, edx
jne 0x140007094
movabs rax, 0x41380eea92c73d4c
lea rcx, [rbp + 0xe0]
mov qword [rbp], rax
movabs r8, 0xb609d1ed014c8edb
mov rax, qword [rbp]
movabs rdx, 0x135e018c5c20dfe0
mov qword [rbp + 0xe0], rax
movabs rax, 0xbc720a33824d1b10
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
mov qword [rbp], r8
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x240], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x248], rax
mov qword [rbp], r8
mov rax, qword [rbp]
mov qword [rbp + 0x250], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x258], rax
vmovdqu ymm0, ymmword [rbp + 0x240]
vpxor ymm1, ymm0, ymmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0xe0], ymm1
vzeroupper
call fcn.140001d70
cmp r14d, 2
jne 0x140007078
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.140008420
jmp 0x140007823
cmp r14d, 3
jne 0x1400077a9
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
call fcn.140008420
jmp 0x140007823
movabs rax, 0x284c7e93e0d43264
lea r8, [rbp + 0x90]
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x210], rax
mov qword [rbp], r15
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x90]
mov qword [rbp + 0x218], rax
xorps xmm0, xmmword [rbp + 0x210]
mov rax, qword [rbp + 8]
movdqa xmmword [rbp + 0x90], xmm0
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140007113
inc rax
test ecx, ecx
jne 0x140007100
test edx, edx
jne 0x1400071a3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x120]
movabs rax, 0x7b6c1af690d43244
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0xb61d0835ad191f1b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movdqa xmm0, xmmword [rbp + 0x140]
xorps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x120], xmm0
call fcn.140003120
mov rcx, qword [rbp + 0x10]
call fcn.1400052b0
jmp 0x140007823
movabs rax, 0x284c7e9396cd2179
lea r8, [rbp + 0xa0]
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x220], rax
mov qword [rbp], r15
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0xa0]
mov qword [rbp + 0x228], rax
xorps xmm0, xmmword [rbp + 0x220]
mov rax, qword [rbp + 8]
movdqa xmmword [rbp + 0xa0], xmm0
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140007223
inc rax
test ecx, ecx
jne 0x140007210
test edx, edx
jne 0x1400072b3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x120]
movabs rax, 0x8290af296cd2159
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0xb6176650a10a1d2e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
mov qword [rbp], r15
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x120]
mov qword [rbp + 0x148], rax
xorps xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rbp + 0x120], xmm0
call fcn.140003120
mov rcx, qword [rbp + 0x10]
call fcn.140004e70
jmp 0x140007823
movabs rax, 0x284c7ee793cb3b6e
lea r8, [rbp + 0xb0]
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov r9, qword [rbp + 8]
mov qword [rbp + 0x168], rax
sub r8, r9
movdqa xmm0, xmmword [rbp + 0x160]
mov rax, r9
xorps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0xb0], xmm0
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140007334
inc rax
test ecx, ecx
jne 0x140007321
test edx, edx
jne 0x140007437
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rdx, 0x135e018c5c20dfe0
movabs rax, 0x83512e793cb3b4e
movabs r8, 0xb609d1ed014c8edb
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
movabs rax, 0xd87e1135a8011336
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
movabs rax, 0xb609d1ed014c84bc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x170], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x178], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
mov qword [rbp], r8
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
mov qword [rbp], rdx
lea rdx, [rbp + 0x160]
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
vmovdqu ymm0, ymmword [rbp + 0x140]
vpxor ymm1, ymm0, ymmword [rbp + 0x160]
vmovdqa ymmword [rbp + 0x160], ymm1
vzeroupper
call fcn.140003120
xor edx, edx
mov dword [0x140010880], edi
mov rcx, qword [rbp + 0x10]
cmp r14d, 3
jge 0x1400076c7
xor r8d, r8d
call fcn.1400060d0
jmp 0x140007823
lea rcx, [0x14000cd28]
nop
movzx eax, byte [r9 + rdi]
inc rdi
cmp al, byte [rcx + rdi - 1]
jne 0x140007542
cmp rdi, 4
jne 0x140007440
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rdx, 0x135e018c5c20dfe0
movabs rax, 0x5c2f1fe08ec5215d
movabs r8, 0xb609d1ed014c8edb
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
movabs rax, 0xd97b0a358c4d181b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movabs rax, 0xb609d1e76622e7ac
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
mov qword [rbp], r8
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
mov qword [rbp], rdx
lea rdx, [rbp + 0x140]
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
vmovdqu ymm0, ymmword [rbp + 0x120]
vpxor ymm1, ymm0, ymmword [rbp + 0x140]
vmovdqa ymmword [rbp + 0x140], ymm1
vzeroupper
call fcn.140003120
lea edx, [rdi - 3]
mov dword [0x140010880], 1
jmp 0x14000741c
movabs rax, 0x5a291af290d63661
lea r8, [rbp + 0xc0]
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0xb617665ac46d7c0e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x188], rax
movdqa xmm0, xmmword [rbp + 0x180]
xorps xmm0, xmmword [rbp + 0xc0]
mov rax, qword [rbp + 8]
movdqa xmmword [rbp + 0xc0], xmm0
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400075d3
inc rax
test ecx, ecx
jne 0x1400075c0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test edx, edx
jne 0x1400077b0
movabs rdx, 0x135e018c5c20dfe0
movabs rax, 0x5a291af290d63641
mov qword [rbp], rax
movabs r8, 0xb609d1ed014c8edb
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
movabs rax, 0xda7b0912e414100e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x188], rax
movabs rax, 0xb609db8a6f25f9b4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x190], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x198], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
mov qword [rbp], r8
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
mov qword [rbp], rdx
lea rdx, [rbp + 0x180]
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
vmovdqu ymm0, ymmword [rbp + 0x140]
vpxor ymm1, ymm0, ymmword [rbp + 0x180]
vmovdqa ymmword [rbp + 0x180], ymm1
vzeroupper
call fcn.140003120
mov edx, 2
mov dword [0x140010880], 2
jmp 0x14000741c
mov r8, qword [rbp + 0x18]
call fcn.1400060d0
jmp 0x140007823
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x120]
movabs rax, 0x442011dbc0e81f4d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0xb6176c3daa040b11
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movdqa xmm0, xmmword [rbp + 0x140]
xorps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x120], xmm0
call fcn.140003120
xor edx, edx
lea rcx, [rbp + 0x260]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
cmp r14d, 3
jge 0x14000777d
mov rcx, qword [rbp + 0x10]
xor r8d, r8d
movzx edx, bl
call fcn.140005710
jmp 0x140007823
mov rcx, qword [rbp + 0x18]
lea rdx, [rbp + 0x260]
mov r8d, 0x208
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov rcx, qword [rbp + 0x10]
lea r8, [rbp + 0x260]
movzx edx, bl
call fcn.140005710
jmp 0x140007823
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0x5a291af28fe81659
lea rdx, [rbp + 0x120]
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0xb617665ac46d7c74
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movdqa xmm0, xmmword [rbp + 0x140]
xorps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x120], xmm0
call fcn.140003120
xor eax, eax
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.14000a1a0
lea r11, [rsp + 0x4c0]
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