Function at 0x4542f8
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x454504
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x30], 0x5b8d80
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004541c8
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
push 0
push 0
push 3
push 0x454518
push 0x454518
push 0x50
mov eax, dword [ebp - 0x18]
call fcn.0040448c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 8], eax
push 0
push 0x80000000
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0040448c
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 4], eax
push 4
lea eax, [ebp - 0x30]
push eax
push 2
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x30]
push eax
push 8
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpSendRequestA
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x400
mov eax, dword [ebp - 0x28]
call fcn.004026cc
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
push 5
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb ebx, ebx
inc ebx
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetSetFilePointer
test bl, bl
je 0x4544db
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.004041a8
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.004080ec
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.0040845c
test al, al
je 0x45444b
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004082d8
mov dword [ebp - 0x24], eax
jmp 0x454456
mov eax, dword [ebp - 0x10]
call fcn.00408330
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.004083b4
lea eax, [ebp - 0x34]
push eax
push 0x1001
lea eax, [ebp - 0x1035]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x4544cc
cmp dword [ebp - 0x34], 0
je 0x4544cc
lea edx, [ebp - 0x1035]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
call fcn.00408388
add ebx, dword [ebp - 0x34]
mov eax, edi
cdq
push edx
push eax
imul eax, ebx, 0x64
xor edx, edx
call fcn.00404d94
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.0042690c
mov eax, dword [0x456050]
mov eax, dword [eax]
call fcn.0045169c
cmp byte [0x457c08], 0
je 0x454467
cmp edi, ebx
sete al
mov ebx, eax
mov eax, dword [ebp - 0x24]
call fcn.004083ec
mov eax, esi
call fcn.004026ec
push ebp
call fcn.004542cc
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45450b
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403fd4
ret