Function at 0x54d9b0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590326
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x110
push ebx
push esi
push edi
mov eax, dword [0x5deba8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], 0
lea ecx, [ebp - 0xd8]
call fcn.00549840
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x118]
add eax, 0x150
push eax
lea ecx, [ebp - 0xd8]
call fcn.0041dad0
mov ecx, dword [ebp - 0x118]
add ecx, 0x3c
call fcn.0041e310
movzx ecx, al
test ecx, ecx
je 0x54da38
mov ecx, dword [ebp - 0x118]
call fcn.00549310
mov edx, dword [ebp - 0x118]
add edx, 0x30
push edx
lea ecx, [ebp - 0xd4]
call fcn.0054de60
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0054de60
mov ecx, dword [ebp - 0x118]
add ecx, 0x60
push ecx
lea ecx, [ebp - 0x74]
call fcn.0054de60
mov edx, dword [ebp - 0x118]
add edx, 0xc0
push edx
lea ecx, [ebp - 0x44]
call fcn.0054de60
lea ecx, [ebp - 0xe4]
call fcn.0041d970
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.http:__www.tweakcube.com_tweakcube_upgrade3.xml
push str._s_r_d
lea eax, [ebp - 0xe4]
push eax
call fcn.00423c30
add esp, 0x10
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xf4], 0
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x54dc9d
mov dword [ebp - 0xfc], 0
push 4
lea ecx, [ebp - 0xfc]
push ecx
push 2
mov edx, dword [ebp - 0xec]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0x102
push 0
push 0
lea ecx, [ebp - 0xe4]
call fcn.0041e1e0
push eax
mov eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
je 0x54dc90
mov dword [ebp - 0xf0], 1
push 0x100000
call fcn.00553501
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x104], edx
push 0x100000
push 0
mov eax, dword [ebp - 0x104]
push eax
call fcn.005533a0
add esp, 0xc
lea ecx, [ebp - 0xe8]
push ecx
push 0x100000
mov edx, dword [ebp - 0x104]
push edx
mov eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0xe8], 0
jbe 0x54dc55
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xdc]
add edx, 1
push edx
call fcn.00553501
add esp, 4
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xdc]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0xe0]
push eax
call fcn.005533a0
add esp, 0xc
mov ecx, dword [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0x104]
push edx
mov eax, dword [ebp - 0xe0]
push eax
call fcn.005544b0
add esp, 0xc
cmp dword [ebp - 0x104], 0
je 0x54dc83
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x110]
push edx
call fcn.005534f6
add esp, 4
mov dword [ebp - 0x104], 0
mov eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0xec]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x54dcac
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xd8]
call fcn.00480f60
lea ecx, [ebp - 0xc8]
call fcn.00480f60
lea ecx, [ebp - 0x98]
call fcn.00480f60
lea ecx, [ebp - 0x68]
call fcn.00480f60
lea ecx, [ebp - 0x38]
call fcn.00480f60
lea edx, [ebp - 0xd8]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0x158
call fcn.0054df30
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp + 8]
call fcn.0054dfa0
mov ecx, dword [ebp - 0x114]
or ecx, 1
mov dword [ebp - 0x114], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00549890
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4