Function at 0x4ac6f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x808040]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x10]
push 0x42
push str....._base_filesmemory_mapped_file_win.cc
push str.MapFileRegionToMemory
push ebx
call fcn.0055fb40
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.00552b00
mov ecx, esi
call fcn.0054f940
xor ebx, ebx
test al, al
je 0x4ac835
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4ac859
mov edi, 2
mov dword [esp + 4], 4
mov ecx, esi
call fcn.004ac9a0
xor ecx, ecx
push ecx
push ebx
push ecx
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
cmp dword [esi + 0x24], eax
je 0x4ac7b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jae 0x4ac905
mov eax, edi
inc eax
cmp eax, 2
jb 0x4ac7ac
mov dword [esi + 0x24], edi
call fcn.0055fb70
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 0x24]
inc edi
cmp edi, 2
jb 0x4ac855
mov dword [esp + 0xc], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [0x78c87c]
xor edx, ecx
mov edi, dword [0x78c878]
xor edi, eax
or edi, edx
mov edx, dword [ebx + 8]
jne 0x4ac890
cmp edx, dword [0x78c880]
jne 0x4ac890
mov ecx, esi
call fcn.004aca90
mov edi, eax
add eax, 0xffffffff
adc edx, 0xffffffff
xor ebx, ebx
cmp eax, 0xffffffff
sbb edx, 0
jae 0x4ac835
xor ecx, ecx
xor eax, eax
mov edx, dword [esp + 4]
push eax
push ebx
push ecx
push edx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4ac855
add eax, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.00552b70
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.005c6b46
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ebx, ebx
jmp 0x4ac835
dec eax
cmp eax, 3
ja case.default.0x4ac863
jmp dword [eax*4 + 0x78b8a8]
sub esp, 4
mov ecx, esi
call fcn.004ac5a0
mov ebx, eax
jmp 0x4ac835
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov edi, 4
mov dword [esp + 4], 2
jmp 0x4ac76b
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
lea ebx, [esp + 8]
mov dword [ebx], edi
lea edi, [esp + 0xc]
push edi
push ebx
lea edi, [esp + 0x18]
push edi
push edx
push ecx
push eax
call fcn.004bb920
add esp, 0x18
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
lea eax, [esp + 0xc]
mov eax, dword [eax]
mov ecx, eax
sar ecx, 0x1f
add eax, edi
adc ecx, 0
mov edx, ecx
and edx, 1
neg edx
xor ecx, edx
setne bl
mov ecx, dword [esp + 0x14]
test ecx, ecx
js 0x4ac855
test bl, bl
jne 0x4ac855
test edx, edx
js 0x4ac855
test eax, eax
je 0x4ac855
mov ebx, dword [esp + 0x10]
jmp 0x4ac814
call fcn.0055fb70
push dword [esi + 0x24]
call fcn.0054ae70
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x4ac79c
xor eax, eax
dec eax
mov dword [esp + 4], eax
xor edi, edi
jmp 0x4ac76b
mov edi, 8
xor eax, eax
inc eax
mov dword [esp + 4], eax
jmp 0x4ac76b