Function at 0x427cd0
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Delete file
Get common file path
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x578
mov eax, dword [0x462544]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x258], 1
mov dword [ebp - 0x220], 0x45c94c
mov dword [ebp - 0x21c], 0
push 0x15
mov ecx, dword [0x465158]
call fcn.0043c3e0
push eax
push str.http:___s
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.00401090
add esp, 0x10
push 0x15
mov ecx, dword [0x465158]
call fcn.0043c3e0
push eax
push 0x4592f4
push 0x104
lea ecx, [ebp - 0x578]
push ecx
call fcn.00401090
add esp, 0x10
mov edx, dword [0x464b10]
push edx
push 3
mov ecx, dword [0x465158]
call fcn.0043c3e0
push eax
push 0x104
lea eax, [ebp - 0x360]
push eax
call fcn.00401090
add esp, 0x10
lea ecx, [ebp - 0x470]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.aZuReUs
lea eax, [ebp - 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov byte [ebp - 0x251], 0
cmp dword [ebp - 0x258], 0
jbe 0x427f5a
movzx ecx, byte [ebp - 0x251]
test ecx, ecx
jne 0x427f5a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 1
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.WININET.dll_InternetCheckConnectionA]
test eax, eax
je 0x427f30
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__compatible__MSIE_6.0__Windows_XP_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x224], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x224], 0
je 0x427f30
push 1
push 0
push 3
push 0
push 0
push 0x50
lea eax, [ebp - 0x578]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0
je 0x427f23
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0x84400000
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
lea ecx, [ebp - 0x360]
push ecx
push 0x45c998
mov edx, dword [ebp - 0x364]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x427f0e
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x427f01
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x250]
push edx
call fcn.00425280
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 0x251], 1
push 0
push 0
push 0
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.WININET.dll_HttpEndRequestA]
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x364]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
movzx edx, byte [ebp - 0x251]
test edx, edx
jne 0x427f55
mov eax, dword [ebp - 0x258]
sub eax, 1
mov dword [ebp - 0x258], eax
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x427db1
cmp dword [ebp + 8], 0xffffffff
je 0x427f6d
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409d69
mov esp, ebp
pop ebp
ret