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

Disassembly:
push 0xffffffffffffffff
push 0x11f9e448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
mov ebp, dword [esp + 0x80]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], edi
je 0x11ca0c11
push ebp
call fcn.11e67d05
add esp, 4
test eax, eax
je 0x11ca0c11
push 2
lea ecx, [esp + 0x34]
call fcn.11e15fa0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x80], edi
call fcn.11e16080
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push ebp
mov byte [esp + 0xa4], 1
call fcn.11ede9a0
add esp, 0x24
mov esi, eax
neg esi
push edi
push edi
sbb esi, esi
push ebp
mov ecx, 0x1212b5c0
neg esi
call fcn.11d7b650
push ebp
mov ebx, eax
call fcn.11cbc4e0
mov edi, eax
mov eax, dword [0x12133f80]
add esp, 4
mov dword [esp + 0x14], edi
test eax, eax
je 0x11ca03ef
push edi
push ebx
push esi
mov ecx, 0x1212b458
call fcn.11ec4a10
push eax
push str.__s__CCurrentFileMgr::UpdateCurrentOpenedDoc_Encrypted__d__FileInSafeDiskSD__d__FileInNetworkShareFolder__d_
push str.CurrentFileMgr
push 1
call fcn.11ca5810
add esp, 0x1c
test esi, esi
jne 0x11ca03ff
test ebx, ebx
jne 0x11ca03ff
test edi, edi
je 0x11ca04d6
lea ecx, [esp + 0x24]
call fcn.11e923e0
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 8
call fcn.11e923e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 9
call fcn.11e923e0
test esi, esi
mov byte [esp + 0x80], 0xa
jne 0x11ca0465
lea eax, [esp + 0x88]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebp
mov ecx, 0x1212b5c0
call fcn.11d70140
mov edi, dword [esp + 0x8c]
mov esi, 1
mov dword [edi], 0
jmp 0x11ca0490
mov edi, dword [esp + 0x8c]
lea edx, [esp + 0x88]
push 0
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push edi
push ebp
mov ecx, 0x1212b028
call fcn.11d0a950
mov esi, eax
mov eax, dword [0x12133f80]
test eax, eax
je 0x11ca04bc
mov edx, dword [edi]
mov ecx, 0x1212b458
push edx
push esi
call fcn.11ec4a10
push eax
push str.__s__CCurrentFileMgr::UpdateCurrentOpenedDoc_ChkRight__d__Error_0x_08X_
push str.CurrentFileMgr
push 1
call fcn.11ca5810
add esp, 0x18
test esi, esi
je 0x11ca04c9
cmp dword [edi], 0
je 0x11ca08e4
mov dword [esp + 0x14], 9
jmp 0x11ca0bb6
push 1
push 0x1212c678
lea ecx, [esp + 0x44]
call fcn.11e8c590
push ebp
mov ecx, 0x1212c698
mov byte [esp + 0x84], 2
call fcn.11e7f500
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
xor esi, esi
mov dword [0x1212c6a8], ecx
mov dword [0x1212c69c], esi
mov dword [0x1212c6a0], esi
mov dword [0x1212c6a4], eax
mov dword [0x1212c6ac], esi
mov dword [0x1212c6b0], esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 1
call fcn.11e8c5f0
mov eax, dword [esp + 0x98]
cmp eax, esi
je 0x11ca0554
mov ecx, dword [esp + 0x20]
push esi
push esi
push eax
call fcn.11ca2de0
lea ecx, [esp + 0x1c]
call fcn.11e923e0
lea edx, [esp + 0x1c]
mov byte [esp + 0x80], 3
push edx
call fcn.11de4300
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.11e925e0
test eax, eax
je 0x11ca0595
lea ecx, [esp + 0x1c]
call fcn.11e928f0
lea eax, [esp + 0x1c]
push eax
call fcn.11de4290
add esp, 4
lea ecx, [esp + 0x18]
call fcn.11e923e0
lea ecx, [esp + 0x18]
push esi
push ecx
mov byte [esp + 0x88], 4
call fcn.11de4210
add esp, 8
lea ecx, [esp + 0x18]
call fcn.11e925e0
test eax, eax
je 0x11ca0618
xor edx, edx
lea eax, [esp + 0x3c]
mov dword [esp + 0x3d], edx
push 1
mov dword [esp + 0x45], edx
push eax
mov dword [esp + 0x4d], edx
push esi
mov dword [esp + 0x55], edx
mov ecx, 0x1212b5c0
mov word [esp + 0x59], dx
mov byte [esp + 0x48], 0
mov byte [esp + 0x5b], dl
call fcn.11d70d90
lea ecx, [esp + 0x18]
call fcn.11e928f0
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.11de4160
add esp, 8
mov dword [esp + 0x14], 3
jmp 0x11ca062b
push esi
mov ecx, 0x1212b5c0
mov dword [esp + 0x18], 4
call fcn.11dab9c0
push esi
mov ecx, 0x1212b5c0
call fcn.11d88cd0
test eax, eax
je 0x11ca08ba
call fcn.11dd84e0
test eax, eax
jne 0x11ca067f
call fcn.11dd8580
test eax, eax
jne 0x11ca067f
push esi
push esi
mov ecx, 0x1212b5c0
call fcn.11d744b0
test eax, eax
jne 0x11ca067f
push esi
mov ecx, 0x1212b5c0
call fcn.11d87b70
test eax, eax
je 0x11ca08ba
cmp dword [0x1212c758], esi
je 0x11ca08ba
lea ecx, [esp + 0x8c]
call fcn.11e923e0
lea ecx, [esp + 0x90]
mov byte [esp + 0x80], 5
call fcn.11e923e0
push ebp
lea ecx, [esp + 0x98]
mov byte [esp + 0x84], 6
xor edi, edi
call fcn.11e7eae0
push ebp
mov byte [esp + 0x84], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x11ca06ec
lea eax, [esp + 0x90]
lea ecx, [esp + 0x8c]
push eax
push ecx
push ebp
mov ecx, 0x1212b5c0
call fcn.11d70140
mov edi, eax
jmp 0x11ca0827
mov ecx, 0x1212b458
call fcn.11df4470
test eax, eax
je 0x11ca07c3
push 0x12024f28
lea ecx, [esp + 0x98]
call fcn.11e83e40
test eax, eax
je 0x11ca072c
push 0x12024f1c
lea ecx, [esp + 0x98]
call fcn.11e83e40
test eax, eax
jne 0x11ca07c3
mov ecx, 0x1212b5c0
mov esi, 1
call fcn.11daa3c0
test eax, eax
jne 0x11ca076c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x11ca076c
mov edx, dword [eax + 0x34]
lea ecx, [esp + 0x8c]
push 0
push ecx
mov eax, dword [edx]
lea edx, [esp + 0x98]
push edx
push eax
call fcn.11de4370
add esp, 0x10
jmp 0x11ca078d
lea eax, [esp + 0x90]
lea ecx, [esp + 0x8c]
push eax
push ecx
push str..doc
mov ecx, 0x1212b5c0
call fcn.11d70140
mov edi, eax
mov eax, dword [0x12133f80]
test eax, eax
je 0x11ca0860
mov edx, dword [esp + 0x94]
mov ecx, 0x1212b458
push edx
call fcn.11ec4a10
push eax
push str.__s__CCurrentFileMgr::UpdateCurrentOpenedDoc_file__s__defaultProp_
push str.CurrentFileMgr
push 1
call fcn.11ca5810
add esp, 0x14
jmp 0x11ca0827
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x38]
test eax, eax
jbe 0x11ca0827
mov eax, dword [ebx + 0x34]
lea ecx, [esp + 0x8c]
push 0
lea edx, [esp + 0x94]
mov eax, dword [eax]
push ecx
push edx
push eax
mov esi, 1
call fcn.11de4370
mov edi, eax
mov eax, dword [0x12133f80]
add esp, 0x10
test eax, eax
je 0x11ca0860
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x38]
mov edx, dword [ecx]
mov ecx, 0x1212b458
push edx
push eax
call fcn.11ec4a10
push eax
push str.__s__CCurrentFileMgr::UpdateCurrentOpenedDoc_GetOpenedEncryptDocNum__lu__m_arrOpenedEncryptDoc_0___s_
push str.CurrentFileMgr
push 4
call fcn.11ca5810
add esp, 0x18
mov eax, dword [0x12133f80]
test eax, eax
je 0x11ca0860
lea ecx, [esp + 0x90]
call fcn.11e925e0
push eax
lea ecx, [esp + 0x90]
call fcn.11e925e0
push eax
push esi
push edi
push str.CCurrentFileMgr::UpdateCurrentOpenedDoc_bGet__d__bEncrypt__d__SecSize__d__FilePolicySize__d_
push str.CurrentFileMgr
push 4
call fcn.11ca5810
add esp, 0x1c
lea eax, [esp + 0x8c]
push 0
lea ecx, [esp + 0x94]
push eax
push ecx
push esi
push ebp
mov ecx, 0x1212b5c0
call fcn.11dabdf0
lea ecx, [esp + 0x94]
mov byte [esp + 0x80], 6
call fcn.11e7f280
lea ecx, [esp + 0x90]
mov byte [esp + 0x80], 5
call fcn.11e92540
lea ecx, [esp + 0x8c]
mov byte [esp + 0x80], 4
call fcn.11e92540
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 1
mov byte [esp + 0x80], 3
call fcn.11e92540
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x1c]
jmp 0x11ca0be7
lea ecx, [esp + 0x1c]
call fcn.11e923e0
xor edx, edx
mov byte [esp + 0x80], 0xb
mov dword [esp + 0x51], edx
lea eax, [esp + 0x50]
mov dword [esp + 0x55], edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x59], edx
push eax
mov dword [esp + 0x61], edx
push ecx
mov word [esp + 0x69], dx
mov byte [esp + 0x58], 0
mov byte [esp + 0x6b], dl
call fcn.11de4210
xor edx, edx
add esp, 8
mov dword [esp + 0x65], edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x69], edx
mov byte [esp + 0x64], 0
mov dword [esp + 0x6d], edx
mov dword [esp + 0x71], edx
mov word [esp + 0x75], dx
mov byte [esp + 0x77], dl
call fcn.11e925e0
cmp eax, 0x14
jb 0x11ca0969
lea ecx, [esp + 0x24]
call fcn.11e92ce0
mov edi, eax
mov dword [esp + 0x8c], edi
jmp 0x11ca0976
lea eax, [esp + 0x64]
mov dword [esp + 0x8c], eax
mov edi, eax
mov esi, 1
lea ecx, [esp + 0x3c]
push esi
push 0x1212c678
call fcn.11e8c590
push ebp
mov ecx, 0x1212c698
mov byte [esp + 0x84], 0xc
call fcn.11e7f500
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x14]
mov dword [0x1212c6a4], ecx
mov dword [0x1212c69c], esi
mov dword [0x1212c6a0], esi
mov dword [0x1212c6a8], edx
mov dword [0x1212c6ac], ebx
mov dword [0x1212c6b0], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 0xb
call fcn.11e8c5f0
mov esi, dword [esp + 0x98]
mov dword [esp + 0x18], 0
test esi, esi
je 0x11ca0a1b
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push 1
push esi
mov ecx, ebx
call fcn.11ca2de0
mov eax, dword [edi + 4]
test ah, 8
je 0x11ca0a1f
push esi
mov ecx, ebx
call fcn.11ca3220
jmp 0x11ca0a1f
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
call fcn.11de4290
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.11e925e0
lea ecx, [esp + 0x88]
mov esi, eax
call fcn.11e925e0
cmp esi, eax
jne 0x11ca0acc
lea ecx, [esp + 0x88]
call fcn.11e925e0
lea ecx, [esp + 0x88]
mov esi, eax
call fcn.11e92ce0
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.11e92ce0
mov dword [esp + 0x94], esi
mov esi, eax
mov eax, dword [esp + 0x94]
mov ecx, eax
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x11ca0a8d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x11ca0ac5
mov edi, dword [esp + 0x8c]
mov ecx, 0x14
lea esi, [esp + 0x50]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x11ca0aac
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x11ca0ac5
push eax
mov ecx, 0x1212b5c0
mov dword [esp + 0x18], 8
call fcn.11dab9c0
jmp 0x11ca0b1d
mov edi, dword [esp + 0x8c]
push 1
push edi
push 0
mov ecx, 0x1212b5c0
mov dword [esp + 0x20], 7
call fcn.11d70d90
mov eax, dword [0x12133f80]
test eax, eax
je 0x11ca0b0c
push ebp
mov ecx, 0x1212b458
call fcn.11ec4a10
push eax
push str.__s__CSDGlobal::m_config.SetSafeDocOpened__s_
push str.CurrentFileMgr
push 1
call fcn.11ca5810
add esp, 0x14
lea ecx, [esp + 0x88]
push edi
push ecx
call fcn.11de4160
add esp, 8
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x11ca0b37
mov edx, dword [esp + 0x90]
mov ecx, ebx
push edx
push 1
push ebp
call fcn.11ca3300
push 0
mov ecx, 0x1212b5c0
call fcn.11d88cd0
test eax, eax
je 0x11ca0b9d
call fcn.11dd84e0
test eax, eax
jne 0x11ca0b81
call fcn.11dd8580
test eax, eax
jne 0x11ca0b81
push eax
push eax
mov ecx, 0x1212b5c0
call fcn.11d744b0
test eax, eax
jne 0x11ca0b81
push eax
mov ecx, 0x1212b5c0
call fcn.11d87b70
test eax, eax
je 0x11ca0b9d
mov eax, dword [0x1212c758]
test eax, eax
je 0x11ca0b9d
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0x8c]
push eax
push ecx
push 1
push ebp
mov ecx, 0x1212b5c0
call fcn.11dabdf0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 1
mov byte [esp + 0x80], 0xa
call fcn.11e92540
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 9
call fcn.11e92540
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 8
call fcn.11e92540
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x24]
call fcn.11e92540
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 0
call fcn.11e16090
lea ecx, [esp + 0x30]
mov dword [esp + 0x80], 0xffffffff
call fcn.11e15fd0
mov eax, dword [0x12133f80]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x11ca0c47
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x18]
push edx
push eax
mov ecx, 0x1212b458
call fcn.11ec4a10
push eax
push str.__s__CCurrentFileMgr::UpdateCurrentOpenedDoc_bRet__d__Debug__d_
push str.CurrentFileMgr
push 1
call fcn.11ca5810
add esp, 0x18
mov ecx, 0x1212aa70
call fcn.11ca4160
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x74
ret 0x14