Function at 0x10011bce
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x1002a918
call fcn.10016280
mov ebx, ecx
mov dword [ebp - 0x228], ebx
mov eax, dword [ebp + 8]
and dword [ebp - 0x21c], 0
mov dword [ebp - 0x250], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
push 0x1002f3b0
push dword [ebx + 0x44]
call fcn.10024070
and dword [ebp - 0x224], 0
mov esi, eax
test esi, esi
js 0x10011e26
push dword [ebx + 0x50]
mov ecx, ebx
call fcn.10024070
mov edi, eax
mov ecx, ebx
lea eax, [ebp - 0x224]
push eax
push str.Count
push dword [ebp - 0x21c]
call fcn.10024070
mov esi, eax
test esi, esi
js 0x10011c57
cmp edi, dword [ebp - 0x224]
mov eax, 0x80004005
cmova esi, eax
xor ebx, ebx
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 4], 1
test esi, esi
js 0x10011ce5
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 byte [ebp - 4], 2
mov edi, esp
lea esi, [ebp - 0x23c]
lea eax, [ebp - 0x24c]
push 1
movsd dword es:[edi], dword [esi]
push str.Item
push dword [ebp - 0x21c]
movsd dword es:[edi], dword [esi]
push eax
push 1
push dword [ebp - 0x228]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10024070
mov esi, eax
add esp, 0x28
test esi, esi
js 0x10011cd4
cmp dword [ebp - 0x244], ebx
cmovne ebx, dword [ebp - 0x244]
mov dword [ebp - 0x22c], ebx
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov dword [ebp - 0x220], eax
mov word [ebp - 0x218], ax
test ebx, ebx
je 0x10011e18
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 fcn.10024070
xor eax, eax
lea ecx, [ebp - 0x24c]
add esp, 0xc
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x218]
push eax
call fcn.10024070
push 3
pop eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x23c]
xor eax, eax
push 0x1002f3e0
mov word [ebp - 0x23c], ax
call fcn.10024070
sub esp, 0x10
mov byte [ebp - 4], 4
mov edi, esp
lea esi, [ebp - 0x23c]
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 - 0x24c]
push 2
push str.Export
push ebx
movsd dword es:[edi], dword [esi]
push 0
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x228]
push edi
call fcn.10024070
mov esi, eax
add esp, 0x38
test esi, esi
js 0x10011db4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.GDI32.dll_GetEnhMetaFileW]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x10011e01
push 0
push dword [ebp - 0x250]
mov ecx, edi
push dword [edi + 0x58]
push dword [edi + 0x54]
push eax
call fcn.1000fed5
mov esi, eax
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
cmp word [ebp - 0x218], 0
je 0x10011e18
lea eax, [ebp - 0x218]
push eax
call fcn.10024070
pop ecx
mov byte [ebp - 4], 0
test ebx, ebx
je 0x10011e26
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x10011e3a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.1001622f
ret 4