Function at 0x52bb40
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 [0x7a9040]
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.005e4620
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.005d6a70
mov ecx, esi
call fcn.005d37b0
xor ebx, ebx
test al, al
je 0x52bc85
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x52bca9
mov edi, 2
mov dword [esp + 4], 4
mov ecx, esi
call fcn.0052bdf0
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 0x52bc06
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jae 0x52bd55
mov eax, edi
inc eax
cmp eax, 2
jb 0x52bbfc
mov dword [esi + 0x24], edi
call fcn.005e4650
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 0x24]
inc edi
cmp edi, 2
jb 0x52bca5
mov dword [esp + 0xc], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [0x754704]
xor edx, ecx
mov edi, dword [0x754700]
xor edi, eax
or edi, edx
mov edx, dword [ebx + 8]
jne 0x52bce0
cmp edx, dword [0x754708]
jne 0x52bce0
mov ecx, esi
call fcn.0052bee0
mov edi, eax
add eax, 0xffffffff
adc edx, 0xffffffff
xor ebx, ebx
cmp eax, 0xffffffff
sbb edx, 0
jae 0x52bc85
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 0x52bca5
add eax, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.005d6ae0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00650d60
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ebx, ebx
jmp 0x52bc85
dec eax
cmp eax, 3
ja case.default.0x52bcb3
jmp dword [eax*4 + 0x7534c4]
sub esp, 4
mov ecx, esi
call fcn.0052b9f0
mov ebx, eax
jmp 0x52bc85
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov edi, 4
mov dword [esp + 4], 2
jmp 0x52bbbb
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.0053db70
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 0x52bca5
test bl, bl
jne 0x52bca5
test edx, edx
js 0x52bca5
test eax, eax
je 0x52bca5
mov ebx, dword [esp + 0x10]
jmp 0x52bc64
call fcn.005e4650
push dword [esi + 0x24]
call fcn.005cf200
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x52bbec
mov edi, 8
xor eax, eax
inc eax
mov dword [esp + 4], eax
jmp 0x52bbbb
xor eax, eax
dec eax
mov dword [esp + 4], eax
xor edi, edi
jmp 0x52bbbb