Function at 0x469e68
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.004054d0
mov eax, dword [ebp - 8]
call fcn.004054d0
xor eax, eax
push ebp
push 0x46a07d
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.00469cd0
mov ebx, 0x46a090
xor esi, esi
push 0
push 0x46a094
push 0x46a094
push 0
push 0x46a098
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.004054e0
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 0x46a0f4
mov eax, dword [ebp - 0x10]
call fcn.004054e0
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 0x46a05b
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 0x46a010
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x180]
call fcn.00403694
mov edx, 1
lea eax, [ebp - 0x180]
call fcn.00403b14
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 0x469ffc
cmp dword [ebp - 0x34], 0
je 0x469ffc
push 0
lea edx, [ebp - 0x581]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x180]
call fcn.004037e8
call fcn.0040305c
jmp 0x469fbc
lea eax, [ebp - 0x180]
call fcn.00403808
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 0x46a062
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