Function at 0x427ee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c12cd
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], cx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.005220c0
push 0x24
xor eax, eax
mov dword [ebp - 0x88], 7
push 0x5fa5a8
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], ax
call fcn.00408a10
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00522660
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x88]
cmp eax, 8
jb 0x427fc7
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.00409510
cmp dword [ebp - 0x54], 0
sete al
test al, al
jne 0x4281af
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428003
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
jmp 0x4281af
push 0x5fa5a8
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x14], 0
call fcn.00408810
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.00522a20
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x88]
cmp eax, 8
jb 0x428053
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x88], 7
push ecx
mov ecx, esp
mov word [ebp - 0x9c], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x8c], 0
mov dword [ecx], eax
test eax, eax
je 0x428082
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x24]
call fcn.00524f80
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4280a7
mov eax, dword [ecx]
jmp 0x4280a9
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp + 8]
push edx
push eax
call fcn.00408f10
lea ecx, [ebp - 0x64]
call fcn.00427e00
add esp, 0x18
lea ecx, [ebp - 0xb8]
push str.EsdDirectory
call fcn.00408810
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x24]
call fcn.00524510
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xa4]
cmp eax, 8
jb 0x428112
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00409510
push str._DriverInfo_ProductInfo
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x30], 0
call fcn.00408810
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
call fcn.00522a20
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x428153
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00409510
mov edi, dword [ebp - 0x30]
xor eax, eax
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
push ecx
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x428179
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x42818b
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.00524880
mov byte [ebp - 4], 7
test edi, edi
je 0x4281a1
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 3
test esi, esi
je 0x4281af
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0x2f
xor eax, eax
mov dword [ebp - 0x30], 0
push str._DriverInfo_ProductInfo_Dependencies_Dependency
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], ax
call fcn.00408a10
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x24]
call fcn.00522d90
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x88]
cmp eax, 8
jb 0x428229
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.00409510
mov edi, dword [ebp - 0x68]
xor eax, eax
xor esi, esi
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], ax
mov dword [ebp - 0x84], esi
cmp dword [ebp - 0x30], eax
jle 0x42855a
nop word [eax + eax]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0
push esi
push ecx
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x42827e
mov eax, dword [edi]
push edi
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.005230b0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xf
push eax
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4282ae
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00523bd0
xor ebx, ebx
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x34], ebx
jle 0x428528
nop dword [eax]
mov eax, dword [ebp - 0x2c]
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x28], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4282ed
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
call fcn.005230b0
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
push eax
mov eax, dword [ebp - 0x28]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42832a
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x24]
call fcn.00526f50
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x4c]
push 0xc
push str.EsdDirectory
push dword [ebp - 0x3c]
cmp esi, 8
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.0040ac30
add esp, 0x10
test eax, eax
jne 0x4284df
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], eax
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0x13
push eax
mov eax, dword [ebp - 0x2c]
push ebx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x428386
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x24]
call fcn.00523a90
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4283bb
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
jmp 0x4284c7
mov dword [ebp - 0x18], 0
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4283e3
mov eax, dword [ecx]
jmp 0x4283e5
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp + 8]
push edx
push eax
call fcn.00408f10
lea ecx, [ebp - 0x80]
call fcn.00427e00
add esp, 0x18
mov dword [ebp - 0xa4], 7
xor eax, eax
mov dword [ebp - 0xa8], 0
lea ecx, [ebp - 0xb8]
mov word [ebp - 0xb8], ax
push 0xc
push str.EsdDirectory
call fcn.00408a10
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x24]
call fcn.00524510
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xa4]
cmp eax, 8
jb 0x42846d
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00409510
mov eax, dword [ebp - 0x28]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x428482
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x24]
call fcn.00524f80
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42849f
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov esi, dword [ebp - 0x18]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x4284b1
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.00524880
mov byte [ebp - 4], 0x13
test esi, esi
je 0x4284c7
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x4284dc
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00409510
mov esi, dword [ebp - 0x38]
cmp esi, 8
jb 0x4284f3
lea eax, [esi + 1]
push eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x4c]
call fcn.00409510
xor eax, eax
mov byte [ebp - 4], 0x10
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
test eax, eax
je 0x428518
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc ebx
cmp ebx, dword [ebp - 0x34]
jl 0x4282d0
mov esi, dword [ebp - 0x84]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x428539
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42854a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
mov dword [ebp - 0x84], esi
cmp esi, dword [ebp - 0x30]
jl 0x428260
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x24]
call fcn.00525e20
mov byte [ebp - 4], 3
test edi, edi
je 0x428576
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x50]
cmp eax, 8
jb 0x42858b
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 0x16
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4285b8
mov ecx, esi
xor esi, esi
test ecx, ecx
je 0x4285b8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp - 0x1c], 0
je 0x4285c4
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
je 0x4285ce
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x4285e3
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00409510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret