Function at 0x10011d7e
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x1002cdcf
call fcn.10014f28
mov ebx, ecx
mov eax, dword [ebp + 8]
and dword [ebp - 0x224], 0
mov dword [ebp - 0x230], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x224]
push eax
push 0x10032368
push dword [ebx + 0x44]
call main
and dword [ebp - 0x228], 0
mov edi, eax
test edi, edi
js 0x10011fee
push dword [ebx + 0x50]
mov ecx, ebx
call main
mov esi, eax
mov ecx, ebx
lea eax, [ebp - 0x228]
mov dword [ebp - 0x21c], esi
push eax
push str.Count
push dword [ebp - 0x224]
call main
mov edi, eax
test edi, edi
js 0x10011e07
cmp esi, dword [ebp - 0x228]
mov eax, 0x80004005
cmova edi, eax
xor esi, esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x22c], esi
mov byte [ebp - 4], 1
test edi, edi
js 0x10011ead
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 3
pop eax
mov word [ebp - 0x250], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x248], eax
sub esp, 0x10
mov byte [ebp - 4], 2
mov edi, esp
lea esi, [ebp - 0x250]
lea eax, [ebp - 0x240]
push 1
movsd dword es:[edi], dword [esi]
push str.Item
push dword [ebp - 0x224]
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 main
mov esi, dword [ebp - 0x220]
mov edi, eax
add esp, 0x28
test edi, edi
js 0x10011e9c
cmp dword [ebp - 0x238], 0
cmovne esi, dword [ebp - 0x238]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x22c], esi
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov dword [ebp - 0x21c], eax
mov word [ebp - 0x218], ax
test esi, esi
je 0x10011fe0
lea eax, [ebp - 0x218]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
push str._pptExport.emf
lea eax, [ebp - 0x218]
push esi
push eax
call main
xor eax, eax
lea ecx, [ebp - 0x240]
add esp, 0xc
mov word [ebp - 0x240], ax
lea eax, [ebp - 0x218]
push eax
call main
push 3
pop eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x250]
xor eax, eax
push 0x10032398
mov word [ebp - 0x250], ax
call main
sub esp, 0x10
mov byte [ebp - 4], 4
mov edi, esp
lea esi, [ebp - 0x250]
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 - 0x240]
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 main
mov edi, eax
add esp, 0x38
test edi, edi
js 0x10011f7c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.GDI32.dll_GetEnhMetaFileW]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x10011fc9
push 0
push dword [ebp - 0x230]
mov ecx, ebx
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push eax
call fcn.10010043
mov edi, eax
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
cmp word [ebp - 0x218], 0
je 0x10011fe0
lea eax, [ebp - 0x218]
push eax
call main
pop ecx
mov byte [ebp - 4], 0
test esi, esi
je 0x10011fee
mov eax, dword [esi]
push esi
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x10012002
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
call fcn.10014ed2
ret 4