Function at 0x140005140
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 - 0x37]
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x1400610a0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x19], rcx
xor r15d, r15d
movups xmm0, xmmword [0x14005a898]
movups xmmword [rbp - 0x39], xmm0
movsd xmm0, qword [str.uorC]
movsd qword [rbp - 0x29], xmm0
lea r10d, [r15 + 1]
cmp word [0x14005a8ae], r15w
je 0x1400052df
mov ecx, r15d
cmp dword [0x140061078], 2
jl 0x1400052a3
movdqa xmm4, xmmword [0x14005a940]
movd xmm6, r10d
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x14005a8f0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14005a910]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x14005a920]
movq xmm0, qword [0x14005a898]
pxor xmm2, xmm0
movq qword [rbp - 0x39], xmm2
movdqa xmm3, xmmword [0x14005a900]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14005a910]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x14005a920]
movq xmm0, qword [rbp - 0x31]
pxor xmm2, xmm0
movq qword [rbp - 0x31], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rbp - 0x39]
lea r8, [r8 + rax*2]
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x37
movzx eax, cx
sub ax, dx
add ax, 0x38
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 0xc
jl 0x1400052b0
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, r10d
lea rcx, [rbp - 0x39]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
je 0x140005448
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x84080100
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
je 0x14000543f
mov dword [rbp - 0x19], r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov ecx, 0x1027
call fcn.140010cac
test rax, rax
je 0x140005481
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
mov qword [rbp - 0x11], rcx
lea rbx, [rcx + 0x1000]
mov qword [rbp - 1], rbx
xor edx, edx
mov r8d, 0x1000
call fcn.140013350
mov qword [rbp - 9], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
mov qword [rbp + 0x17], r15
mov rdx, qword [rbp - 0x11]
sub rbx, rdx
lea r9, [rbp - 0x19]
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400053c6
mov eax, dword [rbp - 0x19]
test eax, eax
je 0x1400053d2
mov r9d, eax
mov r8, qword [rbp - 0x11]
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 7]
call fcn.14000dd00
cmp dword [rbp - 0x19], 0
je 0x1400053d2
mov rbx, qword [rbp - 9]
jmp 0x140005390
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdx, qword [rbp + 0x17]
mov qword [rbp + 0x17], r15
mov rcx, qword [rbp + 0xf]
mov qword [rbp + 0xf], r15
mov rax, qword [rbp + 7]
mov qword [rbp + 7], r15
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140005453
mov rdx, qword [rbp - 1]
sub rdx, rcx
mov r8, rcx
cmp rdx, 0x1000
jb 0x140005438
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140005481
call fcn.140010c78
jmp 0x140005453
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov rax, rdi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140010c50
mov rbx, qword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14001846c
int3