Function at 0x402a3a
Capabilities:
Create http request
Get hostname
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4ac
mov dword [ebp - 0x464], sym.___gxx_personality_sj0
mov dword [ebp - 0x460], 0x47cb6c
lea eax, [ebp - 0x45c]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x402cb5
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x47c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
mov dword [ebp - 0x28], 0x10
mov byte [ebp - 0x38], 0
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x478], 0xffffffff
call sym.unk_2698
sub esp, 8
mov eax, dword [ebp + 8]
lea edx, [eax + 0xd4]
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004560d4
lea eax, [ebp - 0x22]
mov dword [esp], eax
call fcn.0044b2ac
lea eax, [ebp - 0x22]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x48013a
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov dword [ebp - 0x478], 1
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea eax, [ebp - 0x22]
mov dword [esp], eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x21]
mov dword [esp], eax
call fcn.0044b2ac
lea eax, [ebp - 0x21]
mov dword [esp + 8], eax
mov dword [esp + 4], str.http:__dynupdate.no_ip.com_ip.php
lea eax, [ebp - 0x40]
mov dword [esp], eax
mov dword [ebp - 0x478], 2
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea eax, [ebp - 0x21]
mov dword [esp], eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x40]
mov dword [esp], eax
mov dword [ebp - 0x478], 4
call method.std::string.c_str___const
mov dword [esp], eax
call sym.unk_2714
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0x48015e
call sym.unk_2703
sub esp, 0x14
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x402c48
lea eax, [ebp - 0x40]
mov dword [esp], eax
call method.std::string.c_str___const
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._InternetOpenUrlA_24
sub esp, 0x18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x402c30
lea eax, [ebp - 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x400
lea eax, [ebp - 0x445]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov dword [ebp - 0x478], 4
call sym._InternetReadFile_16
sub esp, 0x10
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x402c30
mov eax, dword [ebp - 0x44]
mov byte [ebp + eax - 0x445], 0
lea eax, [ebp - 0x445]
mov dword [esp + 4], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call method.std::string.operator_char_const_
jmp 0x402bd6
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov dword [ebp - 0x478], 4
call sym._InternetCloseHandle_4
sub esp, 4
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov dword [ebp - 0x478], 4
call method.std::string.c_str___const
mov edx, dword [ebp + 8]
add edx, 0xd8
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004560d4
lea eax, [ebp - 0x40]
mov dword [esp], eax
mov dword [ebp - 0x478], 3
call fcn.00456010
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov dword [ebp - 0x478], 0xffffffff
call fcn.00456010
lea eax, [ebp - 0x47c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
lea esp, [ebp - 0xc]
add esp, 0
pop ebx
pop esi
pop edi
leave
ret