Function at 0x438820
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e7b4f
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x67d070]
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 edi, ecx
xor eax, eax
mov dword [ebp - 0x48], 0
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407550
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0xc
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.products.xml
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00407060
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0049c840
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, 8
jb 0x4388c6
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407b40
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
xor esi, esi
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], esi
sete al
test al, al
jne 0x4389ed
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4389ed
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.004a8220
test al, al
je 0x438958
push str.__Products_Product_DriverXmlPath
lea ecx, [ebp - 0x60]
call fcn.00406e60
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
lea eax, [edi + 0x18]
mov dword [ebp - 0x48], 1
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.004acac0
test al, al
je 0x438958
mov edi, dword [ebp - 0x44]
test edi, edi
jle 0x43895b
mov bl, 1
jmp 0x43895d
mov edi, dword [ebp - 0x44]
xor bl, bl
mov dword [ebp - 4], 3
test byte [ebp - 0x48], 1
je 0x438972
lea ecx, [ebp - 0x60]
call fcn.00406e20
mov eax, fcn.0042c970
test bl, bl
je 0x4389b3
test eax, eax
je 0x4389ae
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Successfully_parsed_products.xml_at__s
push 0x622628
push 0x622628
push str.AsyncProductInstallManager
push str.WAMB
push 0x1e
call fcn.0042c970
add esp, 0x1c
mov esi, dword [ebp - 0x30]
jmp 0x438a27
test eax, eax
je 0x4389e8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Invalid_product.xml_at__s
push 0x622628
push 0x622628
push str.AsyncProductInstallManager
push str.WAMB
push 0x28
call fcn.0042c970
mov esi, dword [ebp - 0x30]
jmp 0x438a22
mov esi, dword [ebp - 0x30]
jmp 0x438a25
mov eax, fcn.0042c970
test eax, eax
je 0x438a25
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Couldnt_find_any_product.xml_at__s
push 0x622628
push 0x622628
push str.AsyncProductInstallManager
push str.WAMB
push 0x1e
call fcn.0042c970
add esp, 0x1c
xor edi, edi
mov byte [ebp - 4], 5
test esi, esi
je 0x438a3d
mov ecx, esi
xor esi, esi
test ecx, ecx
je 0x438a3d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp - 0x2c], 0
je 0x438a49
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
je 0x438a53
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x438a68
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00407b40
mov eax, edi
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.00599c70
mov esp, ebp
pop ebp
ret