Function at 0x56e880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73ed7d
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x857060]
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 - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push 0x104
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x56eb5d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x56eb5d
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x56e940
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00426d40
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x248]
push eax
call fcn.00426d40
push 8
xor eax, eax
mov dword [ebp - 0x268], 0
push str.products
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x278]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.00426ce0
push 0xa
xor eax, eax
mov dword [ebp - 0x268], 0
push str.driver.xml
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x278]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.00426ce0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebp - 0x220]
test eax, eax
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x230]
setne bl
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00426d40
push 8
xor eax, eax
mov dword [ebp - 0x268], 0
push str.packages
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x278]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x260]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.00426ce0
push 0x13
xor eax, eax
mov dword [ebp - 0x268], 0
push str.ApplicationInfo.xml
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x278]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x260]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.00426ce0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test bl, bl
je 0x56eb56
test al, al
je 0x56eb56
mov bl, 1
jmp 0x56eb83
mov eax, str.Installer_is_corrupt._Please_re_download_the_installer_and_try_again.
jmp 0x56eb62
mov eax, str.Failed_to_get_current_app_directory.
push eax
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x18
xor bl, bl
lea ecx, [ebp - 0x248]
call fcn.00426ce0
lea ecx, [ebp - 0x260]
call fcn.00426ce0
lea ecx, [ebp - 0x230]
call fcn.00426ce0
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.006d0965
mov esp, ebp
pop ebp
ret