Function at 0x4855f0
Capabilities:
Check http status code
Connect to http server
Create http request
Get http content length
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587354
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x5e108c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x480], esi
mov edi, ecx
mov dword [ebp - 0x488], edi
mov dword [ebp - 0x47c], edi
mov dword [ebp - 0x48c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x45c], 0xf
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x470], 0
push 0x400
xor ebx, ebx
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.005065b0
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x484], 0xffffffff
mov dword [ebp - 0x41c], 4
mov dword [ebp - 0x420], 0x3a98
mov dword [ebp - 0x43c], 0xf
mov dword [ebp - 0x440], ebx
mov byte [ebp - 0x450], bl
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], ebx
mov byte [ebp - 0x438], bl
sub esp, 0xc
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [esi], 0xffffffff
lea eax, [ebp + 8]
mov dword [ebp - 0x474], 0x50
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.0040bea0
lea eax, [ebp - 0x474]
push eax
lea edx, [ebp - 0x438]
lea ecx, [ebp - 0x450]
call fcn.004850c0
add esp, 0x1c
push ebx
test al, al
jne 0x4857f5
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], ebx
push 0x5b2cd5
mov byte [edi], al
call fcn.0040bda0
mov eax, dword [ebp - 0x424]
cmp eax, 0x10
jb 0x485755
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.0040c0a0
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
cmp eax, 0x10
jb 0x48578e
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.0040c0a0
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x43c], 0xf
mov dword [ebp - 0x440], 0
mov byte [ebp - 0x450], 0
cmp eax, 0x10
jb 0x4857c7
inc eax
lea ecx, [ebp - 0x470]
push eax
push dword [ebp - 0x470]
call fcn.0040c0a0
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x45c], 0xf
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x470], 0
cmp ecx, 0x10
jb 0x485b5e
inc ecx
push ecx
jmp 0x485b53
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__rv:14.0__Gecko_20100101_Firefox_14.0.1
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x478], eax
test eax, eax
je 0x485a7f
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 0x420]
push 4
push ecx
push 2
push eax
call esi
push 4
lea eax, [ebp - 0x420]
push eax
push 8
push dword [ebp - 0x478]
call esi
push 4
lea eax, [ebp - 0x420]
push eax
push 7
push dword [ebp - 0x478]
call esi
cmp dword [ebp - 0x43c], 0x10
lea eax, [ebp - 0x450]
push 0
cmovae eax, dword [ebp - 0x450]
push 0
push 3
push 0
push 0
push dword [ebp - 0x474]
push eax
push dword [ebp - 0x478]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x47c], eax
test eax, eax
je 0x485a5d
cmp dword [ebp - 0x424], 0x10
lea edx, [ebp - 0x418]
push 0
push connect
push edx
push 0
push str.HTTP_1.0
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x418], str.text_html_application_xhtmlxml_application_xml_q0.9___q0.8
cmovae ecx, dword [ebp - 0x438]
push ecx
push 0x5c4c8c
push eax
mov dword [ebp - 0x414], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
je 0x485a5d
push 0
push 0
push 4
push str._r_n_r_n
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x485a5d
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
push dword [ebp - 0x480]
push 0x20000013
push ebx
call esi
test eax, eax
je 0x485a5d
mov eax, dword [ebp - 0x480]
cmp dword [eax], 0xc8
jne 0x485a5d
lea eax, [ebp - 0x454]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x458]
push eax
push 0x20000005
push ebx
call esi
test eax, eax
je 0x485984
mov eax, dword [ebp - 0x458]
lea ecx, [ebp - 0x470]
push eax
mov dword [ebp - 0x484], eax
call fcn.004281d0
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x485a5d
mov edi, dword [ebp - 0x484]
xor esi, esi
nop dword [eax + eax]
mov eax, dword [ebp - 0x474]
test eax, eax
je 0x485a57
push eax
add esi, eax
mov dword [ebp - 0x490], 0xf
lea eax, [ebp - 0x410]
mov dword [ebp - 0x494], 0
push eax
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 0x4a4], 0
call fcn.0040bda0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x4a4]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x470]
call fcn.00425230
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 3
call fcn.0040bb00
cmp esi, edi
jae 0x485a57
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4859c0
mov edi, dword [ebp - 0x488]
push dword [ebp - 0x478]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov eax, dword [ebp - 0x47c]
test eax, eax
je 0x485a78
push eax
call esi
test ebx, ebx
je 0x485a7f
push ebx
call esi
lea eax, [ebp - 0x470]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov ecx, edi
push eax
mov byte [edi], 0
call fcn.00425330
mov eax, dword [ebp - 0x424]
cmp eax, 0x10
jb 0x485abc
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.0040c0a0
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
cmp eax, 0x10
jb 0x485af5
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.0040c0a0
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x43c], 0xf
mov dword [ebp - 0x440], 0
mov byte [ebp - 0x450], 0
cmp eax, 0x10
jb 0x485b2e
inc eax
lea ecx, [ebp - 0x470]
push eax
push dword [ebp - 0x470]
call fcn.0040c0a0
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x45c], 0xf
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x470], 0
cmp eax, 0x10
jb 0x485b5e
inc eax
push eax
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0040c0a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f4655
mov esp, ebp
pop ebp
ret