Function at 0x11ca33e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x11f9e857
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
mov esi, ecx
xor ebp, ebp
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x28], ebp
call fcn.11e7eae0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x11ca3802
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, 0x1212b5c0
call fcn.11daa6c0
test eax, eax
je 0x11ca3479
lea edx, [esp + 0x18]
push edi
push edx
mov ecx, 0x1212b5c0
call fcn.11daa7c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x30], 2
mov eax, dword [eax - 8]
mov edx, dword [ecx - 8]
cmp eax, edx
jg 0x11ca37c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.11e7f280
push ebx
push 0x12119948
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebp
call fcn.11e7eae0
mov ebx, dword [esp + 0x44]
mov byte [esp + 0x34], 3
cmp ebx, ebp
je 0x11ca34d6
cmp dword [ebx], 0x10
jb 0x11ca34d6
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
and eax, 1
push ebp
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, esi
call fcn.11ca4680
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 4
call fcn.11e7f410
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 3
call fcn.11e7f280
push 0x12119948
lea ecx, [esp + 0x24]
call fcn.11e7eae0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x34], 5
push eax
add esi, 0x54
mov ebp, eax
call fcn.11e84b40
xor edx, edx
div dword [esi + 4]
mov eax, dword [esi]
test eax, eax
je 0x11ca3525
mov edi, dword [eax + edx*4]
test edi, edi
je 0x11ca3525
mov ecx, dword [edi + 8]
push ebp
push ecx
call fcn.11e67e01
add esp, 8
test eax, eax
je 0x11ca3628
mov edi, dword [edi]
test edi, edi
jne 0x11ca350a
lea edx, [esp + 0x18]
push edx
call fcn.11e13bd0
add esp, 4
push 0x12119948
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 6
call fcn.11e7eae0
mov bl, 7
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call fcn.11e80430
cmp eax, 0xffffffff
je 0x11ca3587
inc eax
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.11e81570
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 8
call fcn.11e7f410
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call fcn.11e7f280
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x11ca35d5
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x11ca35a9
push eax
lea ecx, [esp + 0x44]
call fcn.11e80460
cmp eax, 0xffffffff
jne 0x11ca35d5
mov ecx, 0x1212b458
call fcn.11df5040
test eax, eax
je 0x11ca3749
mov ecx, dword [esp + 0x40]
push str.VisioDocument
push ecx
call fcn.11e67d22
add esp, 8
test eax, eax
jne 0x11ca3749
lea edx, [esp + 0x18]
lea ecx, [esp + 0x40]
push edx
call fcn.11e7f410
mov eax, dword [esp + 0x10]
push eax
mov dword [esp + 0x28], eax
mov ebp, eax
call fcn.11e84b40
xor edx, edx
div dword [esi + 4]
mov eax, dword [esi]
test eax, eax
mov ebx, edx
je 0x11ca36a3
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x11ca36a3
mov eax, dword [edi + 8]
push ebp
push eax
call fcn.11e67e01
add esp, 8
test eax, eax
je 0x11ca369f
mov edi, dword [edi]
test edi, edi
jne 0x11ca360f
jmp 0x11ca36a3
test edi, edi
je 0x11ca3525
add edi, 0xc
lea ecx, [esp + 0x20]
push edi
call fcn.11e7f410
lea edx, [esp + 0x20]
lea ecx, [esp + 0x40]
push edx
call fcn.11e7f410
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x11ca3664
test ebx, ebx
je 0x11ca3664
cmp dword [ebx], 0x10
jb 0x11ca3664
mov eax, dword [ebx + 4]
or al, 1
mov dword [ebx + 4], eax
mov eax, dword [0x12133f80]
test eax, eax
je 0x11ca37a1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, 0x1212b458
call fcn.11ec4a10
push eax
push str.__s__CCurrentFileMgr::GetEmbedFilePath___s_InMap__s_
push str.CurrentFileMgr
push 1
call fcn.11ca5810
add esp, 0x18
jmp 0x11ca37a1
test edi, edi
jne 0x11ca36fb
cmp dword [esi], 0
jne 0x11ca36d6
mov ebp, dword [esi + 4]
lea edi, [ebp*4]
push edi
call fcn.11e679bc
mov edx, eax
mov ecx, edi
mov dword [esi], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 4], ebp
mov ecx, esi
call fcn.11ca5710
mov edi, eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [edi + 8]
mov dword [edi + 4], ebx
call fcn.11e7f500
mov ecx, dword [esi]
mov edx, dword [ecx + ebx*4]
mov dword [edi], edx
mov eax, dword [esi]
mov dword [eax + ebx*4], edi
lea ecx, [esp + 0x40]
push ecx
lea ecx, [edi + 0xc]
call fcn.11e7f410
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x11ca3721
mov eax, dword [esp + 0x44]
test eax, eax
je 0x11ca3721
cmp dword [eax], 0x10
jb 0x11ca3721
or dword [eax + 4], 1
mov eax, dword [0x12133f80]
test eax, eax
je 0x11ca3785
mov ecx, 0x1212b458
call fcn.11ec4a10
push eax
push str.__s__CCurrentFileMgr::GetEmbedFilePath_Add_Map
push str.CurrentFileMgr
push 1
call fcn.11ca5810
add esp, 0x10
mov eax, dword [0x12133f80]
test eax, eax
je 0x11ca3785
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
mov ecx, 0x1212b458
call fcn.11ec4a10
push eax
push str.__s__CCurrentFileMgr::GetEmbedFilePath_Current__s__Caption__s__Path__s__Embedding__d_
push str.CurrentFileMgr
push 1
call fcn.11ca5810
add esp, 0x20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 6
call fcn.11e7f280
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 5
call fcn.11e7f280
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 3
call fcn.11e7f280
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call fcn.11e7f280
pop ebx
jmp 0x11ca3802
lea eax, [esp + 0x18]
lea ecx, [esp + 0x3c]
push eax
call fcn.11e7f410
cmp dword [0x12133f80], ebp
je 0x11ca37f4
mov ecx, dword [esp + 0x3c]
push ecx
push 0x683
push str.CCurrentFileMgr::GetEmbedFilePath_Line__d____s_
push str.CurrentFileMgr
push 1
call fcn.11ca5810
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.11e7f280
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.11e7e880
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call fcn.11e7f280
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc