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

Disassembly:
push 0xffffffffffffffff
push 0x101f747a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
lea ebx, [esi + 0x78]
mov dword [esp + 0x10], edi
mov ecx, ebx
call fcn.101b0570
cmp eax, 0xffffffff
jne 0x101ac55d
xor al, al
jmp 0x101ac9cb
mov al, byte [esi + 0xe8]
test al, al
je 0x101ac56e
xor al, al
jmp 0x101ac9cb
mov ecx, ebx
call fcn.101b02b0
cmp eax, 0xffffffff
jne 0x101ac581
xor al, al
jmp 0x101ac9cb
cmp dword [esi + 0x134], 0xffff
jne 0x101ac594
xor al, al
jmp 0x101ac9cb
mov ebx, dword [esp + 0x2ac]
cmp ebx, edi
je 0x101ac69b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x101ac5b8
xor al, al
jmp 0x101ac9cb
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], edi
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x48]
mov dword [esp + 0x24], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x28], 0
push eax
push ebx
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x101ac5fe
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
jmp 0x101ac646
push 0
push 0x80
push 3
push 0
push 3
push bind
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x101ac66a
lea ecx, [esp + 0x58]
push ecx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x101ac637
mov byte [esp + 0x17], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x17]
test al, al
je 0x101ac66a
mov ecx, dword [esp + 0x58]
test ecx, ecx
jne 0x101ac656
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x101ac66a
test al, al
je 0x101ac66a
lea edx, [esp + 0x58]
lea ecx, [esp + 0x24]
push edx
call sub.MFC42u.DLL_COleDateTime::operator_1
jmp 0x101ac683
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_COleDateTime::operator
mov ebx, dword [esp + 0x2a4]
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
call fcn.101af8e0
mov dword [ebx + 0x24], ebp
jmp 0x101ac6a2
mov ebx, dword [esp + 0x2a4]
lea ecx, [esi + 0x20]
call fcn.101b1390
lea edi, [esi + 0xec]
push ebx
mov ecx, edi
call fcn.101b2080
mov ecx, dword [esi + 0x114]
lea eax, [esp + 0x18]
push eax
call fcn.101afe90
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x29c], 0
mov eax, dword [ecx - 8]
test eax, eax
jne 0x101ac707
mov eax, dword [esi + 0x134]
lea edx, [esp + 0x18]
push eax
push str.file_i
push edx
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x114]
add esp, 0xc
push eax
call fcn.101afda0
mov al, byte [esi + 0x160]
mov cl, byte [edi + 0x74]
cmp al, cl
jne 0x101ac729
mov edi, dword [edi + 0x28]
push 1
mov ecx, edi
call fcn.101aff70
push 0
mov ecx, edi
call fcn.101aff30
mov edi, dword [esi + 0x114]
mov ebp, dword [esi + 0x10]
mov ebx, dword [edi + 0x24]
shr ebx, 4
and bl, 1
test ebp, ebp
setne byte [esp + 0x30]
mov ecx, dword [esp + 0x30]
lea ebp, [esi + 0x78]
push ecx
mov ecx, ebp
call fcn.101b02b0
cmp eax, 1
mov eax, dword [esp + 0x2ac]
sete dl
push edx
push eax
mov ecx, edi
call fcn.101afbb0
test al, al
jne 0x101ac814
mov ecx, ebp
call fcn.101b0570
cmp eax, 0xffffffff
jne 0x101ac79b
push 0x102747b8
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString_1
mov dword [esp + 0x10], 1
mov byte [esp + 0x29c], 1
jmp 0x101ac7bb
mov ecx, dword [esi + 0x94]
lea eax, [esp + 0x1c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x20]
mov ecx, 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x29c], ecx
mov eax, dword [eax]
push eax
push 0xffffffffffffff95
call fcn.101b3410
mov al, byte [esp + 0x18]
add esp, 8
test al, 2
mov dword [esp + 0x29c], 1
je 0x101ac7ee
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
and al, 0xfd
mov dword [esp + 0x10], eax
call sub.MFC42u.DLL_CString::CString
mov al, byte [esp + 0x10]
xor edi, edi
test al, 1
mov dword [esp + 0x29c], edi
je 0x101ac816
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
and al, 0xfe
mov dword [esp + 0x10], eax
call sub.MFC42u.DLL_CString::CString
jmp 0x101ac816
xor edi, edi
mov ecx, dword [esi + 0x114]
push ebp
call fcn.101afa50
mov al, byte [esi + 0x160]
test al, al
je 0x101ac83c
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x114]
push edx
call fcn.101afda0
mov al, byte [esp + 0x30]
test al, al
je 0x101ac895
push edi
push 0xc
lea ecx, [esp + 0x2c]
call fcn.101b1400
mov edx, dword [esp + 0x2a4]
xor ecx, ecx
lea eax, [esp + 0x24]
mov byte [esp + 0x29c], 3
mov cx, word [edx + 0x10]
push eax
shl ecx, 0x10
push ecx
mov ecx, esi
call fcn.101aea60
mov eax, dword [esp + 0x28]
push edi
push 0xc
push eax
mov ecx, ebp
call fcn.101b1000
lea ecx, [esp + 0x24]
mov byte [esp + 0x29c], 0
call fcn.101b1480
mov dword [esi + 0x64], edi
mov dword [esi + 0x2c], edi
mov eax, dword [esi + 0x74]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x70]
test bl, bl
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], edi
je 0x101ac8c1
mov eax, dword [esi + 0x114]
cmp word [eax + 0xe], di
je 0x101ac8c1
mov word [eax + 0xe], di
mov eax, dword [esi + 0x114]
cmp word [eax + 0xe], 8
jne 0x101ac9ae
mov al, byte [esi + 4]
test al, al
je 0x101ac8e1
lea eax, [esi + 0xcc]
jmp 0x101ac8e3
xor eax, eax
mov ecx, dword [esp + 0x2a8]
push 0x38
push str.1.1.4
push edi
push 8
push 0xfffffffffffffff1
push 8
lea edx, [esi + 0x28]
push ecx
push edx
mov dword [esi + 0x50], eax
call fcn.101a1410
mov edi, eax
test edi, edi
je 0x101ac9ae
cmp edi, 2
je 0x101ac9ae
mov ecx, ebp
call fcn.101b0570
cmp eax, 0xffffffff
mov ebx, 4
jne 0x101ac944
push 0x102747b8
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::CString_1
or dword [esp + 0x10], ebx
mov byte [esp + 0x29c], bl
jmp 0x101ac964
mov ecx, dword [esi + 0x94]
lea edx, [esp + 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
or dword [esp + 0x10], 8
mov dword [esp + 0x29c], 5
mov eax, dword [eax]
push eax
push edi
call fcn.101b3410
mov al, byte [esp + 0x18]
add esp, 8
test al, 8
mov dword [esp + 0x29c], ebx
je 0x101ac992
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
and al, 0xf7
mov dword [esp + 0x10], eax
call sub.MFC42u.DLL_CString::CString
mov al, byte [esp + 0x10]
mov dword [esp + 0x29c], 0
test bl, al
je 0x101ac9ae
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esi + 0xe8], 1
mov dword [esp + 0x29c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0x294]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x290
ret 0xc