Function at 0x4751e0
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 0x581483
mov eax, dword fs:[0]
push eax
sub esp, 0x5a4
mov eax, dword [0x5cb074]
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.00405300
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
jne 0x475278
mov byte [ebp - 0x559], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405310
mov al, byte [ebp - 0x559]
jmp 0x475620
xor eax, eax
mov word [ebp - 0x110], ax
push 0xfe
push 0
lea ecx, [ebp - 0x10e]
push ecx
call fcn.005296a0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x510], dx
push 0x3fe
push 0
lea eax, [ebp - 0x50e]
push eax
call fcn.005296a0
add esp, 0xc
push 0x3c
push 0
lea ecx, [ebp - 0x554]
push ecx
call fcn.005296a0
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.00405300
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x475325
jmp 0x475573
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 0x475349
jmp 0x475573
push 0
push 0x8000000
push 3
push 0
push 0
push pe_nt_image_headers32
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 0x475380
jmp 0x475573
push 1
push 0x4000200
push 0
push 0
push str.HTTP_1.0
lea ecx, [ebp - 0x510]
push ecx
push 0x5b1d54
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 0x4753bd
jmp 0x475573
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 0x4753db
jmp 0x475573
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 0x475454
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x57c], eax
cmp dword [ebp - 0x57c], 0x7a
jne 0x47544d
mov ecx, dword [ebp - 0x514]
add ecx, 1
push ecx
call fcn.0049fd23
add esp, 4
mov dword [ebp - 0x580], eax
mov edx, dword [ebp - 0x580]
mov dword [ebp - 0x560], edx
jmp 0x475452
jmp 0x475573
jmp 0x4753ef
mov eax, dword [ebp - 0x560]
add eax, dword [ebp - 0x514]
mov cl, byte [0x5b1d50]
mov byte [eax], cl
mov edx, dword [ebp - 0x560]
push edx
call fcn.0053a5e7
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.0049faee
add esp, 4
cmp dword [ebp - 0x570], 0
jne 0x4754ad
mov dword [ebp - 0x584], 0
jmp 0x4754c3
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.0049fd23
add esp, 4
mov dword [ebp - 0x588], eax
mov ecx, dword [ebp - 0x588]
mov dword [ebp - 0x558], ecx
cmp dword [ebp - 0x558], 0
je 0x475524
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 0x475522
jmp 0x475573
jmp 0x475526
jmp 0x475573
mov eax, dword [ebp - 0x518]
push eax
mov ecx, dword [ebp - 0x558]
push ecx
lea ecx, [ebp - 0x5b0]
call fcn.004055c0
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.00412560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5b0]
call fcn.004054f0
cmp dword [ebp - 0x568], 0
je 0x475589
mov ecx, dword [ebp - 0x568]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x56c], 0
je 0x47559f
mov edx, dword [ebp - 0x56c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x564], 0
je 0x4755b5
mov eax, dword [ebp - 0x564]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x558], 0
je 0x475604
mov ecx, dword [ebp - 0x558]
mov dword [ebp - 0x578], ecx
mov edx, dword [ebp - 0x578]
push edx
call fcn.0049faee
add esp, 4
cmp dword [ebp - 0x578], 0
jne 0x4755ee
mov dword [ebp - 0x594], 0
jmp 0x475604
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.00405310
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.0049fa97
mov esp, ebp
pop ebp
ret 0x1c