Function at 0x468960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8178
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0051d620
test al, al
jne 0x468a11
mov eax, fcn.00440ae0
test eax, eax
je 0x4689ed
push str.Failed_to_get_current_app_directory_path
push 0x5f8398
push 0x5f8398
push 0x606e48
push 0x5f8398
push 0x32
call fcn.00440ae0
add esp, 0x18
push 0x646690
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], vtable.HDBSException.0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 1
push eax
movq qword [ebp - 0x4c], xmm0
call fcn.0058f513
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408f10
push str.resources
lea ecx, [ebp - 0x58]
call fcn.00408810
push ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0051de40
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x468a5a
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409510
push str.AdobePIM.dll
lea ecx, [ebp - 0x58]
call fcn.00408810
push ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0051de40
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x468a93
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
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]
test eax, eax
je 0x468b45
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x468aca
mov eax, dword [ecx]
jmp 0x468acc
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.00408f10
call fcn.0044be30
add esp, 0x18
test al, al
jne 0x468b45
mov eax, fcn.00440ae0
test eax, eax
je 0x468b21
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Sign_check_failed_for_PIM_at_path:__s
push 0x5f8398
push 0x5f8398
push 0x606e48
push 0x5f8398
push 0x32
call fcn.00440ae0
add esp, 0x1c
push 0x646690
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], vtable.HDBSException.0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0x48
push eax
movq qword [ebp - 0x4c], xmm0
call fcn.0058f513
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x20]
call fcn.0052a330
test al, al
jne 0x468ccd
push str.esdSourcePath
lea ecx, [ebp - 0x70]
call fcn.00408810
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
mov ecx, dword [edi + 0xd0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00424c20
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d2b0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x468b9b
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409510
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x468bc8
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00409510
push str.resources
lea ecx, [ebp - 0x70]
call fcn.00408810
push ecx
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0051de40
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x468c01
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00409510
push str.AdobePIM.dll
lea ecx, [ebp - 0x70]
call fcn.00408810
push ecx
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.0051de40
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x468c3a
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00409510
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00408f10
call fcn.0044be30
add esp, 0x18
test al, al
jne 0x468c7c
mov eax, fcn.00440ae0
test eax, eax
je 0x468b21
jmp 0x468af2
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x20]
call fcn.0052a330
test al, al
jne 0x468ccd
mov eax, fcn.00440ae0
test eax, eax
je 0x4689ed
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Failed_while_loading_PIM_at_path:__s
push 0x5f8398
push 0x5f8398
push 0x606e48
push 0x5f8398
push 0x32
call fcn.00440ae0
add esp, 0x1c
jmp 0x4689ed
mov eax, fcn.00440ae0
test eax, eax
je 0x468d05
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Loaded_PIM_successfully_from_path:__s
push 0x5f8398
push 0x5f8398
push 0x606e48
push 0x5f8398
push 0x1e
call fcn.00440ae0
add esp, 0x1c
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x468d1a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x468d43
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057608a
mov esp, ebp
pop ebp
ret