Function at 0x414ea0
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4848ce
mov eax, dword fs:[0]
push eax
sub esp, 0x55c
mov eax, dword [0x4c2320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
mov dword [ebp - 0x4a0], ebx
push 0x49cafb
mov esi, edx
mov dword [ebp - 0x4b4], ecx
mov dword [ebp - 0x4a4], ebx
mov dword [ebp - 0x4a8], ebx
call fcn.00402a90
mov dword [ebp - 0x560], 0x4bb694
mov dword [ebp - 0x550], 0x4bb69c
mov dword [ebp - 0x500], 0x4bb708
lea eax, [ebp - 0x548]
push eax
lea ecx, [ebp - 0x560]
mov dword [ebp - 4], ebx
mov edi, 1
push ecx
mov dword [ebp - 0x4a0], edi
call fcn.00416500
mov dword [ebp - 4], edi
mov edx, dword [ebp - 0x560]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x548]
mov dword [ebp + eax - 0x560], 0x4bb690
call fcn.00416740
mov dword [ebp - 0x548], 0x4bb654
mov dword [ebp - 0x50c], ebx
mov dword [ebp - 0x508], ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 4], 3
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1_
mov byte [ebp - 4], 4
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0x4a0], edi
cmp edi, ebx
je 0x414fb8
push ebx
push bind
push ebx
push ebx
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
mov dword [ebp - 0x4b8], esi
cmp esi, ebx
jne 0x414fd1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x560]
mov dword [ebp - 4], 0xffffffff
call fcn.00415150
xor al, al
jmp 0x4150fa
push ebx
lea ecx, [ebp - 0x4b0]
push ecx
lea edx, [ebp - 0x4ac]
push edx
push 0x20000013
push esi
mov dword [ebp - 0x4ac], ebx
mov dword [ebp - 0x4b0], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp eax, ebx
je 0x41501a
cmp dword [ebp - 0x4ac], 0xc8
je 0x41501a
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
jmp 0x414fb8
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
push 0x464
lea eax, [ebp - 0x480]
push ebx
push eax
call fcn.0044f160
add esp, 0xc
lea ecx, [ebp - 0x4a4]
push ecx
push 0x400
lea edx, [ebp - 0x480]
push edx
push esi
call edi
mov eax, dword [ebp - 0x4a4]
cmp eax, ebx
jbe 0x41507e
add dword [ebp - 0x4a8], eax
push ebx
push eax
mov byte [ebp + eax - 0x480], bl
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x550]
call fcn.00415b90
cmp dword [ebp - 0x4a4], ebx
ja 0x415020
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov eax, dword [ebp - 0x4a0]
push eax
call esi
mov dword [ebp - 4], 3
lea esi, [ebp - 0x49c]
lea ecx, [ebp - 0x560]
call fcn.00415d90
mov ecx, dword [ebp - 0x4b4]
push eax
mov byte [ebp - 4], 6
call fcn.00402920
cmp dword [ebp - 0x488], 0x10
jb 0x4150d0
mov ecx, dword [ebp - 0x49c]
push ecx
call fcn.0044a567
add esp, 4
lea ecx, [ebp - 0x560]
mov dword [ebp - 0x488], 0xf
mov dword [ebp - 0x48c], ebx
mov byte [ebp - 0x49c], bl
mov dword [ebp - 4], 0xffffffff
call fcn.00415150
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00449592
mov esp, ebp
pop ebp
ret