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

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x24]
push edi
push ecx
push str.RunFirstInstall__AfterReboot:__d
push 0x80
call fcn.004047f0
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x24]
add esp, 0xc
xor edi, edi
test ecx, ecx
jne 0x4262db
mov ecx, eax
mov edx, dword [ecx + 0xf4]
mov ecx, dword [ecx + 0xd0]
lea edi, [ecx + edx*2]
push ebx
mov ebx, dword [eax + 0xd0]
mov eax, dword [esi]
test eax, eax
je 0x42630b
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42630b
mov eax, dword [esi]
lea edx, [ebx + edi + 1]
push edx
push 0x3e9
push 0x1400
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x24]
test ecx, ecx
mov edi, 1
pop ebx
jne 0x426616
mov ecx, dword [eax + 0x188]
test ecx, ecx
jne 0x426334
mov ecx, esi
call fcn.00422c70
test eax, eax
je 0x42636a
push edi
mov ecx, esi
call fcn.00424050
mov ecx, dword [esi + 8]
mov dword [ecx + 0x194], eax
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x194]
test eax, eax
je 0x42636a
push str.Install_RSD_Failed_
push 0x80
call fcn.004047f0
add esp, 8
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [edx + 0x58]
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
mov eax, dword [esi + 8]
push edi
add eax, 0xec
push eax
mov ecx, esi
call fcn.00423b50
mov ecx, dword [esi + 8]
mov dword [ecx + 0x194], eax
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x194]
test eax, eax
je 0x4263be
mov eax, edx
mov ecx, dword [eax + 0x194]
push ecx
push str.CheckComponentList_Failed__Error_Code:_0x_08X
push 4
call fcn.004047f0
add esp, 0xc
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [esi + 8]
add edx, 0xec
push edx
mov ecx, esi
call fcn.00423fa0
mov ecx, dword [esi + 8]
mov dword [ecx + 0x194], eax
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x194]
test eax, eax
je 0x42640a
mov eax, edx
mov ecx, dword [eax + 0x194]
push ecx
push str.BackUpComponentList_Failed__Error_Code:_0x_08X
push 4
call fcn.004047f0
add esp, 0xc
mov ecx, esi
call fcn.004260e0
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esi + 0x10]
call fcn.00406eb0
mov edx, dword [esi + 8]
mov dword [edx + 0x194], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x194]
test ecx, ecx
je 0x426451
mov ecx, eax
mov eax, dword [ecx + 0x194]
cmp eax, edi
je 0x426451
push eax
push str.Product_PreHandle_Failed__Error_Code:_0x_08X
push 4
call fcn.004047f0
add esp, 0xc
mov ecx, esi
call fcn.004260e0
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [esi + 8]
cmp dword [edx + 0x194], edi
jne 0x426477
push str.Product_PreHandle_Need_Reboot
push 0x80
call fcn.004047f0
mov eax, dword [esi + 8]
add esp, 8
mov dword [eax + 0x174], edi
push edi
mov ecx, esi
call fcn.00423570
push edi
mov ecx, esi
call fcn.00423010
mov ecx, dword [esi + 8]
add ecx, 0xc8
push ecx
mov ecx, esi
call fcn.00420a60
mov edx, dword [esi + 8]
mov dword [edx + 0x194], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x194]
test ecx, ecx
je 0x4264d7
mov ecx, eax
mov eax, dword [ecx + 0x194]
cmp eax, edi
je 0x4264d7
push eax
push str.PreHandleComponentList_Failed__Error_Code:_0x_08X
push 4
call fcn.004047f0
add esp, 0xc
mov ecx, esi
call fcn.004260e0
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 8]
cmp dword [eax + 0x194], edi
jne 0x4264e8
mov dword [eax + 0x174], edi
mov eax, dword [esi + 8]
lea edx, [esp + 8]
push edx
push edi
add eax, 0xc8
push eax
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.004249d0
mov ecx, dword [esi + 8]
mov dword [ecx + 0x194], eax
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x194]
test eax, eax
je 0x426545
mov eax, edx
mov eax, dword [eax + 0x194]
cmp eax, edi
je 0x426545
push eax
push str.InstallComponentList_Failed__Error_Code:_0x_08X
push 4
call fcn.004047f0
add esp, 0xc
mov ecx, esi
call fcn.004260e0
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 8]
cmp dword [eax + 0x194], edi
jne 0x426556
mov dword [eax + 0x174], edi
mov ecx, dword [esi + 8]
push edi
push 0
add ecx, 0xc8
push edi
push ecx
mov ecx, esi
call fcn.00420c50
mov eax, dword [esp + 8]
test eax, eax
jne 0x4266eb
mov edx, dword [esi + 8]
add edx, 0xc8
push edx
mov ecx, esi
call fcn.00420b40
mov ecx, dword [esi + 8]
mov dword [ecx + 0x194], eax
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x194]
test eax, eax
je 0x4265b2
mov eax, edx
cmp dword [eax + 0x194], edi
je 0x4265b2
push str.PostHandleComponentList_Failed_
jmp 0x426693
mov eax, dword [esi + 8]
cmp dword [eax + 0x194], edi
jne 0x4265c3
mov dword [eax + 0x174], edi
mov ecx, dword [esi + 0x10]
call fcn.00406ed0
mov ecx, dword [esi + 8]
mov dword [ecx + 0x194], eax
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x194]
test eax, eax
je 0x4265ef
mov eax, edx
cmp dword [eax + 0x194], edi
jne 0x42668e
mov eax, dword [esi + 8]
cmp dword [eax + 0x194], edi
jne 0x426600
mov dword [eax + 0x174], edi
mov ecx, dword [esi + 8]
mov dword [ecx + 0x184], edi
push edi
mov ecx, esi
call fcn.00420e80
jmp 0x4266eb
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x4266eb
add eax, 0xc8
push eax
mov ecx, esi
call fcn.00420b40
mov edx, dword [esi + 8]
mov dword [edx + 0x194], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x194]
test ecx, ecx
je 0x426655
mov ecx, eax
cmp dword [ecx + 0x194], edi
jne 0x4265a8
mov eax, dword [esi + 8]
cmp dword [eax + 0x194], edi
jne 0x426666
mov dword [eax + 0x174], edi
mov ecx, dword [esi + 0x10]
call fcn.00406ed0
mov edx, dword [esi + 8]
mov dword [edx + 0x194], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x194]
test ecx, ecx
je 0x4266aa
mov ecx, eax
cmp dword [ecx + 0x194], edi
je 0x4266aa
push str.Product_PostHandle_Failed_
push 4
call fcn.004047f0
add esp, 8
mov ecx, esi
call fcn.004260e0
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 8]
cmp dword [eax + 0x194], edi
jne 0x4266bb
mov dword [eax + 0x174], edi
mov edx, dword [esi + 8]
mov dword [edx + 0x184], edi
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4266eb
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x12c]
mov ecx, dword [esi + 0x10]
push edx
call fcn.00406f30
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x174]
push ecx
push str.RunFirstInstall_Successfully...NeedReboot:__d
push 0x80
call fcn.004047f0
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ecx
ret