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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570460
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x5c0c70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x88], ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x4cd75a
xor al, al
jmp 0x4cdb53
lea ecx, [ebp - 0x28]
call fcn.0040ee90
lea ecx, [ebp - 0x14]
call fcn.0040ee90
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x5c2f1c
call fcn.004a66d0
mov ecx, eax
call fcn.004cdb70
push eax
lea ecx, [ebp - 0x28]
call fcn.0041c8e0
lea ecx, [ebp - 0x5c]
call fcn.0040f740
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4cd8d4
mov dword [ebp - 0x3c], 0xbb8
push 4
lea ecx, [ebp - 0x3c]
push ecx
push 2
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0x102
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.0041cb20
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4cd8ca
push 0x100000
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x40], ecx
push 0x100000
push 0
mov edx, dword [ebp - 0x40]
push edx
call fcn.0053ef70
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push 0x100000
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0x2c], 0
jbe 0x4cd8a1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
push ecx
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0053ef70
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0053e160
add esp, 0xc
cmp dword [ebp - 0x40], 0
je 0x4cd8c0
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
push eax
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4cd8e3
mov dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x19], 0
cmp dword [ebp - 0x20], 0
je 0x4cdb2e
push 0x3a8
mov eax, dword [ebp - 0x20]
push eax
call fcn.004508e0
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0053f78e
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x190
jge 0x4cdaf0
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041cec0
push str.__r_n_t
lea ecx, [ebp - 0x14]
call fcn.004a5d30
push 0
push 0x594920
lea ecx, [ebp - 0x14]
call fcn.004a5a90
mov dword [ebp - 0x50], eax
push 0
push 0x59491c
lea ecx, [ebp - 0x14]
call fcn.004a5a90
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x50], 0
jle 0x4cdaf0
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x50]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 1
push ecx
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x14]
call fcn.004a5f00
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c8e0
lea ecx, [ebp - 0x6c]
call fcn.0040f740
push 0
push 0x594914
lea ecx, [ebp - 0x14]
call fcn.004a5a90
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
push 0x58726c
lea ecx, [ebp - 0x14]
call fcn.004a5a90
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x50]
sub ecx, 3
push ecx
mov edx, dword [ebp - 0x50]
add edx, 3
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x14]
call fcn.004a5f00
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0041c8e0
lea ecx, [ebp - 0x70]
call fcn.0040f740
push 0x58fbd8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041cac0
add esp, 8
movzx edx, al
test edx, edx
jne 0x4cda51
push 0x5947cc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041cac0
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4cda51
push 0x5947c4
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041cac0
add esp, 8
movzx eax, al
test eax, eax
jne 0x4cda51
push 0x5947bc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041cac0
add esp, 8
movzx edx, al
test edx, edx
je 0x4cda62
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0041c8e0
jmp 0x4cdaec
push 0
push 0x5948bc
mov ecx, dword [ebp + 0xc]
call fcn.004a5a90
mov dword [ebp - 0x58], eax
push 0
push str.l:S
mov ecx, dword [ebp + 0xc]
call fcn.004a5a90
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x58], 0
jle 0x4cdaba
mov ecx, dword [ebp + 0xc]
call fcn.0041cc20
sub eax, dword [ebp - 0x58]
sub eax, 1
push eax
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004a5fc0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0041c8e0
lea ecx, [ebp - 0x74]
call fcn.0040f740
jmp 0x4cdaec
cmp dword [ebp - 0x54], 0
jle 0x4cdaec
mov ecx, dword [ebp + 0xc]
call fcn.0041cc20
sub eax, dword [ebp - 0x58]
sub eax, 3
push eax
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004a5fc0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0041c8e0
lea ecx, [ebp - 0x78]
call fcn.0040f740
mov byte [ebp - 0x19], 1
cmp dword [ebp - 0x44], 0
je 0x4cdb0f
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x20], 0
je 0x4cdb2e
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x20], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov cl, byte [ebp - 0x19]
mov byte [ebp - 0x81], cl
lea ecx, [ebp - 0x14]
call fcn.0040f740
lea ecx, [ebp - 0x28]
call fcn.0040f740
mov al, byte [ebp - 0x81]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc