Function at 0x411db0
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
mov eax, 0x40d8
call fcn.00477c10
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x40d4], eax
push ebx
push ebp
push esi
mov esi, ecx
lea ebp, [esi + 0x3d84]
mov eax, 0x492aa0
mov edx, ebp
sub edx, eax
xor ebx, ebx
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x411de0
push 0x492aa0
lea eax, [esp + 0x20e4]
push 0x1000
push eax
mov dword [esi + 0xa58c], ebx
mov dword [esi + 0xa5bc], ebx
call fcn.00477bdc
mov edx, dword [esi + 4]
push 0x409
push 0x823
lea ecx, [esp + 0x10ac]
push ecx
push 0x6e
push edx
call fcn.0040e380
mov ecx, dword [esi + 4]
push 0x409
push 0x823
lea eax, [esp + 0x78]
push eax
push 0x6f
push ecx
call fcn.0040e380
lea edx, [esp + 0x10cc]
push edx
push str.szMD5Parm____s_
call fcn.0040de80
add esp, 0x3c
cmp byte [esi + 0xa589], bl
mov eax, 0x49598c
jne 0x411e70
mov eax, 0x495984
push eax
lea eax, [esi + 0x2b3c]
push eax
lea ecx, [esp + 0x10a0]
push ecx
lea edx, [esp + 0x5c]
push edx
mov eax, edx
push str._s_sLANGUAGE_splatform_s
push eax
call fcn.00401570
lea ecx, [esp + 0x68]
push ecx
push str._RetrieveMD5__szMD5QueryUrl____s_
call fcn.0040de80
add esp, 0x20
push ebx
push ebx
push ebx
push ebx
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenW]
push 4
lea edx, [esp + 0x1c]
push edx
push 0x4d
push eax
mov dword [esi + 0xa58c], eax
mov dword [esp + 0x28], 1
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [esi + 0xa58c]
cmp eax, ebx
jne 0x411f23
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov ecx, eax
jle 0x411ef3
and ecx, 0xffff
or ecx, 0x80070000
push ecx
push eax
push 0x496054
push 0x4927e4
call fcn.0040de80
push str.fail_to_RetriveMD5_at_InternetOpenW
lea eax, [esp + 0x20f4]
push 0x1000
push eax
call fcn.00477bdc
add esp, 0x1c
jmp 0x412093
push ebx
push SysReAllocString
push ebx
push ebx
lea ecx, [esp + 0x60]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
cmp eax, ebx
mov dword [esi + 0xa5bc], eax
jne 0x411f89
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov ecx, eax
jle 0x411f59
and ecx, 0xffff
or ecx, 0x80070000
push ecx
push eax
push 0x495fa4
push 0x4927e4
call fcn.0040de80
push str.fail_to_RetriveMD5_at_InternetOpenUrlW
lea edx, [esp + 0x20f4]
push 0x1000
push edx
call fcn.00477bdc
add esp, 0x1c
jmp 0x412093
push str._RetrieveMD5__InternetOpenUrlW_completed
call fcn.0040de80
mov edx, dword [esi + 0xa5bc]
add esp, 4
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x20000013
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x411ff2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov ecx, eax
jle 0x411fd7
and ecx, 0xffff
or ecx, 0x80070000
push ecx
push eax
push 0x496264
push 0x4927e4
call fcn.0040de80
push str.fail_to_RetriveMD5_at_HttpQueryInfoW
jmp 0x411f09
cmp dword [esp + 0x10], 0x194
jne 0x412022
push str._RetrieveMD5__404_File_not_found.
call fcn.0040de80
push str.fail_to_RetriveMD5_at_404
lea ecx, [esp + 0x20e8]
push 0x1000
push ecx
call fcn.00477bdc
add esp, 0x10
jmp 0x412093
mov ecx, dword [esi + 0xa5bc]
lea edx, [esp + 0xc]
push edx
push 0x31
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x412085
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x412085
push 0x495d88
lea edx, [esp + 0x20]
push edx
mov byte [esp + eax + 0x24], bl
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x412066
push 0x32
sub eax, edx
push ebp
add eax, 1
push eax
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebp
push str._RetrieveMD5__MD5_:__s
call fcn.0040de80
add esp, 8
mov eax, dword [esi + 0xa5bc]
cmp eax, ebx
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x4120ad
push eax
call edi
mov dword [esi + 0xa5bc], ebx
mov eax, dword [esi + 0xa58c]
cmp eax, ebx
je 0x4120c0
push eax
call edi
mov dword [esi + 0xa58c], ebx
push str.RetrieveMD5_end
call fcn.0040de80
add esp, 4
mov ecx, 0x492aa0
mov eax, ebp
pop edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4120fb
cmp dx, bx
je 0x4120f7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4120fb
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4120d5
xor eax, eax
jmp 0x412100
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x41211f
push ebp
push str.RetrieveMD5_success:_s
lea ecx, [esp + 0x20e8]
push 0x1000
push ecx
call fcn.00477bdc
add esp, 0x10
lea edx, [esp + 0x20e0]
push edx
call fcn.00401030
mov ecx, dword [esp + 0x40e4]
add esp, 4
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00477bf8
add esp, 0x40d8
ret