Function at 0x41b6b3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x12c
mov dword [ebp - 0x48], 0
mov dword [esp + 4], 0x50
mov dword [esp], 1
call fcn.00461da6
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41b713
mov dword [esp], str.Checking_for_Metalink_in_HTTP_response_n
call fcn.004247e5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x41b734
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x4c]
mov dword [esp], eax
call fcn.00461e26
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [eax], edx
jmp 0x41b74e
mov dword [esp + 4], 0
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.004319b2
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [eax], edx
mov dword [esp + 4], 4
mov dword [esp], 1
call fcn.00461da6
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x48], edx
mov dword [esp + 4], 4
mov dword [esp], 1
call fcn.00461da6
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x40], edx
mov dword [esp + 4], 4
mov dword [esp], 1
call fcn.00461da6
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x44], edx
lea eax, [ebp - 0x98]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x94]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6edf26
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00418067
cmp eax, 0xffffffff
je 0x41bb0e
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0xac], 0
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41b82d
mov dword [esp], str.Processing_Content_Type_header..._n
call fcn.004247e5
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x30], eax
jmp 0x41b83b
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x30], eax
jae 0x41b85a
mov eax, dword [ebp - 0x30]
mov al, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.00443ccc
test al, al
jne 0x41b838
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x34], eax
jmp 0x41b866
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x34], eax
jae 0x41b895
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
cmp al, 0x3b
je 0x41b895
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
cmp al, 0x20
je 0x41b895
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
cmp al, 0xd
je 0x41b895
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
cmp al, 0xa
jne 0x41b863
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x30], eax
jae 0x41b8ab
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x34], eax
jbe 0x41b8ce
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41bb11
mov dword [esp], str.Invalid_Content_Type_header._Ignoring._n
call fcn.004247e5
jmp 0x41bb11
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
sub edx, eax
mov eax, edx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00461e7c
mov dword [ebp - 0x50], eax
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41b911
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], eax
mov dword [esp], str.Content_Type:__s_n
call fcn.004247e5
mov dword [esp + 4], 0x6ee29a
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41b93f
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0x50], 0
jmp 0x41bb12
mov dword [ebp - 0x9c], 0xf423f
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x50], 0
mov al, byte [0x7bdf1c]
test al, al
je 0x41b9d6
lea eax, [ebp - 0x98]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x94]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.Content_Disposition
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00418067
cmp eax, 0xffffffff
je 0x41b9d6
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0xac]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], str.filename
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0043f37d
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xac], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00461e26
mov dword [ebp - 0xa8], eax
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41ba0d
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], eax
mov dword [esp], str.URL_s_n
call fcn.004247e5
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41ba31
mov eax, dword [ebp - 0xa4]
mov dword [esp + 4], eax
mov dword [esp], str.MEDIATYPE_s_n
call fcn.004247e5
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41ba66
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x41ba51
mov eax, dword [ebp - 0xa0]
jmp 0x41ba56
mov eax, 0x6ee2ca
mov dword [esp + 4], eax
mov dword [esp], str.NAME_s_n
call fcn.004247e5
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41ba8a
mov eax, dword [ebp - 0x9c]
mov dword [esp + 4], eax
mov dword [esp], str.PRIORITY_d_n
call fcn.004247e5
mov eax, dword [ebp - 0x20]
add eax, 2
lea edx, [eax*4]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x44]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00461d09
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x20]
shl edx, 2
lea ebx, [eax + edx]
mov dword [esp + 4], 0x10
mov dword [esp], 1
call fcn.00461da6
mov dword [ebx], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x20]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp - 0xa8]
mov dword [eax], edx
mov edx, dword [ebp - 0xa4]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xa0]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x9c]
mov dword [eax + 0xc], edx
inc dword [ebp - 0x20]
jmp 0x41bb12
nop
jmp 0x41bb12
nop
mov dword [ebp - 0x2c], 0
jmp 0x41c55e
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x3c], eax
jmp 0x41bb47
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x98]
dec eax
cmp dword [ebp - 0x3c], eax
jae 0x41bb67
mov eax, dword [ebp - 0x3c]
mov al, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.00443ccc
test al, al
jne 0x41bb44
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x40], eax
jmp 0x41bb73
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x98]
dec eax
cmp dword [ebp - 0x40], eax
jae 0x41bb88
mov eax, dword [ebp - 0x40]
mov al, byte [eax]
cmp al, 0x3e
jne 0x41bb70
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x3c], eax
jae 0x41bbb0
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x40], eax
jae 0x41bbb0
mov eax, dword [ebp - 0x3c]
mov al, byte [eax]
cmp al, 0x3c
jne 0x41bbb0
mov eax, dword [ebp - 0x40]
mov al, byte [eax]
cmp al, 0x3e
je 0x41bbd3
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41c557
mov dword [esp], str.This_is_not_a_valid_Link_header._Ignoring._n
call fcn.004247e5
jmp 0x41c557
inc dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
sub edx, eax
mov eax, edx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0xb0]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x6ee310
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call fcn.0043f37d
xor eax, 1
test al, al
je 0x41bc3b
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41c55a
mov dword [esp], str.No_rel_value_in_Link_header__skipping._n
call fcn.004247e5
jmp 0x41c55a
mov eax, dword [ebp - 0x64]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.00461e7c
mov dword [ebp - 0x38], eax
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41bc71
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], str.URL_s_n
call fcn.004247e5
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41bc95
mov eax, dword [ebp - 0xb0]
mov dword [esp + 4], eax
mov dword [esp], str.rel_s_n
call fcn.004247e5
mov eax, dword [ebp - 0xb0]
mov dword [esp + 4], str.describedby
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41bcd6
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0xb4]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x6ee350
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call fcn.0043f37d
cmp dword [ebp - 0x28], 0
jne 0x41c009
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x41c009
mov eax, dword [ebp - 0xb4]
mov dword [esp + 4], 0x6ee355
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41c009
mov eax, dword [0x7bdf50]
mov dword [ebp - 0x6c], eax
mov al, byte [0x7bdf60]
mov byte [ebp - 0x6d], al
call sub.msvcrt.dll_tmpfile
mov dword [0x7bdf50], eax
mov eax, dword [0x7bdf50]
test eax, eax
je 0x41bfe0
call fcn.0043c5fe
mov dword [ebp - 0x74], eax
mov eax, dword [0x7bdf24]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call fcn.0043c75b
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x74]
mov dword [esp + 8], eax
lea eax, [ebp - 0xb8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0043016a
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x41bdec
mov eax, dword [ebp - 0xb8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.00430870
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], str.When_downloading_signature:_n_s:__s._n
mov dword [esp], 1
call fcn.004246ce
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call fcn.0043c6f4
jmp 0x41bfd1
mov al, byte [0x7bdd44]
mov byte [ebp - 0x79], al
mov byte [0x7bdd44], 0
mov dword [esp + 0x20], 0
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call fcn.0042e279
mov dword [ebp - 0x80], eax
mov al, byte [ebp - 0x79]
mov byte [0x7bdd44], al
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call fcn.00430e1b
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call fcn.0043c6f4
cmp dword [ebp - 0x80], 0x19
jne 0x41bfd1
mov eax, dword [0x7bdf50]
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_fseek
mov eax, dword [0x7bdf50]
mov dword [esp], eax
call sub.msvcrt.dll_ftell
mov dword [ebp - 0x84], eax
mov eax, dword [0x7bdf50]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_fseek
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41bee0
mov eax, dword [ebp - 0x84]
mov dword [esp + 4], eax
mov dword [esp], str.siglen_lu_n
call fcn.004247e5
mov eax, dword [ebp - 0x84]
inc eax
mov dword [esp], eax
call fcn.00461cdf
mov dword [ebp - 0xbc], eax
mov edx, dword [0x7bdf50]
mov eax, dword [ebp - 0xbc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov edx, dword [ebp - 0x84]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_fread
cmp eax, 1
je 0x41bf52
mov dword [esp + 4], str.Unable_to_read_signature_content_from_temporary_file._Skipping._n
mov dword [esp], 1
call fcn.0042439c
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0xbc], 0
jmp 0x41bfd1
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x84]
add eax, edx
mov byte [eax], 0
mov dword [esp], 0x6ee355
call fcn.00461e26
mov dword [ebp - 0xc0], eax
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41bfa3
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str.Signature___s_:_n_s_n
call fcn.004247e5
mov dword [esp], 8
call fcn.00461cdf
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xbc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
inc dword [ebp - 0x28]
mov eax, dword [0x7bdf50]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
jmp 0x41bff4
mov dword [esp + 4], str.Could_not_create_temporary_file._Skipping_signature_download._n
mov dword [esp], 1
call fcn.0042439c
mov al, byte [ebp - 0x6d]
mov byte [0x7bdf60], al
mov eax, dword [ebp - 0x6c]
mov dword [0x7bdf50], eax
jmp 0x41c513
mov eax, dword [ebp - 0xb0]
mov dword [esp + 4], str.duplicate
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41c2d8
lea edx, [ebp - 0xd8]
mov eax, 0
mov ecx, 6
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc8], 0xf423f
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0xdc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x6ee445
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.0043f37d
test al, al
je 0x41c112
mov eax, dword [ebp - 0xdc]
mov dword [esp + 8], 0xa
lea edx, [ebp - 0xe0]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_strtol
mov dword [ebp - 0x90], eax
mov ebx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xdc]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea edx, [ebx + eax]
mov eax, dword [ebp - 0xe0]
cmp edx, eax
jne 0x41c0d0
cmp dword [ebp - 0x90], 0
jle 0x41c0d0
cmp dword [ebp - 0x90], 0xf423f
jle 0x41c0ee
mov dword [esp + 8], 0xf423f
mov dword [esp + 4], str.Invalid_pri_value._Assuming__d._n
mov dword [esp], 1
call fcn.004246ce
jmp 0x41c0fa
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xdc]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0042fcf4
cmp eax, 1
je 0x41c147
cmp eax, 1
jb 0x41c133
cmp eax, 2
je 0x41c16f
cmp eax, 3
je 0x41c15b
jmp 0x41c183
mov dword [esp], 0x6ee46d
call fcn.00461e26
mov dword [ebp - 0xd4], eax
jmp 0x41c1a4
mov dword [esp], 0x6ee472
call fcn.00461e26
mov dword [ebp - 0xd4], eax
jmp 0x41c1a4
mov dword [esp], 0x6ee478
call fcn.00461e26
mov dword [ebp - 0xd4], eax
jmp 0x41c1a4
mov dword [esp], 0x6ee47d
call fcn.00461e26
mov dword [ebp - 0xd4], eax
jmp 0x41c1a4
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41c1a4
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], str.Unsupported_url_scheme_in__s._Skipping_resource._n
call fcn.004247e5
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x41c513
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41c1d6
mov eax, dword [ebp - 0xd4]
mov dword [esp + 4], eax
mov dword [esp], str.TYPE_s_n
call fcn.004247e5
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0xd8]
add edx, 8
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x6ee4bf
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.0043f37d
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], str.pref
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.0043f50d
test al, al
je 0x41c25f
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41c255
mov dword [esp], str.This_resource_has_preference_n
call fcn.004247e5
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp - 0x1c]
add eax, 2
lea edx, [eax*4]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x40]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00461d09
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x1c]
shl edx, 2
lea ebx, [eax + edx]
mov dword [esp + 4], 0x18
mov dword [esp], 1
call fcn.00461da6
mov dword [ebx], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x1c]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov ebx, eax
lea eax, [ebp - 0xd8]
mov edx, 6
mov edi, ebx
mov esi, eax
mov ecx, edx
rep movsd dword es:[edi], dword [esi]
inc dword [ebp - 0x1c]
jmp 0x41c513
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x41c4f9
mov eax, dword [ebp - 0xb4]
mov dword [esp + 4], 0x6ee29a
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41c4f9
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe4], 0xf423f
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0xf4]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x6ee445
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.0043f37d
test al, al
je 0x41c403
mov eax, dword [ebp - 0xf4]
mov dword [esp + 8], 0xa
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_strtol
mov dword [ebp - 0x8c], eax
mov ebx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea edx, [ebx + eax]
mov eax, dword [ebp - 0xf8]
cmp edx, eax
jne 0x41c3c1
cmp dword [ebp - 0x8c], 0
jle 0x41c3c1
cmp dword [ebp - 0x8c], 0xf423f
jle 0x41c3df
mov dword [esp + 8], 0xf423f
mov dword [esp + 4], str.Invalid_pri_value._Assuming__d._n
mov dword [esp], 1
call fcn.004246ce
jmp 0x41c3eb
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call fcn.00461e26
mov dword [ebp - 0xec], eax
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41c43b
mov eax, dword [ebp - 0xec]
mov dword [esp + 4], eax
mov dword [esp], str.MEDIATYPE_s_n
call fcn.004247e5
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0xf0]
add edx, 8
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x6ee4e6
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.0043f37d
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x20]
add eax, 2
lea edx, [eax*4]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x44]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00461d09
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x20]
shl edx, 2
lea ebx, [eax + edx]
mov dword [esp + 4], 0x10
mov dword [esp], 1
call fcn.00461da6
mov dword [ebx], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x20]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp - 0xf0]
mov dword [eax], edx
mov edx, dword [ebp - 0xec]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xe8]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0xe4]
mov dword [eax + 0xc], edx
inc dword [ebp - 0x20]
jmp 0x41c513
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41c513
mov dword [esp], str.This_link_header_was_not_used_for_Metalink_n
call fcn.004247e5
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0xb0], 0
jmp 0x41c55b
nop
jmp 0x41c55b
nop
inc dword [ebp - 0x2c]
lea eax, [ebp - 0x98]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Link
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00418067
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x41bb1e
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x1c]
shl edx, 2
add eax, edx
mov dword [eax], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x20]
shl edx, 2
add eax, edx
mov dword [eax], 0
cmp dword [ebp - 0x1c], 0
jne 0x41c5f0
cmp dword [ebp - 0x20], 0
jne 0x41c5f0
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x41c927
mov dword [esp], str.No_valid_metalink_references_found._n
call fcn.004247e5
jmp 0x41c927
mov dword [ebp - 0x2c], 0
jmp 0x41c7be
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x44], eax
jmp 0x41c785
mov eax, dword [ebp - 0x100]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov eax, edx
add eax, eax
add eax, edx
shr eax, 2
inc eax
lea edx, [eax + 0xf]
mov eax, 0x10
dec eax
add eax, edx
mov esi, 0x10
mov edx, 0
div esi
imul eax, eax, 0x10
call fcn.006b7700
sub esp, eax
lea eax, [esp + 0x24]
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x58]
mov eax, edx
add eax, eax
add eax, edx
shr eax, 2
lea edx, [eax + 1]
mov eax, dword [ebp - 0x100]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0043ad7d
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jns 0x41c6bf
mov eax, dword [ebp - 0xfc]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x100]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0x100], 0
jmp 0x41c782
mov eax, dword [ebp - 0x24]
add eax, 2
lea edx, [eax*4]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00461d09
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x48], edx
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x24]
shl edx, 2
lea ebx, [eax + edx]
mov dword [esp], 8
call fcn.00461cdf
mov dword [ebx], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x24]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp - 0xfc]
mov dword [eax], edx
mov eax, dword [ebp - 0x60]
add eax, eax
lea edx, [eax + 1]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x48]
mov ecx, dword [ebp - 0x24]
shl ecx, 2
add eax, ecx
mov ebx, dword [eax]
mov dword [esp], edx
call fcn.00461cdf
mov dword [ebx + 4], eax
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x48]
mov ecx, dword [ebp - 0x24]
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0043b674
mov eax, dword [ebp - 0x100]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0x100], 0
inc dword [ebp - 0x24]
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x100]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0xfc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.0043f5fa
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x41c60a
inc dword [ebp - 0x2c]
lea eax, [ebp - 0x98]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Digest
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00418067
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x41c5fc
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x24]
shl edx, 2
add eax, edx
mov dword [eax], 0
cmp dword [ebp - 0x1c], 0
je 0x41c832
cmp dword [ebp - 0x24], 0
jne 0x41c832
mov dword [esp + 4], str.Could_not_find_acceptable_digest_for_Metalink_resources._nIgnoring_them._n
mov dword [esp], 0
call fcn.0042439c
jmp 0x41c928
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x40]
mov dword [esp + 0xc], 0x43f275
mov dword [esp + 8], 4
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0043b40b
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x44]
mov dword [esp + 0xc], 0x43f33e
mov dword [esp + 8], 4
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0043b40b
mov dword [ebp - 0x2c], 0
jmp 0x41c8b7
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x2c]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x40]
mov ecx, dword [ebp - 0x2c]
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
mov ecx, 0xf4240
sub ecx, edx
mov edx, ecx
mov dword [eax + 0xc], edx
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x1c]
jl 0x41c885
mov dword [esp + 4], 0x24
mov dword [esp], 1
call fcn.00461da6
mov dword [ebp - 0x48], eax
mov dword [esp], 8
call fcn.00461cdf
mov edx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x4c]
mov dword [eax], edx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x18]
add eax, 4
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00461e26
mov edx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x48]
mov dword [eax], 4
mov eax, dword [ebp - 0x48]
jmp 0x41c94b
nop
cmp dword [ebp - 0x48], 0
je 0x41c93b
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.004c3e30
jmp 0x41c946
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.004c3c60
mov eax, 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret