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

Disassembly:
push 0x140
mov eax, 0x4c803e
call fcn.0044d7c5
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x14]
push ebx
mov esi, ecx
push ebx
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x12c], ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x140], edi
cmp edi, ebx
jne 0x421b6c
cmp dword [ebp + 0x10], ebx
je 0x421dbb
push 0x10
push 0x4d142c
push esi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x421dbb
push 4
lea eax, [ebp + 0xc]
push eax
push 2
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push ebx
push ebx
push ebx
push ebx
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x118], eax
cmp eax, ebx
jne 0x421bda
cmp dword [ebp + 0x10], ebx
je 0x421daf
push 0x13
pop ecx
push 0xb4
lea eax, [ebp - 0xc4]
push ebx
mov esi, str.Internet_open_url_failed__error_code
lea edi, [ebp - 0x110]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044d1b0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x120]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x421daf
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push ebx
lea ecx, [ebp - 0x120]
push ecx
push ebx
push 0xb
push eax
mov dword [ebp - 0x120], ebx
call esi
test eax, eax
jne 0x421c4c
mov edi, dword [ebp - 0x120]
cmp edi, ebx
jbe 0x421c4c
add edi, 2
push edi
call fcn.004528a1
push edi
push ebx
push eax
mov dword [ebp - 0x114], eax
call fcn.0044d1b0
mov edi, dword [ebp - 0x114]
add esp, 0x10
push ebx
lea eax, [ebp - 0x120]
push eax
push edi
push 0xb
push dword [ebp - 0x118]
call esi
cmp edi, ebx
je 0x421c4c
mov ecx, dword [ebp - 0x124]
push edi
call fcn.004116d4
push edi
call fcn.0044d866
pop ecx
mov dword [ebp - 0x11c], ebx
xor edi, edi
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 4], ebx
mov esi, 0x401
jmp 0x421ca0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00421a4c
add edi, dword [ebp - 0x11c]
push esi
call fcn.0044a6f2
push esi
push ebx
push eax
mov dword [ebp - 0x114], eax
call fcn.0044d1b0
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
push 0x400
push dword [ebp - 0x114]
push dword [ebp - 0x118]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0x11c], ebx
jne 0x421c70
push dword [ebp - 0x118]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp edi, ebx
jle 0x421da4
inc edi
push edi
mov dword [ebp - 0x124], edi
call fcn.0044a6f2
push edi
push ebx
push eax
mov dword [ebp - 0x12c], eax
call fcn.0044d1b0
mov eax, dword [ebp - 0x138]
mov esi, dword [ebp - 0x13c]
sub eax, esi
sar eax, 3
add esp, 0x10
mov dword [ebp - 0x118], ebx
cmp eax, ebx
jbe 0x421d7a
mov dword [ebp - 0x114], eax
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov ecx, dword [ebp - 0x118]
add ecx, dword [ebp - 0x12c]
push eax
push edi
push ecx
mov dword [ebp - 0x148], eax
call fcn.0044cad0
mov eax, dword [ebp - 0x148]
add dword [ebp - 0x118], eax
add esp, 0xc
cmp edi, ebx
je 0x421d69
push edi
call fcn.0044d8a0
pop ecx
add esi, 8
dec dword [ebp - 0x114]
jne 0x421d30
mov edi, dword [ebp - 0x124]
push dword [ebp - 0x138]
lea eax, [ebp - 0x124]
push dword [ebp - 0x13c]
lea ecx, [ebp - 0x13c]
push eax
call fcn.0041fd27
mov eax, dword [ebp - 0x144]
cmp eax, ebx
je 0x421da4
mov dword [eax], edi
lea ecx, [ebp - 0x13c]
call fcn.0041fd57
push dword [ebp - 0x140]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x12c]
call fcn.0044d848
ret