Function at 0x10014650
Capabilities:
Get common file path

Disassembly:
push 0x24c
mov eax, 0x1002df1e
call fcn.10016e35
mov ebx, ecx
mov eax, dword [ebp + 8]
and dword [ebp - 0x228], 0
mov dword [ebp - 0x238], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x228]
push eax
push 0x10033df0
push dword [ebx + 0x44]
call fcn.100213b3
and dword [ebp - 0x22c], 0
mov edi, eax
test edi, edi
js 0x100148dd
push dword [ebx + 0x50]
mov ecx, ebx
call fcn.100213b3
mov esi, eax
mov ecx, ebx
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], esi
push eax
push str.Count
push dword [ebp - 0x228]
call fcn.100213b3
mov edi, eax
test edi, edi
js 0x100146d9
cmp esi, dword [ebp - 0x22c]
mov eax, 0x80004005
cmova edi, eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x224], eax
mov word [ebp - 0x21c], ax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x234], esi
test edi, edi
js 0x100148c5
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.oleaut32.dll_VariantClear]
push 3
pop eax
mov word [ebp - 0x258], ax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x250], eax
sub esp, 0x10
mov byte [ebp - 4], 2
mov edi, esp
lea esi, [ebp - 0x258]
lea eax, [ebp - 0x248]
push 1
movsd dword es:[edi], dword [esi]
push str.Item
push dword [ebp - 0x228]
movsd dword es:[edi], dword [esi]
push eax
push 1
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100213b3
mov esi, dword [ebp - 0x220]
mov edi, eax
add esp, 0x28
test edi, edi
js 0x10014779
cmp dword [ebp - 0x240], 0
cmovne esi, dword [ebp - 0x240]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x234], esi
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
test esi, esi
je 0x10014866
lea eax, [ebp - 0x21c]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
push str._pptExport.emf
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.100213b3
xor eax, eax
lea ecx, [ebp - 0x248]
add esp, 0xc
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x21c]
push eax
call fcn.100213b3
xor eax, eax
mov byte [ebp - 4], 3
push 0x1003116c
lea ecx, [ebp - 0x258]
mov word [ebp - 0x258], ax
call fcn.100213b3
sub esp, 0x10
mov byte [ebp - 4], 4
mov edi, esp
lea esi, [ebp - 0x258]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x248]
push 2
push str.Export
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x220]
push esi
push 0
push 1
push ebx
call fcn.100213b3
mov edi, eax
add esp, 0x38
test edi, edi
js 0x10014848
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.GDI32.dll_GetEnhMetaFileW]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
test edi, edi
js 0x1001487f
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.GDI32.dll_GetEnhMetaFileW]
mov dword [ebp - 0x224], eax
jmp 0x10014885
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x100148ae
push 0
push dword [ebp - 0x238]
mov ecx, ebx
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push eax
call fcn.100129c0
mov edi, eax
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
cmp word [ebp - 0x21c], 0
je 0x100148c5
lea eax, [ebp - 0x21c]
push eax
call fcn.100213b3
pop ecx
mov byte [ebp - 4], 0
test esi, esi
je 0x100148dd
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100304d0]
call esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x100148fb
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100304d0]
call esi
mov eax, edi
call fcn.10016ddf
ret 4