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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fb22d0
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x34]
xor ebx, ebx
push esi
cmp ebp, ebx
mov esi, ecx
je 0x11da88e4
push ebp
call fcn.11e67d05
add esp, 4
test eax, eax
je 0x11da88e4
push ebp
mov ecx, esi
call fcn.11d925f0
test eax, eax
je 0x11da853d
cmp dword [0x12133f80], ebx
je 0x11da88e4
push ebp
push str.CSDConfig::AddLastSaveAsFile_lpwszFileName__s__IsSaveAsExcludeFile
push str.CurrentFileMgr
push 1
call fcn.11ca5810
add esp, 0x10
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10
push ebx
mov ecx, esi
call fcn.11da8060
test eax, eax
jne 0x11da8559
push ebx
mov ecx, esi
call fcn.11da8d30
test eax, eax
je 0x11da88e4
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
call fcn.11e923e0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], ebx
call fcn.11e923e0
push ebx
mov ecx, esi
mov byte [esp + 0x38], 1
call fcn.11da8d30
test eax, eax
je 0x11da85dd
cmp dword [esi + 0x11a0], ebx
jne 0x11da85dd
cmp dword [0x1212c758], ebx
jne 0x11da85dd
lea eax, [esp + 0x10]
lea ecx, [esp + 0x3c]
push eax
push ecx
push ebp
mov ecx, 0x1212b5c0
mov dword [esp + 0x20], 1
call fcn.11d70140
mov edi, eax
mov eax, dword [0x12133f80]
cmp eax, ebx
je 0x11da864f
lea ecx, [esp + 0x10]
call fcn.11e925e0
push eax
lea ecx, [esp + 0x40]
call fcn.11e925e0
push eax
push edi
push str._CSDConfig::AddLastSaveAsFile__000_bGet__d__SecSize__d__FilePolicySize__d_
jmp 0x11da8640
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x24]
push ebx
lea eax, [esp + 0x2c]
push edx
push eax
mov ecx, esi
call fcn.11c9f420
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 1
call fcn.11e7f280
lea ecx, [esp + 0x10]
push ebx
push ecx
call fcn.11de4210
lea edx, [esp + 0x44]
push edx
call fcn.11de4300
mov eax, dword [0x12133f80]
add esp, 0xc
cmp eax, ebx
je 0x11da864f
lea ecx, [esp + 0x10]
call fcn.11e925e0
push eax
lea ecx, [esp + 0x40]
call fcn.11e925e0
push eax
mov eax, dword [esp + 0x1c]
push eax
push str._CSDConfig::AddLastSaveAsFile__111_bIsCurBeSaveAsFileEncrypted__d__SecSize__d__FilePolicySize__d_
push str.CurrentFileMgr
push 4
call fcn.11ca5810
add esp, 0x18
push ebx
mov ecx, esi
call fcn.11d88cd0
test eax, eax
je 0x11da8851
mov ecx, 0x1212b5c0
call fcn.11d68400
cmp eax, 3
je 0x11da88c4
cmp eax, 1
je 0x11da88c4
cmp dword [esp + 0x14], ebx
jne 0x11da8720
call fcn.11dd84e0
test eax, eax
jne 0x11da8720
call fcn.11dd8580
test eax, eax
jne 0x11da8720
push ebx
push ebx
mov ecx, 0x1212b5c0
call fcn.11d744b0
test eax, eax
jne 0x11da8720
push ebx
mov ecx, 0x1212b5c0
call fcn.11d87b70
test eax, eax
je 0x11da86c6
cmp dword [0x1212c758], ebx
jne 0x11da8720
lea ecx, [esp + 0x10]
lea edx, [esp + 0x3c]
push ecx
push edx
push ebp
mov ecx, 0x1212b5c0
mov dword [esp + 0x20], 1
call fcn.11d70140
mov esi, eax
mov eax, dword [0x12133f80]
cmp eax, ebx
je 0x11da8804
lea ecx, [esp + 0x10]
call fcn.11e925e0
push eax
lea ecx, [esp + 0x40]
call fcn.11e925e0
push eax
push esi
push str._CSDConfig::AddLastSaveAsFile__bGet_1__d__SecSize__d__FilePolicySize__d_
push str.CurrentFileMgr
push 4
call fcn.11ca5810
add esp, 0x18
jmp 0x11da8804
mov ecx, esi
call fcn.11da8d10
test eax, eax
je 0x11da8804
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x2c]
push ebx
push eax
mov ecx, 0x1212b5c0
call fcn.11c9f420
mov eax, dword [eax]
mov byte [esp + 0x34], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
sete bl
mov byte [esp + 0x34], 1
call fcn.11e7f280
test bl, bl
je 0x11da8804
mov eax, dword [0x1212aaa8]
test eax, eax
jbe 0x11da8804
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 1
call fcn.11e84ba0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
push ecx
mov ecx, 0x1212aa70
call fcn.11ca42e0
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push 0
push ecx
mov eax, dword [edx]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.11de4370
mov esi, eax
mov eax, dword [0x12133f80]
add esp, 0x10
test eax, eax
je 0x11da87f6
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
call fcn.11e925e0
push eax
lea ecx, [esp + 0x40]
call fcn.11e925e0
push eax
mov eax, dword [edi]
push eax
push esi
push str._CSDConfig::AddLastSaveAsFile__bGet_2__d__arrOpenedEncryptDoc_0___s__SecSize__d__FilePolicySize__d_
push str.CurrentFileMgr
push 4
call fcn.11ca5810
add esp, 0x1c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.11e84bb0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x11da8835
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
lea eax, [esp + 0x40]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
push ebp
mov ecx, 0x1212b5c0
call fcn.11dac4f0
jmp 0x11da88c4
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push ebp
mov ecx, 0x1212b5c0
call fcn.11dabeb0
jmp 0x11da88c4
lea eax, [esi + 0x1124]
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.11e8c590
mov edi, dword [esi + 0x1194]
mov byte [esp + 0x34], 5
inc edi
cmp edi, 5
jne 0x11da8876
xor edi, edi
push ebp
lea ecx, [esi + edi*4 + 0x1144]
call fcn.11e7f500
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
mov dword [esi + edi*4 + 0x1158], ecx
push edx
lea ecx, [esi + edi*4 + 0x116c]
call fcn.11e92570
lea eax, [esp + 0x3c]
lea ecx, [esi + edi*4 + 0x1180]
push eax
call fcn.11e92570
mov dword [esi + 0x1194], edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.11e8c5f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 0
call fcn.11e92540
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.11e92540
pop edi
mov ecx, dword [esp + 0x28]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10