Function at 0x493e00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6df90c
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x82f084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.initialize_VulcanWrapper
push 0x75c10c
push 0x75c10c
push str.VulcanWrapperHelper
push str.WAMB
push 0x14
call fcn.0043b2b0
add esp, 0x18
cmp byte [esi + 0x10], 0
je 0x493e83
push str.Already_initialized._return
push 0x75c10c
push 0x75c10c
push str.VulcanWrapperHelper
push str.WAMB
push 0x14
call fcn.0043b2b0
add esp, 0x18
mov al, 1
jmp 0x494179
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ebp - 0x234]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x250]
call fcn.0060d700
cmp dword [ebp - 0x234], 2
jne 0x493ed5
lea ecx, [ebp - 0x230]
call fcn.0060ecf0
test al, al
je 0x493f29
push 0x15
push str.Adobe_Desktop_Common
jmp 0x493f1e
push 0
push 0x2b
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x493f29
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x493ef5
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0042fe00
push 0x1b
push str.AdobeAdobe_Desktop_Common
lea ecx, [ebp - 0x230]
call fcn.0042ff20
push 3
xor eax, eax
mov dword [ebp - 0x23c], 0
push 0x778844
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.0042fe00
push ecx
lea edx, [ebp - 0x24c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.0060f9d0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.0042fd70
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x250]
call fcn.0060d700
test al, al
je 0x493ff5
cmp dword [ebp - 0x234], 2
jne 0x493ff5
push 3
xor eax, eax
mov dword [ebp - 0x23c], 0
push 0x763948
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.0042fe00
push ecx
lea edx, [ebp - 0x24c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.0060f9d0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.0042fd70
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.DLL_SetDllDirectoryW]
mov eax, dword [0x855a54]
test eax, eax
je 0x494020
push 0xc00
call eax
push 0x11
xor eax, eax
mov dword [ebp - 0x23c], 0
push str.VulcanWrapper.dll
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.0042fe00
push ecx
lea edx, [ebp - 0x24c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.0060f9d0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.0042fd70
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.00625850
test al, al
je 0x49413b
mov ecx, dword [esi]
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test ecx, ecx
je 0x4940a3
push str.initializeVulcan
push ecx
call edi
mov dword [esi + 4], eax
test eax, eax
jne 0x4940b1
mov eax, str.Could_not_get_handle_to__s_lib_function_initializeVulcan____
jmp 0x49410d
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x4940c1
push str.closeVulcan
push ecx
call edi
mov dword [esi + 8], eax
test eax, eax
jne 0x4940cf
mov eax, str.Could_not_get_handle_to__s_lib_function_closeVulcan____
jmp 0x49410d
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x4940df
push str.sendMessage
push ecx
call edi
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4940ed
mov eax, str.Could_not_get_handle_to__s_lib_function_sendMessage____
jmp 0x49410d
mov eax, dword [esi + 4]
push 0x493ac0
push str.CCDI
push fcn.0043b2b0
call eax
add esp, 0xc
test eax, eax
je 0x494133
mov eax, str._s_lib_function_initializeVulcan___returned_error_
push str.VulcanWrapper.dll
push eax
push 0x75c10c
push 0x75c10c
push str.VulcanWrapperHelper
push str.WAMB
push 0x32
call fcn.0043b2b0
add esp, 0x1c
jmp 0x49416a
mov byte [esi + 0x10], 1
mov bl, 1
jmp 0x49416c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.VulcanWrapper.dll
push str.Could_not_load_library__s____d_
push 0x75c10c
push 0x75c10c
push str.VulcanWrapperHelper
push str.WAMB
push 0x32
call fcn.0043b2b0
add esp, 0x20
xor bl, bl
lea ecx, [ebp - 0x230]
call fcn.0042fd70
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067d651
mov esp, ebp
pop ebp
ret