Function at 0x403340
Capabilities:
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433dd8
mov eax, dword fs:[0]
push eax
mov eax, 0x20f4
call fcn.00417350
mov eax, dword [0x445050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20c8], edx
mov dword [ebp - 0x20cc], ecx
mov dword [ebp - 0x20d0], 0
xor esi, esi
movups xmm0, xmmword [0x4404e4]
mov ax, word [0x4404f4]
mov word [ebp - 0x20f0], ax
movups xmmword [ebp - 0x2100], xmm0
mov eax, 0x24924925
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x31
xor word [ebp + esi*2 - 0x2100], ax
inc esi
cmp esi, 9
jl 0x4033a4
lea ecx, [ebp - 0x2100]
mov dword [ebp - 0x20ec], 0
mov dword [ebp - 0x20dc], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x20d8], 7
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403400
sub ecx, edx
lea eax, [ebp - 0x2100]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x20ec]
call fcn.004051a0
cmp dword [ebp - 0x20d8], 8
lea eax, [ebp - 0x20ec]
push 0
cmovae eax, dword [ebp - 0x20ec]
push 0
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 0x20d8]
mov edi, eax
mov dword [ebp - 0x20d4], edi
cmp edx, 8
jb 0x40348d
mov ecx, dword [ebp - 0x20ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403483
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403721
push edx
push ecx
call fcn.00416502
add esp, 8
xor eax, eax
mov dword [ebp - 0x20dc], 0
mov dword [ebp - 0x20d8], 7
mov word [ebp - 0x20ec], ax
test edi, edi
je 0x4034dc
mov eax, dword [ebp - 0x20cc]
cmp dword [eax + 0x14], 0x10
jb 0x4034bc
mov eax, dword [eax]
push 0
push SysReAllocString
push 0
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x4034e6
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x403706
push 0xb0
lea eax, [ebp - 0x20c4]
push 0
push eax
call fcn.00417f90
mov eax, dword [ebp - 0x20c8]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x403510
mov eax, dword [eax]
mov dword [ebp - 0x20c8], eax
mov dword [ebp - 0x20c4], 0x4404dc
mov dword [ebp - 0x2054], 0
mov dword [ebp - 0x2034], 0
mov dword [ebp - 0x2030], 0
mov dword [ebp - 0x202c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20c0]
push 0
push eax
lea ecx, [ebp - 0x205c]
mov dword [ebp - 0x20d0], 1
mov dword [ebp - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x2060], 0x60
call fcn.00405830
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x20c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x20c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x20c8], eax
lea ecx, [ebp - 0x20c0]
call fcn.004054b0
mov edx, dword [ebp - 0x20c8]
push ecx
push 0x22
push edx
lea ecx, [ebp - 0x20c0]
mov byte [ebp - 4], 3
call fcn.00405380
test eax, eax
jne 0x4035fc
mov eax, dword [ebp - 0x20c4]
lea ecx, [ebp - 0x20c4]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00403200
mov eax, dword [ebp - 0x20c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x20c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x20c8], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x20c4]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x20b8], 6
je 0x403653
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov esi, 1
jmp 0x4036f9
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x2014]
push eax
push 0x2000
lea eax, [ebp - 0x2010]
push eax
push esi
call edi
test eax, eax
je 0x4036ac
mov eax, dword [ebp - 0x2014]
test eax, eax
je 0x4036ac
push 0
push eax
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x20c4]
call fcn.00404720
lea eax, [ebp - 0x2014]
push eax
push 0x2000
lea eax, [ebp - 0x2010]
push eax
push esi
call edi
test eax, eax
jne 0x403673
lea ecx, [ebp - 0x20c0]
call fcn.00405040
test eax, eax
jne 0x4036e6
mov eax, dword [ebp - 0x20c4]
lea ecx, [ebp - 0x20c4]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00403200
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x20d4]
call esi
xor esi, esi
lea ecx, [ebp - 0x20c4]
call fcn.00403730
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004164c4
mov esp, ebp
pop ebp
ret
call fcn.0041a93f
int3