Function at 0x18006c2c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x180092040]
xor rax, rsp
mov qword [rbp + 0x10], rax
xor esi, esi
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], sil
jne 0x18006c310
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.180004520
nop
cmp qword [rbp - 0x60], 0
je 0x18006c6c3
mov r8d, 0xa
lea rdx, str.Documents
lea rcx, [rbp - 0x70]
call fcn.18000b4e0
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x60]
sub rax, rcx
cmp rax, 0xa
jb 0x18006c73b
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], 0xa
lea rax, str.HuetaHack
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x50]
call fcn.180002350
nop
mov rdi, qword [rsp + 0x60]
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, qword [rsp + 0x50]
call fcn.180070d04
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.1800686b0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x18006c40b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006c406
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006c406
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800715c0
movdqa xmm0, xmmword [0x180085960]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
lea rcx, [rbp - 0x10]
call fcn.180069fb0
test al, al
jne 0x18006c44d
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rcx, qword [rbp - 0x10]
call fcn.180070f64
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x18006c741
call fcn.180070d04
lea rcx, str.TheOutlastTrials
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0x10
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1800686b0
nop
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x50]
call fcn.180068d70
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x18006c4d0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006c4cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006c4cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800715c0
movdqa xmm0, xmmword [0x180085930]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], si
lea rcx, [rbp - 0x50]
call fcn.180069fb0
test al, al
jne 0x18006c511
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
call fcn.180070f64
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x18006c756
call fcn.180070d04
lea rcx, str.Configs
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 7
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1800686b0
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.180068d70
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x18006c595
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006c590
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006c590
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800715c0
movdqa xmm0, xmmword [0x180085930]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
lea rcx, [rbp - 0x30]
call fcn.180069fb0
test al, al
jne 0x18006c5d7
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rcx, qword [rbp - 0x30]
call fcn.180070f64
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x18006c726
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x18006c61a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006c615
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006c615
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800715c0
movdqa xmm0, xmmword [0x180085930]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], si
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x18006c66e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006c669
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006c669
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800715c0
movdqa xmm0, xmmword [0x180085930]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], si
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x18006c6c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006c6bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006c6bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800715c0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x18006c701
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006c6fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006c6fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800715c0
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1800715a0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
shr rdx, 0x20
lea r8, [rbp - 0x30]
lea rcx, str.create_directory
call fcn.1800698c0
nop
call fcn.180001550
nop
shr rdx, 0x20
lea r8, [rbp - 0x10]
lea rcx, str.create_directory
call fcn.1800698c0
nop
shr rdx, 0x20
lea r8, [rbp - 0x50]
lea rcx, str.create_directory
call fcn.1800698c0
int3