Function at 0x140005360
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 - 0x840]
sub rsp, 0x940
movaps xmmword [rsp + 0x930], xmm6
mov rax, qword [0x14016e010]
xor rax, rsp
mov qword [rbp + 0x820], rax
mov r13, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x68], rdx
movsd xmm0, qword [0x140164028]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x140164030]
mov dword [rsp + 0x78], eax
xor r14d, r14d
cmp byte [0x140164033], r14b
je 0x14000552e
mov ecx, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400054f5
movdqa xmm4, xmmword [0x1401640e0]
mov eax, 5
movd xmm6, eax
mov eax, Ordinal_33
movd xmm5, eax
movdqa xmm2, xmmword [0x140164070]
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 [0x140164090]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401640a0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [0x140164028]
pxor xmm2, xmm0
movd dword [rsp + 0x70], xmm2
movdqa xmm3, xmmword [0x140164080]
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 [0x140164090]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401640a0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [rsp + 0x74]
pxor xmm2, xmm0
movd dword [rsp + 0x74], xmm2
mov ecx, 8
mov eax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xc
jl 0x140005500
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x70]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rax + 8], r14
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x30]
mov qword [rax], rcx
movdqa xmm0, xmmword [0x140164060]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
test rdi, rdi
je 0x140005816
lea rdx, [r13 + 8]
cmp qword [r13 + 0x20], 0x10
jb 0x14000559c
mov rdx, qword [rdx]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x140005816
lea r9, [rsp + 0x38]
mov r8d, 0x7d0
lea rdx, [rbp + 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r8d, dword [rsp + 0x38]
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.1400090e0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp + 0x50]
call fcn.1400bca60
cmp dword [rsp + 0x38], 0
jne 0x1400055c1
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x80]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
mov r8d, 2
lea rdx, [0x14015f524]
lea rcx, [rbp - 0x80]
call fcn.14000a220
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
lea rax, [rsp + 0x31]
mov qword [rsp + 0x78], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x58]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov r8d, 2
lea rdx, [0x140163b6c]
lea rcx, [rbp - 0x58]
call fcn.14000a220
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.140009420
mov rdi, rax
mov qword [rsp + 0x70], rax
mov rbx, r14
mov r14, qword [rbp - 0x68]
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae r9, qword [rbp - 0x50]
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x14000570d
mov rcx, qword [rdi + 8]
mov r15, qword [rbp - 0x40]
mov qword [rsp + 0x20], r15
mov r8, rbx
mov rdx, qword [rdi + 0x18]
call fcn.14000aff0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140005755
lea r9, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae r9, qword [rbp - 0x78]
mov qword [rsp + 0x20], r14
mov r8, r15
mov rdx, rax
mov rcx, rdi
call fcn.14000a070
mov r14, qword [rbp - 0x68]
add rbx, r14
jmp 0x1400056f0
xor ebx, ebx
mov qword [rbp], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
lea ecx, [rbx + 0x10]
call fcn.14000b280
mov qword [rax + 8], rbx
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
mov qword [rax], rcx
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.14000a360
nop
mov rcx, rdi
call fcn.140009e70
mov rcx, qword [rdi]
mov qword [rdi], rbx
lea edx, [rbx + 0x10]
call fcn.14000b360
nop
lea rcx, [rbp - 0x58]
call fcn.140009e70
mov rcx, qword [rbp - 0x58]
mov qword [rbp - 0x58], rbx
lea edx, [rbx + 0x10]
call fcn.14000b360
nop
lea rcx, [rbp - 0x80]
call fcn.140009e70
mov rcx, qword [rbp - 0x80]
mov qword [rbp - 0x80], rbx
lea edx, [rbx + 0x10]
call fcn.14000b360
nop
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x18], rbx
mov qword [rsi + 0x20], rbx
lea ecx, [rbx + 0x10]
call fcn.14000b280
mov qword [rax + 8], rbx
mov qword [rsi], rax
mov qword [rax], rsi
lea rdx, [rbp - 8]
mov rcx, rsi
call fcn.14000a360
nop
lea rcx, [rbp - 8]
call fcn.140009e70
mov rcx, qword [rbp - 8]
mov qword [rbp - 8], rbx
jmp 0x140005a21
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
lea rax, [rsp + 0x31]
mov qword [rsp + 0x78], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x80]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
mov r8d, 2
lea rdx, [0x14015f524]
lea rcx, [rbp - 0x80]
call fcn.14000a220
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x58]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov r8d, 2
lea rdx, [0x140163b6c]
lea rcx, [rbp - 0x58]
call fcn.14000a220
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.140009420
mov rdi, rax
mov qword [rsp + 0x70], rax
mov rbx, r14
mov r14, qword [rbp - 0x68]
nop word [rax + rax]
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae r9, qword [rbp - 0x50]
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x14000591d
mov rcx, qword [rdi + 8]
mov r15, qword [rbp - 0x40]
mov qword [rsp + 0x20], r15
mov r8, rbx
mov rdx, qword [rdi + 0x18]
call fcn.14000aff0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140005965
lea r9, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae r9, qword [rbp - 0x78]
mov qword [rsp + 0x20], r14
mov r8, r15
mov rdx, rax
mov rcx, rdi
call fcn.14000a070
mov r14, qword [rbp - 0x68]
add rbx, r14
jmp 0x140005900
xor ebx, ebx
mov qword [rbp + 0x28], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
lea ecx, [rbx + 0x10]
call fcn.14000b280
mov qword [rax + 8], rbx
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x20]
mov qword [rax], rcx
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.14000a360
nop
mov rcx, rdi
call fcn.140009e70
mov rcx, qword [rdi]
mov qword [rdi], rbx
lea edx, [rbx + 0x10]
call fcn.14000b360
nop
lea rcx, [rbp - 0x58]
call fcn.140009e70
mov rcx, qword [rbp - 0x58]
mov qword [rbp - 0x58], rbx
lea edx, [rbx + 0x10]
call fcn.14000b360
nop
lea rcx, [rbp - 0x80]
call fcn.140009e70
mov rcx, qword [rbp - 0x80]
mov qword [rbp - 0x80], rbx
lea edx, [rbx + 0x10]
call fcn.14000b360
nop
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x18], rbx
mov qword [rsi + 0x20], rbx
lea ecx, [rbx + 0x10]
call fcn.14000b280
mov qword [rax + 8], rbx
mov qword [rsi], rax
mov qword [rax], rsi
lea rdx, [rbp + 0x20]
mov rcx, rsi
call fcn.14000a360
nop
lea rcx, [rbp + 0x20]
call fcn.140009e70
mov rcx, qword [rbp + 0x20]
mov qword [rbp + 0x20], rbx
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
nop
lea rcx, [rbp - 0x30]
call fcn.140009e70
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x30], rbx
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
nop
mov rcx, r13
call fcn.140009e70
mov rcx, qword [r13]
mov qword [r13], rbx
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
mov rax, rsi
mov rcx, qword [rbp + 0x820]
xor rcx, rsp
call fcn.14000b980
mov rbx, qword [rsp + 0x990]
movaps xmm6, xmmword [rsp + 0x930]
add rsp, 0x940
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret