Function at 0x10010d86
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x10027749
call fcn.10015b1e
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x220], edi
mov eax, dword [ebx + 0x44]
lea ecx, [ebp - 0x220]
push ecx
push str.Slides
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.10016e00
mov esi, eax
mov dword [ebp - 0x228], edi
cmp esi, edi
jl 0x10010fd8
push dword [ebx + 0x50]
mov ecx, ebx
call fcn.10016e00
mov edi, eax
lea eax, [ebp - 0x228]
push eax
push str.Count
push dword [ebp - 0x220]
mov ecx, ebx
call fcn.10016e00
mov esi, eax
test esi, esi
js 0x10010e0a
cmp edi, dword [ebp - 0x228]
jbe 0x10010e0a
mov esi, 0x80004005
and dword [ebp - 0x21c], 0
mov byte [ebp - 4], 1
test esi, esi
js 0x10010e8f
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 3
pop eax
mov word [ebp - 0x23c], ax
mov dword [ebp - 0x234], edi
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x23c]
movsd dword es:[edi], dword [esi]
push 1
push str.Item
push dword [ebp - 0x220]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x24c]
push eax
movsd dword es:[edi], dword [esi]
push 1
push ebx
mov byte [ebp - 4], 2
movsd dword es:[edi], dword [esi]
call fcn.10016e00
mov esi, eax
add esp, 0x28
test esi, esi
js 0x10010e7e
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x10010e7e
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
and dword [ebp - 0x224], 0
xor eax, eax
mov word [ebp - 0x218], ax
cmp dword [ebp - 0x21c], eax
je 0x10010fc4
lea eax, [ebp - 0x218]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
push str._pptExport.emf
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.10016e00
xor eax, eax
mov word [ebp - 0x24c], ax
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10016e00
xor eax, eax
push 0x1002c460
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 3
mov word [ebp - 0x23c], ax
call fcn.10016e00
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x23c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x24c]
movsd dword es:[edi], dword [esi]
push 2
push str.Export
push dword [ebp - 0x21c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push 1
push ebx
mov byte [ebp - 4], 4
movsd dword es:[edi], dword [esi]
call fcn.10016e00
mov esi, eax
add esp, 0x38
test esi, esi
js 0x10010f60
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.GDI32.dll_GetEnhMetaFileW]
mov dword [ebp - 0x224], eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x23c]
push eax
call edi
lea eax, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 1
call edi
xor edi, edi
cmp dword [ebp - 0x224], edi
je 0x10010fae
push edi
push dword [ebp - 0x22c]
mov ecx, ebx
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push dword [ebp - 0x224]
call fcn.1000f095
push dword [ebp - 0x224]
mov esi, eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
cmp word [ebp - 0x218], di
je 0x10010fc4
lea eax, [ebp - 0x218]
push eax
call fcn.10016e00
pop ecx
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
test eax, eax
je 0x10010fd8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x220]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x10010fec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.10015ba1
ret 4