Function at 0x10014800
Capabilities:
Get common file path

Disassembly:
push 0x24c
mov eax, 0x1002d619
call fcn.10017005
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 0x10032df0
push dword [ebx + 0x44]
call fcn.1000a94b
and dword [ebp - 0x22c], 0
mov edi, eax
test edi, edi
js 0x10014a8d
push dword [ebx + 0x50]
mov ecx, ebx
call fcn.1000a94b
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.1000a94b
mov edi, eax
test edi, edi
js 0x10014889
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 0x10014a75
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.1000a94b
mov esi, dword [ebp - 0x220]
mov edi, eax
add esp, 0x28
test edi, edi
js 0x10014929
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 0x10014a16
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.1000a94b
xor eax, eax
lea ecx, [ebp - 0x248]
add esp, 0xc
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x21c]
push eax
call fcn.1000a94b
xor eax, eax
mov byte [ebp - 4], 3
push 0x1003016c
lea ecx, [ebp - 0x258]
mov word [ebp - 0x258], ax
call fcn.1000a94b
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.1000a94b
mov edi, eax
add esp, 0x38
test edi, edi
js 0x100149f8
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 0x10014a2f
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.GDI32.dll_GetEnhMetaFileW]
mov dword [ebp - 0x224], eax
jmp 0x10014a35
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x10014a5e
push 0
push dword [ebp - 0x238]
mov ecx, ebx
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push eax
call fcn.10012b62
mov edi, eax
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
cmp word [ebp - 0x21c], 0
je 0x10014a75
lea eax, [ebp - 0x21c]
push eax
call fcn.1000a94b
pop ecx
mov byte [ebp - 4], 0
test esi, esi
je 0x10014a8d
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1002f4d0]
call esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x10014aab
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1002f4d0]
call esi
mov eax, edi
call fcn.10016faf
ret 4