Function at 0x4269e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x45301b
push eax
mov eax, 0x1124
mov dword fs:[0], esp
call fcn.00431df0
push ebx
push ebp
push esi
push edi
push str.Checking_the_validity_of_the_downloaded_files...
mov esi, ecx
push 1
push 0x471d20
mov dword [esp + 0x28], esi
call fcn.00401200
mov eax, dword [esi + 0xcc]
add esp, 0xc
mov dword [esp + 0x10], 1
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x18], ecx
je 0x426c79
xor ebx, ebx
jmp 0x426a41
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0xc]
cmp esi, ebx
jne 0x426a4d
mov esi, 0x45561c
mov ebp, dword [ecx + 0x18]
push esi
push str.Checking__s
push 1
push 0x471d20
call fcn.00401200
mov al, byte [0x471b14]
mov ecx, 0x40
mov byte [esp + 0x40], al
xor eax, eax
lea edi, [esp + 0x41]
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
push ebx
stosw word es:[edi], ax
push ecx
push 0x104
push esi
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x426c80
mov al, byte [esp + 0x17]
mov edi, esi
mov byte [esp + 0x20], al
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x24], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], ebx
push ecx
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], ebx
call fcn.00405170
lea ecx, [esp + 0x20]
mov dword [esp + 0x113c], ebx
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00426f60
mov edi, eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov dword [esp + 0x113c], 0xffffffff
je 0x426b16
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x426b0d
cmp al, 0xff
je 0x426b0d
dec al
mov byte [ecx], al
jmp 0x426b16
push ecx
call fcn.00447dfa
add esp, 4
cmp edi, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
jbe 0x426c88
cmp edi, ebp
push esi
je 0x426c49
push str.File_sizes_do_not_match
push 1
push 0x471d20
call fcn.00401200
push str..msi
push esi
call fcn.00432085
add esp, 0x18
test eax, eax
jne 0x426c90
push str..exe
push esi
call fcn.00432085
add esp, 8
test eax, eax
je 0x426b9a
push esi
push str._s_is_an_EXE_or_MSI
push 0x20
push 0x471d20
call fcn.00401200
push esi
call fcn.004207ea
add esp, 0x14
or eax, edx
push esi
je 0x426cad
push str.GetFileVersion___succeeded_on_file__s...continuing
jmp 0x426c4e
push str..dat
push esi
call fcn.00432085
add esp, 8
test eax, eax
jne 0x426bc2
push str..inf
push esi
call fcn.00432085
add esp, 8
test eax, eax
je 0x426c5d
push esi
push str._s_is_a_DAT_or_INF
push 0x20
push 0x471d20
call fcn.00401200
mov dl, byte [0x471b14]
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x145]
mov byte [esp + 0x144], dl
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x148]
push 0x1000
push eax
push 0x471b14
push ebx
push ebx
call fcn.0041f7a7
add esp, 0x28
lea ecx, [esp + 0x134]
push ecx
push str.ICEGetPrivateProfileString___returns_the_following_sections:__s
push 0x20
push 0x471d20
call fcn.00401200
mov al, byte [esp + 0x144]
add esp, 0x10
cmp al, bl
jne 0x426c41
cmp byte [esp + 0x135], bl
je 0x426cb4
push esi
push str.ICEGetPrivateProfileString___returned_a_non_empty_list_for_file__s...continuing
jmp 0x426c4e
push str.Actual_File_Size_of_file__s_matches_the_expected_file_size...continuing
push 1
push 0x471d20
call fcn.00401200
add esp, 0x10
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx]
mov edx, dword [ecx + 0xcc]
cmp eax, edx
mov dword [esp + 0x18], eax
jne 0x426a3d
mov eax, 0x46cc60
jmp 0x426cd2
push esi
push str.FileExists___failed_on_file__s
jmp 0x426cba
push esi
push str.Actual_File_Size_of_file__s_is_not_greater_than_0
jmp 0x426cba
push edi
push ebp
push esi
push str._s_is_an_MSI__but_the_file_sizes_do_not_match__expected_file_size_d__actual_file_size_d_
push 1
push 0x471d20
call fcn.00401200
add esp, 0x18
mov dword [esp + 0x10], ebx
jmp 0x426ccd
push str.GetFileVersion___failed_on_file__s
jmp 0x426cba
push esi
push str.ICEGetPrivateProfileString___returned_an_empty_list_for_file__s
push 1
push 0x471d20
call fcn.00401200
add esp, 0x10
mov dword [esp + 0x10], ebx
mov eax, str.NOT_OK
push eax
push str.Done_checking_the_validity_of_the_downloaded_files...files_are__s
push 1
push 0x471d20
call fcn.00401200
mov ecx, dword [esp + 0x1144]
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret