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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3120
call fcn.00488190
mov eax, dword [0x4c9890]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x55f2]
mov edx, 0x4a1b98
mov ecx, edi
sub ecx, edx
lea ebx, [ebx]
movzx eax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x41dc40
push 0x4a1b98
lea eax, [ebp - 0x20c8]
push 0x822
push eax
call fcn.004146d0
push 0x409
push 0x823
lea eax, [ebp - 0x3110]
push eax
push 0x6e
push dword [esi + 4]
call fcn.00412610
push 0x409
push 0x823
lea eax, [ebp - 0x1080]
push eax
push 0x6f
push dword [esi + 4]
call fcn.00412610
lea eax, [ebp - 0x3110]
push eax
push str.szMD5Parm____s_
call fcn.00413860
cmp byte [esi + 0xd531], 0
mov ecx, 0x4a95b0
mov eax, 0x4a95a8
cmove eax, ecx
push eax
lea eax, [esi + 0x43aa]
push eax
lea eax, [ebp - 0x3110]
push eax
lea eax, [ebp - 0x1080]
push eax
push str._s_sLANGUAGE_splatform_s
push 0x822
push eax
call fcn.004146d0
add esp, 0x58
lea eax, [ebp - 0x1080]
push eax
push str._RetrieveMD5__szMD5QueryUrl____s_
call fcn.00413860
mov ecx, dword [esi + 0xd570]
add esp, 8
call fcn.00411290
push 0
push 0
push 0
push 0
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [esi + 0xd570]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xd570]
cmp dword [eax + 4], 0
jne 0x41dd76
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x41dd3e
mov ecx, eax
jmp 0x41dd47
movzx ecx, ax
or ecx, 0x80070000
push ecx
push eax
push 0x4a9124
push str._s_failed__error___d__0x_x_
call fcn.00413860
push str.fail_to_RetriveMD5_at_InternetOpenW
lea eax, [ebp - 0x20c8]
push 0x822
push eax
call fcn.004146d0
add esp, 0x1c
jmp 0x41df2e
push 4
lea ecx, [ebp - 0x3120]
push ecx
push 0x4d
mov dword [ebp - 0x3120], 1
push dword [eax + 4]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push SysReAllocString
push 0
push 0
lea eax, [ebp - 0x1080]
push eax
mov eax, dword [esi + 0xd570]
push dword [eax + 4]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ecx, dword [esi + 0xd570]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xd570]
cmp dword [eax + 8], 0
jne 0x41ddfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x41ddd8
mov ecx, eax
jmp 0x41dde1
movzx ecx, ax
or ecx, 0x80070000
push ecx
push eax
push 0x4a9754
push str._s_failed__error___d__0x_x_
call fcn.00413860
push str.fail_to_RetriveMD5_at_InternetOpenUrlW
jmp 0x41dd5d
push str._RetrieveMD5__InternetOpenUrlW_completed
call fcn.00413860
add esp, 4
lea eax, [ebp - 0x311c]
push 0
push eax
lea eax, [ebp - 0x3114]
push eax
mov eax, dword [esi + 0xd570]
push 0x20000013
mov dword [ebp - 0x3114], 0
mov dword [ebp - 0x311c], 4
push dword [eax + 8]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x41de77
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x41de53
mov ecx, eax
jmp 0x41de5c
movzx ecx, ax
or ecx, 0x80070000
push ecx
push eax
push 0x4a9fec
push str._s_failed__error___d__0x_x_
call fcn.00413860
push str.fail_to_RetriveMD5_at_HttpQueryInfoW
jmp 0x41dd5d
cmp dword [ebp - 0x3114], 0x194
jne 0x41deab
push str._RetrieveMD5__404_File_not_found.
call fcn.00413860
push str.fail_to_RetriveMD5_at_404
lea eax, [ebp - 0x20c8]
push 0x822
push eax
call fcn.004146d0
add esp, 0x10
jmp 0x41df2e
lea eax, [ebp - 0x3118]
push eax
push 0x31
lea eax, [ebp - 0x38]
push eax
mov eax, dword [esi + 0xd570]
mov dword [ebp - 0x3118], 0
push dword [eax + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41df20
mov eax, dword [ebp - 0x3118]
test eax, eax
je 0x41df20
cmp eax, 0x32
jae 0x41dfc4
mov byte [ebp + eax - 0x38], 0
push 0x4a998c
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
lea ecx, [ebp - 0x38]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41df02
push 0x32
sub ecx, edx
push edi
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push str._RetrieveMD5__MD5_:__s
call fcn.00413860
add esp, 8
mov ecx, dword [esi + 0xd570]
call fcn.00411290
push str.RetrieveMD5_end
call fcn.00413860
add esp, 4
mov ecx, 0x4a1b98
mov eax, edi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41df76
test dx, dx
je 0x41df72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41df76
add eax, 4
add ecx, 4
test dx, dx
jne 0x41df50
xor eax, eax
jmp 0x41df7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41df99
push edi
push str.RetrieveMD5_success:_s
lea eax, [ebp - 0x20c8]
push 0x822
push eax
call fcn.004146d0
add esp, 0x10
lea eax, [ebp - 0x20c8]
push eax
call fcn.004010d0
mov eax, dword [esi + 0xd570]
mov ecx, dword [ebp - 4]
add esp, 4
mov byte [eax + 0xc], 1
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00487c50
mov esp, ebp
pop ebp
ret
call fcn.0048697a
int3