Function at 0x401270
Capabilities:
Connect socket
Create process on windows
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
sub esp, 0x1a8
mov al, byte [esp + 0x1b8]
test al, al
mov byte [esp + 3], 0
je 0x40129b
lea eax, [esp + 0x18]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x401493
push str.www.roadkil.net
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x401493
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push esi
push edi
push 0x1000
mov dword [esp + 0x18], eax
xor edi, edi
call fcn.00403c4a
push 0x400
mov esi, eax
call fcn.00403c4a
add esp, 8
test esi, esi
mov dword [esp + 0xc], eax
je 0x401465
test eax, eax
je 0x401465
push ebp
call fcn.004011b0
mov ecx, dword [esp + 0x1bc]
mov edx, dword [esp + 0x1b8]
push 0x40f914
push ecx
push edx
push str.GET_http:__www.roadkil.net_updates.php_ProgramName_sMyVersion_sOSVersion_s_HTTP_1.0_r_nHost:_www.roadkil.net_r_n_r_n
push esi
call fcn.00403bf8
add esp, 0x14
push 1
push edi
push edi
push edi
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x401464
push 0x50
call dword [sym.imp.WS2_32.dll_htons]
push edi
push edi
push edi
push edi
mov word [esp + 0x26], ax
push 0x10
lea eax, [esp + 0x28]
push eax
push ebp
mov word [esp + 0x30], 2
call dword [sym.imp.WS2_32.dll_WSAConnect]
cmp eax, 0xffffffff
je 0x401464
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401361
push ebx
push 0
sub eax, edx
push eax
push esi
push ebp
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [sym.imp.WS2_32.dll_recv]
mov eax, 0xbc64c8
cmp eax, 0xffffffff
je 0x4013a4
push 0
mov ecx, 0x1000
sub ecx, edi
push ecx
lea edx, [esi + edi]
push edx
push ebp
call ebx
test eax, eax
je 0x4013a4
cmp eax, 0xffffffff
je 0x4013a4
add edi, eax
jmp 0x401381
cmp edi, 0x1000
jge 0x4013b0
mov byte [esi + edi], 0
test edi, edi
jle 0x401463
mov eax, dword [esp + 0x14]
push 0
push 0x400
push eax
push edi
push 0x40a304
push esi
mov byte [eax], 0
call fcn.004010f0
add esp, 0x18
test al, al
je 0x401463
mov ebx, dword [esp + 0x14]
push str.true
push ebx
mov byte [esp + 0x1b], 1
call fcn.00401020
add esp, 8
test eax, eax
jne 0x401449
push eax
push 0x400
push ebx
push edi
push str.link
push esi
call fcn.004010f0
add esp, 0x18
test al, al
je 0x401449
mov edi, dword [esp + 0x1c4]
push 0x44
push str.Update_Available
push str.An_update_is_available__Would_you_like_to_go_to_the_download_page_now_
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x401463
push 0
push 0
push 0
mov eax, ebx
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x401463
mov ecx, dword [esp + 0x1c4]
push 0x40
push str.No_Updates_Found
push str.No_updates_were_found_for_your_operating_system
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
pop ebp
push esi
call fcn.00403b8f
mov edx, dword [esp + 0x10]
push edx
call fcn.00403b8f
mov al, byte [esp + 0x1c8]
add esp, 8
test al, al
pop edi
pop esi
je 0x40148b
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov al, byte [esp + 3]
test al, al
jne 0x4014ad
mov eax, dword [esp + 0x1b4]
push 0x10
push str.Unable_to_connect
push str.Unable_to_connect_to_www.roadkil.net_to_check_for_updates___Check_your_internet_connection
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x1a8
ret