Function at 0x180002000
Capabilities:
Check http status code
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
movaps xmmword [rax - 0x48], xmm7
mov rbx, rdx
mov rsi, rcx
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rax - 0x78], xmm0
movdqa xmm7, xmmword [0x18003b3f0]
movdqu xmmword [rax - 0x68], xmm7
mov byte [rax - 0x78], r13b
mov rax, qword [str.aVptHxR_LIezs_]
mov qword [rsp + 0x30], rax
cmp byte [0x18003b2b7], r13b
je 0x1800021a0
cmp dword [0x180041010], 2
jl 0x18000215a
movdqa xmm4, xmmword [0x18003b500]
movdqa xmm2, xmmword [0x18003b460]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18003b480]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18003b4e0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.6666666666666666]
movd xmm0, dword [rsp + 0x30]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x18003b470]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18003b480]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18003b4e0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.6666666666666666]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
jmp 0x1800021a0
lea r9, [rsp + 0x30]
mov r8d, r13d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x180002170
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1800024b6
cmp qword [rbx + 0x18], 0xf
jbe 0x1800021d8
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1800024ac
mov dword [rsp + 0xf8], r13d
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x50]
lea r8, [rsp + 0xf8]
mov edx, 0x20000013
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [rsp + 0xf8], 0x194
jb 0x180002284
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
movdqa xmm0, xmmword [0x18003b3f0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rax, rsi
jmp 0x1800024d5
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r14, r13
mov qword [rsp + 0x48], r13
mov dword [rsp + 0xf0], r13d
xorps xmm0, xmm0
psrldq xmm0, 8
movq rdi, xmm0
movq rbx, xmm1
nop
mov rax, rdi
sub rax, rbx
lea rdx, [rax + 0x1000]
cmp rdx, rax
jae 0x1800022c8
lea rdi, [rdx + rbx]
jmp 0x180002307
jbe 0x18000230c
mov rax, r14
sub rax, rbx
cmp rdx, rax
jbe 0x1800022f0
lea rcx, [rsp + 0x38]
call fcn.18000bbf0
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
jmp 0x18000230c
xor edx, edx
mov r8d, 0x1000
mov rcx, rdi
call fcn.18002e190
add rdi, 0x1000
mov qword [rsp + 0x40], rdi
mov r12, rdi
sub r12, rbx
lea rdx, [rbx - 0x1000]
add rdx, r12
lea r9, [rsp + 0xf0]
mov r8d, 0x1000
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x18000239f
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], al
test rbx, rbx
je 0x180002384
sub r14, rbx
mov rax, rbx
cmp r14, 0x1000
jb 0x180002378
add r14, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800024f0
mov rdx, r14
mov rcx, rbx
call fcn.180013b54
nop
movdqa xmm0, xmmword [0x18003b3f0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rax, rsi
jmp 0x1800024d5
mov r15d, dword [rsp + 0xf0]
add r15, 0xfffffffffffff000
add r15, r12
cmp r15, r12
jae 0x1800023bc
lea rdi, [r15 + rbx]
jmp 0x1800023fa
jbe 0x1800023ff
mov rax, r14
sub rax, rbx
cmp r15, rax
jbe 0x1800023e7
mov rdx, r15
lea rcx, [rsp + 0x38]
call fcn.18000bbf0
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
jmp 0x1800023ff
sub r15, r12
mov r8, r15
xor edx, edx
mov rcx, rdi
call fcn.18002e190
add rdi, r15
mov qword [rsp + 0x40], rdi
cmp dword [rsp + 0xf0], 0
mov r15, qword [rsp + 0x58]
ja 0x1800022b0
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
cmp rbx, rdi
jne 0x18000244d
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
jmp 0x18000245f
sub rdi, rbx
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.180006b50
nop
test rbx, rbx
je 0x180002494
sub r14, rbx
mov rax, rbx
cmp r14, 0x1000
jb 0x180002488
add r14, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800024f0
mov rdx, r14
mov rcx, rbx
call fcn.180013b54
nop
movdqa xmm0, xmmword [0x18003b3f0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rax, rsi
jmp 0x1800024d5
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
jmp 0x1800024c6
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm7
mov rax, rsi
movaps xmm7, xmmword [rsp + 0x90]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.1800217bc
nop
int3