Function at 0x428cf0
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba713
mov eax, dword fs:[0]
push eax
sub esp, 0x5a4
mov eax, dword [0x4e40d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x598], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x568], 0
mov dword [ebp - 0x56c], 0
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x558], 0
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00402110
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
jne 0x428d88
mov byte [ebp - 0x559], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401f90
mov al, byte [ebp - 0x559]
jmp 0x429130
xor eax, eax
mov word [ebp - 0x110], ax
push 0xfe
push 0
lea ecx, [ebp - 0x10e]
push ecx
call fcn.00453a70
add esp, 0xc
xor edx, edx
mov word [ebp - 0x510], dx
push 0x3fe
push 0
lea eax, [ebp - 0x50e]
push eax
call fcn.00453a70
add esp, 0xc
push 0x3c
push 0
lea ecx, [ebp - 0x554]
push ecx
call fcn.00453a70
add esp, 0xc
mov dword [ebp - 0x554], 0x3c
mov dword [ebp - 0x540], 0x80
mov dword [ebp - 0x524], 0x200
lea edx, [ebp - 0x110]
mov dword [ebp - 0x544], edx
lea eax, [ebp - 0x510]
mov dword [ebp - 0x528], eax
lea ecx, [ebp - 0x554]
push ecx
push accept
push 0
lea ecx, [ebp + 8]
call fcn.00402110
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x428e35
jmp 0x429083
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x568], eax
cmp dword [ebp - 0x568], 0
jne 0x428e59
jmp 0x429083
push 0
push 0x8000000
push 3
push 0
push 0
push 0x50
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x568]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x56c], eax
cmp dword [ebp - 0x56c], 0
jne 0x428e90
jmp 0x429083
push 1
push 0x4000200
push 0
push 0
push str.HTTP_1.0
lea ecx, [ebp - 0x510]
push ecx
push 0x4d6394
mov edx, dword [ebp - 0x56c]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x564], eax
cmp dword [ebp - 0x564], 0
jne 0x428ecd
jmp 0x429083
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x564]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x428eeb
jmp 0x429083
mov dword [ebp - 0x514], 0
mov dword [ebp - 0x560], 0
push 0
lea ecx, [ebp - 0x514]
push ecx
mov edx, dword [ebp - 0x560]
push edx
push 5
mov eax, dword [ebp - 0x564]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x428f64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x57c], eax
cmp dword [ebp - 0x57c], 0x7a
jne 0x428f5d
mov ecx, dword [ebp - 0x514]
add ecx, 1
push ecx
call fcn.0045201b
add esp, 4
mov dword [ebp - 0x580], eax
mov edx, dword [ebp - 0x580]
mov dword [ebp - 0x560], edx
jmp 0x428f62
jmp 0x429083
jmp 0x428eff
mov eax, dword [ebp - 0x560]
add eax, dword [ebp - 0x514]
mov cl, byte [0x4d6420]
mov byte [eax], cl
mov edx, dword [ebp - 0x560]
push edx
call fcn.004630cf
add esp, 4
mov dword [ebp - 0x574], eax
mov eax, dword [ebp - 0x560]
mov dword [ebp - 0x570], eax
mov ecx, dword [ebp - 0x570]
push ecx
call fcn.00452024
add esp, 4
cmp dword [ebp - 0x570], 0
jne 0x428fbd
mov dword [ebp - 0x584], 0
jmp 0x428fd3
mov dword [ebp - 0x560], 0x8123
mov edx, dword [ebp - 0x560]
mov dword [ebp - 0x584], edx
mov dword [ebp - 0x518], 0
mov eax, dword [ebp - 0x574]
add eax, 1
push eax
call fcn.0045201b
add esp, 4
mov dword [ebp - 0x588], eax
mov ecx, dword [ebp - 0x588]
mov dword [ebp - 0x558], ecx
cmp dword [ebp - 0x558], 0
je 0x429034
lea edx, [ebp - 0x518]
push edx
mov eax, dword [ebp - 0x574]
push eax
mov ecx, dword [ebp - 0x558]
push ecx
mov edx, dword [ebp - 0x564]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x429032
jmp 0x429083
jmp 0x429036
jmp 0x429083
mov eax, dword [ebp - 0x518]
push eax
mov ecx, dword [ebp - 0x558]
push ecx
lea ecx, [ebp - 0x5b0]
call fcn.0040afb0
mov dword [ebp - 0x58c], eax
mov edx, dword [ebp - 0x58c]
mov dword [ebp - 0x590], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x590]
push eax
mov ecx, dword [ebp + 0x20]
call fcn.00403890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5b0]
call fcn.00402070
cmp dword [ebp - 0x568], 0
je 0x429099
mov ecx, dword [ebp - 0x568]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x56c], 0
je 0x4290af
mov edx, dword [ebp - 0x56c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x564], 0
je 0x4290c5
mov eax, dword [ebp - 0x564]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x558], 0
je 0x429114
mov ecx, dword [ebp - 0x558]
mov dword [ebp - 0x578], ecx
mov edx, dword [ebp - 0x578]
push edx
call fcn.00452024
add esp, 4
cmp dword [ebp - 0x578], 0
jne 0x4290fe
mov dword [ebp - 0x594], 0
jmp 0x429114
mov dword [ebp - 0x558], 0x8123
mov eax, dword [ebp - 0x558]
mov dword [ebp - 0x594], eax
mov byte [ebp - 0x55a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401f90
mov al, byte [ebp - 0x55a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret 0x1c