Function at 0x445e20
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 0x50e0bb
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x6d], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x47c], 0
push 0x3ff
push 0
lea eax, [ebp - 0x47b]
push eax
call fcn.004b8df0
add esp, 0xc
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x484], 0xffffffff
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 4
mov dword [ebp - 0x74], connect
mov dword [ebp - 0x64], 0x3a98
lea ecx, [ebp - 0x38]
call fcn.004012d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004012d0
mov byte [ebp - 4], 1
mov ecx, 0x50
mov word [ebp - 0x480], cx
mov edx, dword [ebp + 8]
push edx
call fcn.004b9387
add esp, 4
test eax, eax
jne 0x445f25
mov al, byte [ebp - 0x6d]
mov byte [ebp - 0x4a9], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00401340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401340
mov al, byte [ebp - 0x4a9]
jmp 0x44628a
lea ecx, [ebp - 0x480]
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x38]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4b0], esp
mov edx, dword [ebp + 8]
push edx
call fcn.0040d8d0
mov dword [ebp - 0x4b8], eax
call fcn.00446340
add esp, 0x28
mov byte [ebp - 0x4b9], al
movzx eax, byte [ebp - 0x4b9]
test eax, eax
jne 0x445f96
mov cl, byte [ebp - 0x6d]
mov byte [ebp - 0x4b1], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00401340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401340
mov al, byte [ebp - 0x4b1]
jmp 0x44628a
mov dword [ebp - 0x14], 0x518db8
push 0
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_InternetOpenW]
mov dword [ebp - 0x7c], eax
push 4
lea edx, [ebp - 0x64]
push edx
push 2
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 0x64]
push ecx
push 8
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [ebp - 0x64]
push eax
push 7
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
cmp dword [ebp - 0x7c], 0
jne 0x445ff4
jmp 0x44622a
push 0
push 0
push 3
push 0
push 0
movzx edx, word [ebp - 0x480]
push edx
lea ecx, [ebp - 0x38]
call fcn.00401850
push eax
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
jne 0x44602d
jmp 0x44622a
mov dword [ebp - 0x44], str.text_html_application_xhtmlxml_application_xml_q0.9___q0.8_r_n
mov dword [ebp - 0x40], 0
push 0
mov ecx, dword [ebp - 0x74]
push ecx
lea edx, [ebp - 0x44]
push edx
push 0
push 0x518c84
lea ecx, [ebp - 0x60]
call fcn.00401850
push eax
push 0x518c7c
mov eax, dword [ebp - 0x488]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x446075
jmp 0x44622a
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004b9387
add esp, 4
push eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x44609d
jmp 0x44622a
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0x20000013
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x4460c1
jmp 0x44622a
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x4c0], edx
cmp dword [ebp - 0x4c0], 0xc8
je 0x4460f7
cmp dword [ebp - 0x4c0], 0x12c
jbe 0x446185
cmp dword [ebp - 0x4c0], 0x12f
jbe 0x4460fc
jmp 0x446185
jmp 0x44618a
lea ecx, [ebp - 0x4a4]
call fcn.004012d0
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x21
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x44616f
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x4a4]
call fcn.00401380
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00401850
push eax
push 0x21
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x44616f
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x4a4]
call fcn.00401850
push eax
call fcn.00445e20
add esp, 8
mov byte [ebp - 0x6d], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a4]
call fcn.00401340
jmp 0x44622a
jmp 0x44622a
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x6c]
push edx
push 0x20000005
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4461b2
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x484], ecx
mov edx, 1
test edx, edx
je 0x44622a
mov dword [ebp - 0x4a8], 0
lea eax, [ebp - 0x4a8]
push eax
push 0x400
lea ecx, [ebp - 0x47c]
push ecx
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4461ef
cmp dword [ebp - 0x4a8], 0
jne 0x4461f5
mov byte [ebp - 0x6d], 1
jmp 0x44622a
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x4a8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x4a8]
push ecx
lea edx, [ebp - 0x47c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004462b0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x484]
jb 0x446228
mov byte [ebp - 0x6d], 1
jmp 0x44622a
jmp 0x4461b2
cmp dword [ebp - 0x7c], 0
je 0x44623a
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x488], 0
je 0x446250
mov edx, dword [ebp - 0x488]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x68], 0
je 0x446260
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov cl, byte [ebp - 0x6d]
mov byte [ebp - 0x4b2], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00401340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401340
mov al, byte [ebp - 0x4b2]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret