Function at 0x427d30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0d3d
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.005218d0
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.00521e70
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x88]
cmp eax, 8
jb 0x427e17
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 0x427fff
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 0x427e53
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
jmp 0x427fff
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.00522230
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x88]
cmp eax, 8
jb 0x427ea3
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 0x427ed2
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x24]
call fcn.00524790
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x427ef7
mov eax, dword [ecx]
jmp 0x427ef9
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.00427c50
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.00523d20
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xa4]
cmp eax, 8
jb 0x427f62
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.00522230
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x427fa3
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 0x427fc9
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 0x427fdb
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.00524090
mov byte [ebp - 4], 7
test edi, edi
je 0x427ff1
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 3
test esi, esi
je 0x427fff
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.005225a0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x88]
cmp eax, 8
jb 0x428079
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 0x4283aa
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 0x4280ce
mov eax, dword [edi]
push edi
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.005228c0
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 0x4280fe
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.005233e0
xor ebx, ebx
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x34], ebx
jle 0x428378
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 0x42813d
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
call fcn.005228c0
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 0x42817a
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x24]
call fcn.00526750
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 0x42832f
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 0x4281d6
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x24]
call fcn.005232a0
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 0x42820b
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
jmp 0x428317
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 0x428233
mov eax, dword [ecx]
jmp 0x428235
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.00427c50
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.00523d20
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xa4]
cmp eax, 8
jb 0x4282bd
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 0x4282d2
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x24]
call fcn.00524790
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4282ef
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 0x428301
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.00524090
mov byte [ebp - 4], 0x13
test esi, esi
je 0x428317
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x42832c
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00409510
mov esi, dword [ebp - 0x38]
cmp esi, 8
jb 0x428343
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 0x428368
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc ebx
cmp ebx, dword [ebp - 0x34]
jl 0x428120
mov esi, dword [ebp - 0x84]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x428389
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42839a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
mov dword [ebp - 0x84], esi
cmp esi, dword [ebp - 0x30]
jl 0x4280b0
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x24]
call fcn.00525620
mov byte [ebp - 4], 3
test edi, edi
je 0x4283c6
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x50]
cmp eax, 8
jb 0x4283db
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 0x428408
mov ecx, esi
xor esi, esi
test ecx, ecx
je 0x428408
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp - 0x1c], 0
je 0x428414
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
je 0x42841e
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x428433
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.0057608a
mov esp, ebp
pop ebp
ret