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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
mov dword [ebp - 8], 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x450dd3
cmp dword [ebp + 0x14], 0
je 0x450dce
push 0x10
push 0x57c208
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x451102
push 4
lea ecx, [ebp + 0x10]
push ecx
push 2
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x450e4c
cmp dword [ebp + 0x14], 0
je 0x450e47
mov ecx, 0x13
mov esi, 0x57c260
lea edi, [ebp - 0x110]
rep movsd dword es:[edi], dword [esi]
push 0xb4
push 0
lea edx, [ebp - 0xc4]
push edx
call fcn.0053ef70
add esp, 0xc
push 0x10
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4510f8
mov dword [ebp - 0x12c], 0
push 0
lea edx, [ebp - 0x12c]
push edx
push 0
push 0xb
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x450ef0
cmp dword [ebp - 0x12c], 0
jbe 0x450ef0
mov ecx, dword [ebp - 0x12c]
add ecx, 2
push ecx
call fcn.00543c05
add esp, 4
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x12c]
add edx, 2
push edx
push 0
mov eax, dword [ebp - 0x130]
push eax
call fcn.0053ef70
add esp, 0xc
push 0
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x130]
push edx
push 0xb
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [ebp - 0x130], 0
je 0x450ef0
mov ecx, dword [ebp - 0x130]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0041cec0
mov edx, dword [ebp - 0x130]
push edx
call fcn.00543b8c
add esp, 4
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x118], 0
lea ecx, [ebp - 0x128]
call fcn.004df680
mov eax, 1
test eax, eax
je 0x450fba
push 0x401
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x13c], ecx
push 0x401
push 0
mov edx, dword [ebp - 0x13c]
push edx
call fcn.0053ef70
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push 0x400
mov ecx, dword [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0x114], 0
jne 0x450f79
jmp 0x450fba
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x138], ecx
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x128]
call fcn.004df700
mov eax, dword [ebp - 0x118]
add eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
jmp 0x450f0f
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x118], 0
jle 0x4510ed
mov edx, dword [ebp - 0x118]
add edx, 1
push edx
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x118]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0053ef70
add esp, 0xc
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x144], 0
jmp 0x45102f
mov eax, dword [ebp - 0x144]
add eax, 1
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0x128]
call fcn.004df6c0
cmp dword [ebp - 0x144], eax
jae 0x4510ce
mov ecx, dword [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x128]
call fcn.004df6e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x140]
push eax
call fcn.0053e160
add esp, 0xc
mov ecx, dword [ebp - 0x140]
add ecx, dword [ebp - 0x148]
mov dword [ebp - 0x140], ecx
cmp dword [ebp - 0x14c], 0
je 0x4510c9
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x158], edx
mov eax, dword [ebp - 0x158]
push eax
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x14c], 0
jmp 0x451020
lea ecx, [ebp - 0x128]
call fcn.004df800
cmp dword [ebp + 0x18], 0
je 0x4510ed
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
lea ecx, [ebp - 0x128]
call fcn.004df6a0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret