Function at 0x42da80
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x3220]
mov eax, 0x3220
call fcn.004fe1a0
push 0xffffffffffffffff
push 0x520008
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x321c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x3228]
mov dword [ebp - 0x24], eax
mov edi, edx
mov dword [ebp - 0x20], ecx
lea esi, [ebp]
call fcn.0049d8e0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
cmp edi, ebx
jne 0x42db02
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0049d9f0
lea eax, [ebx + 0x57]
jmp 0x42dfa0
push ebx
xor ecx, ecx
call fcn.00493660
add esp, 4
cmp eax, 0x100000
jb 0x42dbc5
push 0x800
push ebx
lea edx, [ebp + 0x81c]
push edx
call fcn.004fd670
mov esi, dword [ebp - 0x20]
push esi
push str.InstallingComponents
push 0x535a74
lea edx, [ebp + 0x81c]
call fcn.00404380
push 0x800
push ebx
lea eax, [ebp + 0x201c]
push eax
call fcn.004fd670
push 0x800
push ebx
lea ecx, [ebp + 0x181c]
push ecx
call fcn.004fd670
push 0x800
push ebx
lea edx, [ebp + 0x101c]
push edx
call fcn.004fd670
push esi
push str.__s__Install_Other_Platform_Driver
mov ecx, 0x649e50
call fcn.004918f0
add esp, 0x44
mov dword [ebp - 0x1c], ebx
push 4
push 4
lea eax, [ebp - 0x1c]
push eax
push str.Is_UniDrv
mov ecx, dword [edi]
push ecx
xor edx, edx
call fcn.004920e0
add esp, 0x14
test eax, eax
jne 0x42dbdb
cmp dword [ebp - 0x1c], ebx
je 0x42dbdb
push esi
push str.__s__is_Uni_Driver_so_it_does_not_support_other_platform_driver
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0049d9f0
xor eax, eax
jmp 0x42dfa0
push 0x800
push ebx
lea edx, [ebp + 0x2a1c]
push edx
call fcn.004fd670
add esp, 0xc
push 1
push 0x800
cmp byte [ebp + 0x322c], bl
je 0x42dc10
lea eax, [ebp + 0x2a1c]
push eax
push str.Inst_Cmd
mov ecx, dword [edi]
push ecx
jmp 0x42dc1f
lea edx, [ebp + 0x2a1c]
push edx
push str.Uninst_Cmd
mov eax, dword [edi]
push eax
xor edx, edx
call fcn.004920e0
mov esi, eax
mov dword [ebp - 0x14], esi
add esp, 0x14
cmp esi, ebx
je 0x42dc57
push str._Install_Other_Platform_Driver__Get_Command_Fail___
mov ecx, esi
mov edx, 0x649e50
call fcn.004917b0
add esp, 4
mov dword [ebp - 0x2c], esi
push 0x5814b0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004fd5a3
lea edx, [ebp + 0x81c]
push edx
push 0x400
lea eax, [ebp + 0x101c]
push eax
lea ecx, [ebp + 0x2a1c]
push ecx
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx + 8]
call fcn.00480760
push 0x800
push ebx
lea eax, [ebp + 0x2a1c]
push eax
call fcn.004fd670
add esp, 0xc
push 1
push 0x800
cmp byte [ebp + 0x18], bl
je 0x42dcae
lea ecx, [ebp + 0x2a1c]
push ecx
push str.Inf_32
mov edx, dword [edi]
push edx
jmp 0x42dcbd
lea eax, [ebp + 0x2a1c]
push eax
push str.Inf_64
mov ecx, dword [edi]
push ecx
xor edx, edx
call fcn.004920e0
mov esi, eax
mov dword [ebp - 0x14], esi
add esp, 0x14
cmp esi, ebx
je 0x42dcf5
push str._Install_Other_Platform_Driver__Get_Inf_Fail___
mov ecx, esi
mov edx, 0x649e50
call fcn.004917b0
add esp, 4
mov dword [ebp - 0x38], esi
push 0x5814b0
lea edx, [ebp - 0x38]
push edx
call fcn.004fd5a3
lea eax, [ebp + 0x81c]
push eax
push 0x400
lea ecx, [ebp + 0x181c]
push ecx
lea edx, [ebp + 0x2a1c]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
call fcn.00480760
lea ecx, [ebp + 0x181c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42dd59
lea edx, [ebp + 0x181c]
push edx
push str.__s__file_not_found___
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
mov dword [ebp - 0x3c], 2
push 0x5814b0
lea eax, [ebp - 0x3c]
push eax
call fcn.004fd5a3
lea ecx, [ebp + 0x181c]
push ecx
push 0x400
lea edx, [ebp + 0x201c]
push edx
call fcn.004fa94e
push 0x53eb18
push 0x400
lea eax, [ebp + 0x201c]
push eax
call fcn.004fad44
add esp, 0x18
cmp byte [ebp + 0x18], bl
je 0x42dda2
push 0x546010
push 0x400
lea ecx, [ebp + 0x201c]
push ecx
jmp 0x42ddb3
push 0x546018
push 0x400
lea edx, [ebp + 0x201c]
push edx
call fcn.004fad44
add esp, 0xc
push 0x53eb18
push 0x400
lea eax, [ebp + 0x201c]
push eax
call fcn.004fad44
push 0x800
push ebx
lea ecx, [ebp + 0x2a1c]
push ecx
call fcn.004fd670
push 1
push 0x800
lea edx, [ebp + 0x2a1c]
push edx
push str.Driver
mov eax, dword [edi]
push eax
xor edx, edx
call fcn.004920e0
add esp, 0x2c
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x42de31
push str._Install_Other_Platform_Driver__Get_Driver_Name_Fail___
mov ecx, esi
mov edx, 0x649e50
call fcn.004917b0
add esp, 4
mov dword [ebp - 0x34], esi
push 0x5814b0
lea ecx, [ebp - 0x34]
push ecx
call fcn.004fd5a3
push 0x200
push ebx
lea edx, [ebp + 0x281c]
push edx
call fcn.004fd670
lea eax, [ebp + 0x2a1c]
push eax
push str._O__s
lea edx, [ebp + 0x281c]
call fcn.00418d80
lea ecx, [ebp + 0x281c]
push ecx
push 0x400
lea edx, [ebp + 0x201c]
push edx
call fcn.004fad44
push 0x53eb18
push 0x400
lea eax, [ebp + 0x201c]
push eax
call fcn.004fad44
add esp, 0x2c
cmp byte [ebp + 0x322c], bl
jne 0x42deac
push 0x54609c
push 0x400
lea ecx, [ebp + 0x201c]
push ecx
call fcn.004fad44
add esp, 0xc
push 4
push 4
lea edx, [ebp - 0x18]
push edx
push str.Wait_Max_Time
mov eax, dword [edi]
push eax
xor edx, edx
call fcn.004920e0
add esp, 0x14
test eax, eax
jne 0x42ded5
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x3e8
jmp 0x42deda
mov eax, 0x927c0
mov dword [ebp - 0x18], eax
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp + 0x201c]
lea ecx, [ebp + 0x101c]
call fcn.00493a40
add esp, 8
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x42df4e
cmp esi, 0x102
jne 0x42df25
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x20]
push eax
push str.__s__Call_Command_Fail______Wait_Time_Out___d_sec_
mov ecx, esi
mov edx, 0x649e50
call fcn.004917b0
add esp, 0xc
jmp 0x42df3d
mov ecx, dword [ebp - 0x20]
push ecx
push str.__s__Call_Command_Fail___
mov ecx, esi
mov edx, 0x649e50
call fcn.004917b0
add esp, 8
mov dword [ebp - 0x30], esi
push 0x5814b0
lea edx, [ebp - 0x30]
push edx
call fcn.004fd5a3
mov dword [ebp - 4], ebx
jmp 0x42df8f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0049d9f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x321c]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x3220
mov esp, ebp
pop ebp
ret 8