Function at 0x469d5c
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa7c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405538
mov eax, dword [ebp - 8]
call fcn.00405538
xor eax, eax
push ebp
push 0x469f71
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x24], 0x7530
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00469bc4
mov ebx, 0x469f84
xor esi, esi
push 0
push 0x469f88
push 0x469f88
push 0
push 0x469f8c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x18], eax
push 0
push 0
push 3
push 0
push 0
movzx eax, word [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405548
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x1c], eax
push 0
push esi
push 0
push 0
push 0x469fe8
mov eax, dword [ebp - 0x10]
call fcn.00405548
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x469f4f
push dword fs:[edx]
mov dword fs:[edx], esp
push 4
lea eax, [ebp - 0x24]
push eax
push 2
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x24]
push eax
push 8
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_HttpSendRequestA
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x400
mov eax, dword [ebp - 0x2c]
call fcn.00402f00
mov ebx, eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push 5
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x469f04
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x180]
call fcn.004036c4
mov edx, 1
lea eax, [ebp - 0x180]
call fcn.00403b88
call fcn.0040305c
lea eax, [ebp - 0x34]
push eax
push 0x401
lea eax, [ebp - 0x581]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x469ef0
cmp dword [ebp - 0x34], 0
je 0x469ef0
push 0
lea edx, [ebp - 0x581]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x180]
call fcn.00403840
call fcn.0040305c
jmp 0x469eb0
lea eax, [ebp - 0x180]
call fcn.00403860
call fcn.0040305c
mov byte [ebp - 0x11], 1
mov eax, ebx
call fcn.00402f1c
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469f56
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_InternetCloseHandle
ret