Function at 0x450f70
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4e9631
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24c]
mov esi, edx
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
cmp esi, ebx
jne 0x450fce
mov eax, 0x80070057
jmp 0x4511c2
cmp ebp, ebx
je 0x450fc4
call fcn.0044c720
mov dword [ebp], ebx
cmp dword [edi + 0x10], ebx
jne 0x451004
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 0x10], eax
cmp eax, ebx
jne 0x451004
call fcn.0041e1d0
cmp eax, ebx
jge 0x451004
call fcn.0041e1d0
jmp 0x4511c2
movzx ecx, word [edi + 4]
mov eax, dword [edi]
mov edx, dword [edi + 0x10]
push ebx
push ebx
push 3
push ebx
push ebx
push ecx
push eax
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x244], ebx
cmp ebp, ebx
je 0x450ffa
cmp dword [edi + 4], 0x1bb
mov ecx, 0x400300
jne 0x451040
mov ecx, 0xc00300
cmp byte [edi + 0x14], bl
jne 0x45104b
or ecx, 0x80000
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 8]
push ebx
push ecx
push ebx
push 0x506c24
push 0x50419c
push eax
push edi
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [esp + 0x34], edi
mov byte [esp + 0x244], 1
cmp edi, ebx
jne 0x45108e
call fcn.0041e1d0
push ebp
mov esi, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
jmp 0x4511c2
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4510b7
call fcn.0041e1d0
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, eax
call edi
push ebp
call edi
mov eax, esi
jmp 0x4511c2
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x20000013
push edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x45109d
lea esi, [esp + 0x14]
call fcn.0044bc50
mov byte [esp + 0x244], 2
mov edx, dword [esp + 0x1c]
add edx, 0xffffff38
cmp edx, 0x63
ja 0x451194
mov esi, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
push edi
mov dword [esp + 0x28], ebx
call esi
test eax, eax
je 0x451174
lea ebx, [ebx]
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x451194
mov dword [esp + 0x20], ebx
cmp eax, 0x200
jbe 0x45113c
mov eax, 0x200
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x451166
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
lea ebx, [esp + 0x18]
call fcn.0044c670
xor ebx, ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
push edi
call esi
test eax, eax
jne 0x451120
call fcn.0041e1d0
mov esi, eax
lea eax, [esp + 0x14]
call fcn.0041f720
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push ebp
call edi
mov eax, esi
jmp 0x4511c2
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x14]
call fcn.0044c780
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov dword [eax], edx
lea eax, [esp + 0x14]
call fcn.0041f720
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebp
call esi
xor eax, eax
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004c9392
add esp, 0x234
ret 4