Function at 0x18006a330
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5d8]
sub rsp, 0x6b0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180092040]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov r12, rdx
mov qword [rbp + 0x10], rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
call fcn.18006c2c0
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12], r15
mov qword [r12 + 8], r15
mov qword [r12 + 0x10], r15
mov dword [rsp + 0x30], 1
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], r15
mov r14, 0xffffffffffffffff
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18006a3d0
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.180004520
nop
mov r8d, 0x2e
lea rdx, str.DocumentsHuetaHackTheOutlastTrialsconfigs_
lea rcx, [rbp + 0x90]
call fcn.18000b4e0
lea rax, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rax, qword [rbp + 0x90]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x78], rax
call fcn.180070d04
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x20], xmm0
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.1800686b0
mov esi, 0x18001
mov dword [rsp + 0x30], esi
xorps xmm6, xmm6
movdqa xmmword [rbp + 0x80], xmm6
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0xc0]
call fcn.180069b00
nop
cmp byte [rbp + 0x338], 0
je 0x18006a4dc
mov ecx, 0x58
call fcn.1800716e8
mov rdi, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_std::filesystem::_Dir_enum_impl_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
lea rdx, [rbp + 0xc0]
mov rcx, rbx
call fcn.180069e10
nop
mov esi, 0x38001
mov dword [rsp + 0x30], esi
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], rdi
movdqa xmm6, xmmword [rbp + 0x80]
jmp 0x18006a4e9
xorps xmm0, xmm0
psrldq xmm0, 8
movq rdi, xmm0
mov ebx, dword [rbp + 0x33c]
mov rcx, qword [rbp + 0xe0]
call fcn.180070ffc
mov rdx, qword [rbp + 0xd8]
cmp rdx, 7
jbe 0x18006a544
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a53f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a53f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800715c0
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xd8], 7
mov word [rbp + 0xc0], r15w
test ebx, ebx
jne 0x18006ad08
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x18006a5a9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a5a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a5a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800715c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
test rdi, rdi
je 0x18006a5cc
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x88]
movdqa xmm6, xmmword [rbp + 0x80]
mov esi, dword [rsp + 0x30]
movdqa xmmword [rbp + 0x70], xmm6
test rdi, rdi
je 0x18006a5e5
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x88]
mov esi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
test rdi, rdi
je 0x18006a62f
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x18006a62b
mov rbx, qword [rbp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18006a62b
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
call qword [rax + 8]
mov esi, dword [rsp + 0x30]
mov r13, qword [rbp + 0x70]
nop dword [rax]
nop word [rax + rax]
lea rbx, str..ini
test r13, r13
je 0x18006ac08
lea rdx, [rbp - 0x40]
mov rcx, r13
call fcn.180069990
mov rax, qword [rbp - 0x40]
mov edx, dword [rbp - 0x38]
test edx, edx
je 0x18006a676
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x18006ad1b
cmp eax, 2
jne 0x18006a7d6
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 4
call fcn.180070d04
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0x30], xmm0
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.1800686b0
or esi, 0xc00
or esi, 2
mov dword [rsp + 0x30], esi
lea rcx, [r13 + 0x20]
cmp qword [r13 + 0x38], 7
jbe 0x18006a6c4
mov rcx, qword [r13 + 0x20]
mov rax, qword [r13 + 0x30]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.180068800
cmp rax, rdx
je 0x18006a71c
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18006a6ef
cmp cx, 0x2f
jne 0x18006a6f8
add rax, 2
cmp rax, rdx
jne 0x18006a6e0
cmp rax, rdx
je 0x18006a71c
nop dword [rax]
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x18006a71c
cmp cx, 0x2f
je 0x18006a71c
mov rbx, r8
cmp rax, r8
jne 0x18006a700
mov r8d, 0x3a
mov rcx, rbx
call fcn.180071450
cmp rbx, rax
je 0x18006a767
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x18006a767
cmp word [rdx], 0x2e
jne 0x18006a74f
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x18006a76a
cmp word [rcx], 0x2e
jne 0x18006a76a
jmp 0x18006a767
sub rdx, 2
cmp rbx, rdx
je 0x18006a767
cmp word [rdx], 0x2e
je 0x18006a76a
sub rdx, 2
cmp rbx, rdx
jne 0x18006a758
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov r8, rax
lea rcx, [rsp + 0x60]
call fcn.18000b840
or esi, 0x7004
mov dword [rsp + 0x30], esi
lea rax, [rbp - 0x60]
mov rbx, qword [rbp - 0x48]
cmp rbx, 7
cmova rax, qword [rbp - 0x60]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180068b60
test eax, eax
jne 0x18006a7da
mov dil, 1
jmp 0x18006a7dd
mov rbx, qword [rbp - 0x48]
xor dil, dil
test sil, 4
je 0x18006a844
and esi, 0xfffffffb
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x18006a830
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a827
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006abec
call fcn.1800715c0
mov rbx, qword [rbp - 0x48]
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
test sil, 2
je 0x18006a88d
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
cmp rbx, 7
jbe 0x18006a88d
lea rdx, [rbx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a888
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006abf3
call fcn.1800715c0
test dil, dil
je 0x18006ab40
lea rcx, [r13 + 0x20]
cmp qword [r13 + 0x38], 7
jbe 0x18006a8a5
mov rcx, qword [r13 + 0x20]
mov rax, qword [r13 + 0x30]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.180068800
cmp rax, rdx
je 0x18006a8fc
nop word [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18006a8cf
cmp cx, 0x2f
jne 0x18006a8d8
add rax, 2
cmp rax, rdx
jne 0x18006a8c0
cmp rax, rdx
je 0x18006a8fc
nop dword [rax]
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x18006a8fc
cmp cx, 0x2f
je 0x18006a8fc
mov rbx, r8
cmp rax, r8
jne 0x18006a8e0
mov r8d, 0x3a
mov rcx, rbx
call fcn.180071450
mov r8, rax
cmp rbx, rax
je 0x18006a937
add rax, 0xfffffffffffffffe
cmp rbx, rax
je 0x18006a937
cmp word [rax], 0x2e
jne 0x18006aa6d
lea rcx, [rax - 2]
cmp rbx, rcx
jne 0x18006a934
cmp word [rcx], 0x2e
je 0x18006a937
mov r8, rax
sub r8, rbx
sar r8, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.18000b840
or esi, 0x38
lea r14, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r14, qword [rbp - 0x80]
mov rdi, qword [rbp - 0x70]
call fcn.180070d04
mov r15d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], al
bts esi, 9
mov dword [rsp + 0x30], esi
test rdi, rdi
je 0x18006aa15
cmp rdi, 0x7fffffff
ja 0x18006ad40
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, edi
mov rdx, r14
mov ecx, r15d
call fcn.180070d74
mov rbx, rax
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x18006ad36
movsxd rdx, ebx
lea rcx, [rsp + 0x40]
call fcn.18006d8e0
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r9, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rdx, r14
mov ecx, r15d
call fcn.180070d74
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x18006ad2c
btr esi, 9
or esi, 0x1c0
mov dword [rsp + 0x30], esi
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x18006aa98
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor r15d, r15d
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], r15
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x50], r15
mov edx, 0xf
mov qword [rsp + 0x58], rdx
mov byte [rsp + 0x40], r15b
add qword [r12 + 8], 0x20
jmp 0x18006aaad
sub rax, 2
cmp rbx, rax
je 0x18006a937
nop word [rax + rax]
cmp word [rax], 0x2e
je 0x18006a934
sub rax, 2
cmp rbx, rax
jne 0x18006aa80
jmp 0x18006a937
lea r8, [rsp + 0x40]
mov rcx, r12
call fcn.18006e9f0
mov rdx, qword [rsp + 0x58]
xor r15d, r15d
cmp rdx, 0xf
jbe 0x18006aae5
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006aae0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006abfa
call fcn.1800715c0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x18006ab38
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006ab33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006ac01
call fcn.1800715c0
mov r14, 0xffffffffffffffff
nop
lea rdx, [rbp + 0x340]
mov rcx, qword [r13 + 0x40]
call fcn.180070fdc
cmp eax, 0x12
je 0x18006ab97
test eax, eax
jne 0x18006ad00
cmp word [rbp + 0x36c], 0x2e
jne 0x18006ab83
movzx eax, word [rbp + 0x36e]
test ax, ax
je 0x18006ab40
cmp ax, 0x2e
jne 0x18006ab83
cmp word [rbp + 0x370], 0
je 0x18006ab40
lea rdx, [rbp + 0x340]
mov rcx, r13
call fcn.180069ca0
jmp 0x18006a640
mov r13, r15
mov qword [rbp + 0x70], r15
mov rbx, qword [rbp + 0x78]
mov qword [rbp + 0x78], r15
test rbx, rbx
je 0x18006a640
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18006abd1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x18006abda
mov esi, dword [rsp + 0x30]
jmp 0x18006a62f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov esi, dword [rsp + 0x30]
jmp 0x18006a62f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x18006ac42
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18006ac42
mov rbx, qword [rbp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18006ac42
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x18006ac84
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18006ac84
mov rbx, qword [rbp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x18006ac84
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x18006acc8
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006acc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006acc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800715c0
mov rax, r12
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.1800715a0
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, eax
call fcn.1800697d0
nop
lea r8, [rbp - 0x10]
mov edx, ebx
lea rcx, str.directory_iterator::directory_iterator
call fcn.1800698c0
nop
lea r8, [r13 + 0x20]
lea rcx, str.directory_entry::status
call fcn.1800698c0
nop
mov ecx, dword [rsp + 0x3c]
call fcn.1800685a0
int3
mov ecx, dword [rsp + 0x3c]
call fcn.1800685a0
int3
call fcn.1800682d0
int3