Function at 0x426a20
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 0x4a0964
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x4cc0a0]
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 - 0x484], esi
mov ebx, ecx
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x47c], ebx
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 edi, edi
lea eax, [ebp - 0x410]
push edi
push eax
call fcn.004797f0
mov dword [ebp - 0x458], edi
mov dword [ebp - 0x454], edi
mov dword [ebp - 0x480], 0xffffffff
mov dword [ebp - 0x41c], 4
mov dword [ebp - 0x420], 0x3a98
mov dword [ebp - 0x43c], 0xf
mov dword [ebp - 0x440], edi
mov byte [ebp - 0x450], 0
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], edi
mov byte [ebp - 0x438], 0
sub esp, 0xc
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [esi], 0xffffffff
mov dword [ebp - 0x474], 0x50
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], edi
cmp dword [ecx + 0x14], 0x10
jb 0x426b29
mov eax, dword [ecx]
jmp 0x426b2b
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp + 8]
push 0
push eax
call fcn.00409700
lea eax, [ebp - 0x474]
push eax
lea edx, [ebp - 0x438]
lea ecx, [ebp - 0x450]
call fcn.004265e0
add esp, 0x1c
push 0
test al, al
jne 0x426c3a
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
mov dword [ebx + 0x10], 0
push 0x4c0b04
mov byte [ebx], al
call fcn.00409600
mov eax, dword [ebp - 0x424]
cmp eax, 0x10
jb 0x426b9a
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00409a60
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
cmp eax, 0x10
jb 0x426bd3
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.00409a60
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x43c], 0xf
mov dword [ebp - 0x440], 0
mov byte [ebp - 0x450], 0
cmp eax, 0x10
jb 0x426c0c
inc eax
lea ecx, [ebp - 0x470]
push eax
push dword [ebp - 0x470]
call fcn.00409a60
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x45c], 0xf
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x470], 0
cmp ecx, 0x10
jb 0x426f8d
inc ecx
push ecx
jmp 0x426f82
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 esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 0x420]
push 4
push ecx
push 2
push eax
mov dword [ebp - 0x478], 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
mov ecx, dword [ebp - 0x478]
test ecx, ecx
je 0x426ebf
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 ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x47c], eax
test eax, eax
je 0x426e9d
cmp dword [ebp - 0x424], 0x10
lea edx, [ebp - 0x418]
push 0
push accept
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 0x4c118c
push eax
mov dword [ebp - 0x414], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
je 0x426e9d
push 0
push 0
push 4
push str._r_n_r_n
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x426e9d
mov esi, dword [ebp - 0x484]
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
push esi
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x426e9d
cmp dword [esi], 0xc8
jne 0x426e9d
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 edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x426dc7
mov eax, dword [ebp - 0x458]
lea ecx, [ebp - 0x470]
push eax
mov dword [ebp - 0x480], eax
call fcn.00415050
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x426e9d
mov ebx, dword [ebp - 0x480]
xor esi, esi
nop dword [eax + eax]
mov eax, dword [ebp - 0x474]
test eax, eax
je 0x426e97
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.00409600
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x4a4]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x470]
call fcn.00413520
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 3
call fcn.00409040
cmp esi, ebx
jae 0x426e97
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x426e00
mov ebx, 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 0x426eb8
push eax
call esi
test edi, edi
je 0x426ebf
push edi
call esi
lea eax, [ebp - 0x470]
mov ecx, ebx
push eax
call fcn.00409080
mov eax, dword [ebp - 0x424]
cmp eax, 0x10
jb 0x426eeb
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00409a60
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
cmp eax, 0x10
jb 0x426f24
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.00409a60
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x43c], 0xf
mov dword [ebp - 0x440], 0
mov byte [ebp - 0x450], 0
cmp eax, 0x10
jb 0x426f5d
inc eax
lea ecx, [ebp - 0x470]
push eax
push dword [ebp - 0x470]
call fcn.00409a60
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x45c], 0xf
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x470], 0
cmp eax, 0x10
jb 0x426f8d
inc eax
push eax
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00409a60
mov eax, ebx
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.00442377
mov esp, ebp
pop ebp
ret