Function at 0x4c4390
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d048
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x566148]
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
mov ebx, ecx
mov eax, dword [ebp + 8]
mov esi, edx
xor ecx, ecx
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], eax
mov dword [esi + 0x10], ecx
jb 0x4c43da
mov eax, dword [esi]
jmp 0x4c43dc
mov eax, esi
mov byte [eax], cl
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x4c461a
cmp ebx, 0x1000
jae 0x4c43f6
mov ebx, 0x1000
cmp ebx, eax
jbe 0x4c43fc
mov ebx, eax
mov edi, dword [esi + 0x10]
cmp edi, ebx
ja 0x4c4427
cmp dword [esi + 0x14], ebx
je 0x4c4427
push 1
push ebx
mov ecx, esi
call fcn.00407a70
test al, al
je 0x4c4425
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x4c4421
mov esi, dword [esi]
mov byte [esi + edi], 0
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov eax, ebx
lea esi, [ebp - 0x6c]
mov dword [ebp - 4], ecx
call fcn.0044c6c0
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x50], 0
xor esi, esi
mov edi, dword [ebp - 0x68]
sub edi, ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x5c]
mov edx, edi
sub edx, esi
push edx
lea eax, [ebx + esi]
push eax
push ecx
mov dword [ebp - 0x54], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4c4504
push 0x24
push str.InternetReadFile___win_inet.cpp289_
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x30], al
call fcn.00407b20
mov bl, 2
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x4c]
mov esi, eax
push edx
mov edx, esi
lea ecx, [ebp - 0x30]
call fcn.004c51e0
add esp, 4
mov edi, 0x10
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x4c44c2
mov eax, dword [eax]
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x50], eax
call fcn.004e8fea
mov byte [ebp - 4], bl
mov dword [ebp - 0x7c], vtable.std::runtime_error.0
cmp dword [ebp - 0x38], edi
jb 0x4c44ec
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004e895a
add esp, 4
push 0x555d34
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], vtable.pix::net_error.0
mov dword [ebp - 0x70], esi
call fcn.004ecd9a
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
add ecx, eax
add esi, eax
mov dword [ebp - 0x50], ecx
cmp ecx, dword [ebp + 0xc]
jbe 0x4c4579
push 0xa
push str.pix::error
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.00407b20
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 0x10
jb 0x4c4549
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x50], ecx
jmp 0x4c454f
lea edx, [ebp - 0x30]
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x88]
call fcn.004e8fea
push 0x555c44
lea ecx, [ebp - 0x88]
push ecx
mov dword [ebp - 0x88], vtable.pix::error.0
call fcn.004ecd9a
test eax, eax
je 0x4c4585
cmp esi, edi
jb 0x4c444d
test esi, esi
je 0x4c4605
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x14], 0x10
jb 0x4c4596
mov eax, dword [ecx]
jmp 0x4c4598
mov eax, ecx
mov edx, dword [ebp - 0x5c]
mov edi, dword [ecx + 0x10]
push edx
add esi, ebx
push esi
add edi, eax
push ebx
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.004c3130
mov ecx, dword [ebp - 0x58]
mov esi, 0x10
mov byte [ebp - 4], 5
cmp dword [ecx + 0x14], esi
jb 0x4c45d5
mov eax, dword [ecx]
jmp 0x4c45d7
mov eax, ecx
test edi, edi
je 0x4c45dd
sub edi, eax
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x30]
push edx
push 0
push edi
call fcn.0044ef20
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], esi
jb 0x4c4602
mov eax, dword [ebp - 0x30]
push eax
call fcn.004e895a
add esp, 4
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x4c444b
test ebx, ebx
je 0x4c461a
push ebx
call fcn.004e895a
add esp, 4
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.004e8965
mov esp, ebp
pop ebp
ret