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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c4ed3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x84280100
cmp byte [ebp - 5], 0
je 0x4c4c6f
or dword [ebp - 0x20], 0x400000
mov eax, dword [ebp + 8]
call fcn.00407c5c
push 0
push 0
push 0
push 0
push 0x4c4ee4
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4c4e9e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x4c4e87
mov dword [ebp - 0x1c], 0x1388
push 4
lea eax, [ebp - 0x1c]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionW
push 4
lea eax, [ebp - 0x1c]
push eax
push 5
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionW
push 4
lea eax, [ebp - 0x1c]
push eax
push 6
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp byte [ebp - 6], 0
je 0x4c4d26
push 0
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0
lea edx, [ebp - 0x42c]
mov eax, 0x4c4ef8
call fcn.004c42d0
lea eax, [ebp - 0x42c]
mov edx, dword [ebp - 4]
call fcn.00408900
mov eax, dword [ebp - 0x42c]
call fcn.00408708
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x10], eax
jmp 0x4c4d66
push 0
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0
lea edx, [ebp - 0x430]
mov eax, 0x4c4f1c
call fcn.004c42d0
lea eax, [ebp - 0x430]
mov edx, dword [ebp - 4]
call fcn.00408900
mov eax, dword [ebp - 0x430]
call fcn.00408708
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4c4e80
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x4c4e69
xor eax, eax
push ebp
push 0x4c4e57
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0x401
lea eax, [ebp - 0x425]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 0x18], 0x401
jne 0x4c4dd9
lea eax, [ebp - 0x434]
lea edx, [ebp - 0x425]
mov ecx, 0x401
push 0
call fcn.00408384
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp + 8]
call fcn.004083e0
mov eax, dword [ebp + 8]
jmp 0x4c4e25
cmp dword [ebp - 0x18], 0
jbe 0x4c4e25
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jb 0x4c4e25
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x438]
mov edx, dword [ebp - 0x14]
mov dl, byte [ebp + edx - 0x425]
mov ecx, 0
call fcn.004082ec
mov edx, dword [ebp - 0x438]
mov eax, dword [ebp + 8]
call fcn.004083e0
mov eax, dword [ebp + 8]
inc dword [ebp - 0x14]
dec dword [ebp - 0x24]
jne 0x4c4df2
cmp dword [ebp - 0x18], 0
jne 0x4c4d8c
lea edx, [ebp - 0x43c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.004c3da8
mov edx, dword [ebp - 0x43c]
mov eax, dword [ebp + 8]
call fcn.004080b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c4e69
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4e87
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4ea5
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret