Function at 0x59ab40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x744de1
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x857060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
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
lea esi, [ecx + 0x30]
mov dword [ebp - 4], eax
cmp dword [esi], eax
jne 0x59adcc
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x250]
call fcn.0065a6f0
cmp dword [ebp - 0x24c], 2
jne 0x59ac03
lea ecx, [ebp - 0x230]
call fcn.00650d20
test al, al
je 0x59abd5
push 0x15
push str.Adobe_Desktop_Common
lea ecx, [ebp - 0x230]
call fcn.0044a2e0
mov al, 1
test al, al
jne 0x59ac57
push str.Failed_to_get_current_acc_directory_path.
push 0x799430
push 0x799430
push str.WorkFlowHelper
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x18
push 1
jmp 0x59adf4
push 0
push 0x2b
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x59abd9
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x59ac23
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 5
xor eax, eax
mov dword [ebp - 0x238], 0
push str.HDBox
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00426ce0
push 8
xor eax, eax
mov dword [ebp - 0x238], 0
push str.HDIM.dll
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00426ce0
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.0065e690
test al, al
jne 0x59ad4b
lea ecx, [ebp - 0x230]
call fcn.0046a0d0
push eax
push str.Failed_to_load_HDIM_library_at_path:__s
push 0x799430
push 0x799430
push str.WorkFlowHelper
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x1c
jmp 0x59adef
mov eax, dword [esi]
xor edi, edi
test eax, eax
je 0x59ad63
push str.ccim_startWorkflow
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov eax, dword [esi]
xor ecx, ecx
test eax, eax
je 0x59ad77
push str.ccim_UserAction
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test edi, edi
je 0x59ada5
test ecx, ecx
je 0x59ada5
lea ecx, [ebp - 0x230]
call fcn.00426ce0
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.006d0965
mov esp, ebp
pop ebp
ret
push str.Failed_to_load_startWorkflow_userAction_function_in_hdim.
push 0x799430
push 0x799430
push str.WorkFlowHelper
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x18
push 1
jmp 0x59adf4
push str.HDIM_is_already_loaded.
push 0x799430
push 0x799430
push str.WorkFlowHelper
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x18
push 0x1f5
lea ecx, [ebp - 0x240]
call fcn.0056bed0
push 0x853bc4
mov eax, ecx
push eax
call fcn.006e8e84
int3