Function at 0x599960
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x744af2
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x857060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ebp - 0x27c]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x280]
call fcn.0065a6f0
cmp dword [ebp - 0x27c], 2
jne 0x5999e0
lea ecx, [ebp - 0x230]
call fcn.00650d20
test al, al
je 0x599a34
push 0x15
push str.Adobe_Desktop_Common
jmp 0x599a29
push 0
push 0x2b
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x599a34
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x599a00
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00426d40
push 0x1b
push str.AdobeAdobe_Desktop_Common
lea ecx, [ebp - 0x230]
call fcn.0044a2e0
push 4
xor eax, eax
mov dword [ebp - 0x268], 0
push str.Core
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], 1
lea ecx, [ebp - 0x230]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.00426ce0
push 0xc
xor eax, eax
mov dword [ebp - 0x268], 0
push str.AdobePIM.dll
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], 2
lea ecx, [ebp - 0x230]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.00426ce0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x599c30
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
call fcn.00650c90
lea ecx, [ebp - 0x260]
call fcn.0054e590
push ecx
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x248]
call fcn.00651b80
lea ecx, [ebp - 0x248]
call fcn.00652e10
sub esp, 0xc
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x230]
call fcn.0065b6c0
add esp, 0x10
mov dword [ebp - 0x268], 0
xor eax, eax
mov dword [ebp - 0x264], 7
lea ecx, [ebp - 0x278]
mov word [ebp - 0x278], ax
push 0xc
push str.AdobePIM.dll
call fcn.00426d40
push ecx
lea edx, [ebp - 0x278]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x248]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x278]
call fcn.00426ce0
lea eax, [ebp - 0x248]
push eax
lea ecx, [esi + 0x24]
call fcn.0065e690
test al, al
je 0x599c79
lea ecx, [ebp - 0x260]
call fcn.00426ce0
lea ecx, [ebp - 0x248]
call fcn.00426ce0
lea ecx, [ebp - 0x230]
call fcn.00426ce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006d0965
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x230]
call fcn.0046a0d0
push eax
push str.Could_not_find_Adobe_PIM_DLL_from_path__s
push 0x799430
push 0x799430
push str.WorkFlowHelper
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x1c
lea ecx, [ebp - 0x270]
push 1
call fcn.0056bed0
push 0x853bc4
mov eax, ecx
push eax
call fcn.006e8e84
lea ecx, [ebp - 0x248]
call fcn.0046a0d0
push eax
push str.Failed_while_loading_PIM_at_path:__s
push 0x799430
push 0x799430
push str.WorkFlowHelper
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x1c
lea ecx, [ebp - 0x270]
push 1
call fcn.0056bed0
push 0x853bc4
mov eax, ecx
push eax
call fcn.006e8e84
int3