Function at 0x47de60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b65ac
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x7e500c]
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 0x71a27c
push 0x71a27c
push str.VulcanWrapperHelper
push str.WAMB
push 0x14
call fcn.00432560
add esp, 0x18
cmp byte [esi + 0x10], 0
je 0x47dee3
push str.Already_initialized._return
push 0x71a27c
push 0x71a27c
push str.VulcanWrapperHelper
push str.WAMB
push 0x14
call fcn.00432560
add esp, 0x18
mov al, 1
jmp 0x47e1d9
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.005c9eb0
cmp dword [ebp - 0x234], 2
jne 0x47df35
lea ecx, [ebp - 0x230]
call fcn.005cb4a0
test al, al
je 0x47df89
push 0x15
push str.Adobe_Desktop_Common
jmp 0x47df7e
push 0
push 0x2b
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x47df89
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47df55
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004271d0
push 0x1b
push str.AdobeAdobe_Desktop_Common
lea ecx, [ebp - 0x230]
call fcn.004272f0
push 3
xor eax, eax
mov dword [ebp - 0x23c], 0
push 0x732af8
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.004271d0
push ecx
lea edx, [ebp - 0x24c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.00427170
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x250]
call fcn.005c9eb0
test al, al
je 0x47e055
cmp dword [ebp - 0x234], 2
jne 0x47e055
push 3
xor eax, eax
mov dword [ebp - 0x23c], 0
push 0x721578
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.004271d0
push ecx
lea edx, [ebp - 0x24c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.00427170
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 [0x807684]
test eax, eax
je 0x47e080
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.004271d0
push ecx
lea edx, [ebp - 0x24c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.00427170
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.005e6c10
test al, al
je 0x47e19b
mov ecx, dword [esi]
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test ecx, ecx
je 0x47e103
push str.initializeVulcan
push ecx
call edi
mov dword [esi + 4], eax
test eax, eax
jne 0x47e111
mov eax, str.Could_not_get_handle_to__s_lib_function_initializeVulcan____
jmp 0x47e16d
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x47e121
push str.closeVulcan
push ecx
call edi
mov dword [esi + 8], eax
test eax, eax
jne 0x47e12f
mov eax, str.Could_not_get_handle_to__s_lib_function_closeVulcan____
jmp 0x47e16d
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x47e13f
push str.sendMessage
push ecx
call edi
mov dword [esi + 0xc], eax
test eax, eax
jne 0x47e14d
mov eax, str.Could_not_get_handle_to__s_lib_function_sendMessage____
jmp 0x47e16d
mov eax, dword [esi + 4]
push 0x47db10
push str.CCDI
push fcn.00432560
call eax
add esp, 0xc
test eax, eax
je 0x47e193
mov eax, str._s_lib_function_initializeVulcan___returned_error_
push str.VulcanWrapper.dll
push eax
push 0x71a27c
push 0x71a27c
push str.VulcanWrapperHelper
push str.WAMB
push 0x32
call fcn.00432560
add esp, 0x1c
jmp 0x47e1ca
mov byte [esi + 0x10], 1
mov bl, 1
jmp 0x47e1cc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.VulcanWrapper.dll
push str.Could_not_load_library__s____d_
push 0x71a27c
push 0x71a27c
push str.VulcanWrapperHelper
push str.WAMB
push 0x32
call fcn.00432560
add esp, 0x20
xor bl, bl
lea ecx, [ebp - 0x230]
call fcn.00427170
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.00650ddc
mov esp, ebp
pop ebp
ret