Function at 0x140006170
Capabilities:
Execute command
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1401c8c00]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor r14d, r14d
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x1400061c4
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140004860
nop
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rcx, qword [rbp + 0x40]
sub rax, rcx
cmp rax, 1
jb 0x140006831
lea r9, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r9, qword [rbp + 0x30]
mov qword [rsp + 0x30], 1
lea rax, [0x14016af6c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140005120
nop
mov r8d, 8
lea rdx, [0x14016af60]
lea rcx, [rbp - 0x60]
call fcn.140004430
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400062b4
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400062af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400062af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e30]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdi, qword [rbp - 0x20]
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rbx, qword [rbp - 0x30]
call fcn.140130c20
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140001eb0
nop
mov r8d, 3
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140002970
movsd xmm0, qword [rax]
movsd qword [rsp + 0x48], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x40], ecx
lea r15, [0x1401c8c88]
mov qword [rbp - 0x38], r15
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14000637b
cmp eax, 1
sete bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14000638c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006387
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x140006815
jmp 0x14000633d
call fcn.140131bf4
test bl, bl
je 0x14000642e
mov rdi, qword [rbp - 0x20]
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rbx, qword [rbp - 0x30]
call fcn.140130c20
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140001eb0
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
call fcn.140131124
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140006837
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14000642e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006429
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006429
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
mov rax, rsi
mov rcx, qword [rbp - 0x20]
sub rax, rcx
cmp rax, 0xc
jb 0x14000684d
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x30], send
lea rax, str._backgrounds
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140005120
nop
mov rdi, qword [rbp]
lea rbx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rbx, qword [rbp - 0x10]
call fcn.140130c20
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140001eb0
nop
mov r8d, 3
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140002970
movsd xmm0, qword [rax]
movsd qword [rsp + 0x48], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x40], ecx
mov qword [rbp - 0x38], r15
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140006529
cmp eax, 1
sete bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14000653a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006535
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006535
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x140006823
jmp 0x1400064eb
call fcn.140131bf4
test bl, bl
je 0x1400065dc
mov rdi, qword [rbp]
lea rbx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rbx, qword [rbp - 0x10]
call fcn.140130c20
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140001eb0
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
call fcn.140131124
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140006853
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1400065dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400065d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400065d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
mov rcx, qword [rbp]
sub rsi, rcx
cmp rsi, 0xe
jb 0x14000680f
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rax, qword [rbp - 0x10]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], send
lea r9, str.Explorer.exe__
lea r8, [rbp - 0x10]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140005120
nop
mov r8d, 1
lea rdx, [0x14016b168]
lea rcx, [rbp - 0x80]
call fcn.140004430
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400066a9
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400066a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x1400066fb
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400066f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e30]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000674a
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006745
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006745
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
mov qword [rbp], r14
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140006798
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006793
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006793
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x1400067e6
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400067e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140131b90
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001810
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x40]
call fcn.140002880
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x40]
call fcn.140002880
nop
call fcn.140001810
nop
shr rdx, 0x20
lea r8, [rsp + 0x60]
lea rcx, str.create_directory
call fcn.140002810
nop
call fcn.140001810
nop
shr rdx, 0x20
lea r8, [rsp + 0x60]
lea rcx, str.create_directory
call fcn.140002810
int3
jmp 0x140006170