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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5bafe0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
mov edi, dword [esi]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x60], esi
cmp edi, eax
je 0x4d0a19
mov ebx, eax
sub ebx, eax
push ebx
push eax
push edi
call fcn.0052b9c0
add esp, 0xc
add ebx, edi
mov dword [esi + 4], ebx
push 0x1000
call fcn.0045d3c0
xor edi, edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov eax, 0x1000
lea esi, [ebp - 0x70]
mov dword [ebp - 4], edi
call fcn.0045d210
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0x54], edi
xor esi, esi
jmp 0x4d0a58
xor edi, edi
xor esi, esi
jmp 0x4d0a58
xor edi, edi
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x6c]
sub edi, ebx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x5c]
mov edx, edi
sub edx, esi
push edx
lea eax, [ebx + esi]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4d0b0b
push 0x24
push str.InternetReadFile___win_inet.cpp289_
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x34], al
call fcn.00402e40
mov bl, 2
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x50]
mov esi, eax
push edx
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.004d2090
add esp, 4
mov edi, 0x10
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x4d0ac9
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x54], eax
call fcn.0052b87d
mov byte [ebp - 4], bl
mov dword [ebp - 0x80], vtable.std::runtime_error.0
cmp dword [ebp - 0x3c], edi
jb 0x4d0af3
mov edx, dword [ebp - 0x50]
push edx
call fcn.0052b74a
add esp, 4
push 0x5a959c
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], vtable.pix::net_error.0
mov dword [ebp - 0x74], esi
call fcn.00532abb
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
add ecx, eax
mov edx, 0x1000
add esi, eax
mov dword [ebp - 0x54], ecx
cmp ecx, edx
jbe 0x4d0b84
push 0xa
push str.pix::error
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
call fcn.00402e40
mov byte [ebp - 4], 4
cmp dword [ebp - 0x20], 0x10
jb 0x4d0b54
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x54], ecx
jmp 0x4d0b5a
lea edx, [ebp - 0x34]
mov dword [ebp - 0x54], edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0052b87d
push 0x5a94e8
lea ecx, [ebp - 0x8c]
push ecx
mov dword [ebp - 0x8c], vtable.pix::error.0
call fcn.00532abb
test eax, eax
je 0x4d0b90
cmp esi, edi
jb 0x4d0a56
test esi, esi
je 0x4d0bab
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx + 4]
push edx
add esi, ebx
push esi
push ebx
push eax
call fcn.004d0c20
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4d0a50
test ebx, ebx
je 0x4d0bc0
push ebx
call fcn.0052b74a
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 - 0x18]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret