Function at 0x442ca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c38d8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0051df90
test al, al
jne 0x442d23
mov eax, fcn.00440db0
test eax, eax
je 0x442e8d
push str.Failed_to_get_current_app_directory.
jmp 0x442e6f
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408f10
push str.products
lea ecx, [ebp - 0x70]
call fcn.00408810
push ecx
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0051e7b0
mov byte [ebp - 4], 2
add esp, 4
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x442d6c
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00409510
push str.driver.xml
lea ecx, [ebp - 0x70]
call fcn.00408810
push ecx
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0051e7b0
mov byte [ebp - 4], 2
add esp, 4
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x442da5
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00409510
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0xffffffffffffffff
test eax, eax
lea ecx, [ebp - 0x40]
push 0
lea eax, [ebp - 0x58]
setne bl
push eax
call fcn.00408f10
push str.packages
lea ecx, [ebp - 0x70]
call fcn.00408810
push ecx
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0051e7b0
mov byte [ebp - 4], 2
add esp, 4
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x442e05
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00409510
push str.ApplicationInfo.xml
lea ecx, [ebp - 0x70]
call fcn.00408810
push ecx
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.0051e7b0
mov byte [ebp - 4], 2
add esp, 4
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x442e3e
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00409510
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test bl, bl
je 0x442e61
test al, al
je 0x442e61
mov bl, 1
jmp 0x442e8f
mov eax, fcn.00440db0
test eax, eax
je 0x442e8d
push str.Installer_is_corrupt._Please_re_download_the_installer_and_try_again.
push 0x5f8398
push 0x5f8398
push str.ApplicationContext
push 0x5f8398
push 0x32
call fcn.00440db0
add esp, 0x18
xor bl, bl
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x442ea4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x442ecd
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409510
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x442ef6
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00409510
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret