Function at 0x436de0
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 [0x542040]
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.0046dfd0
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.00465760
mov ecx, esi
call fcn.00463560
xor ebx, ebx
test al, al
je 0x436f24
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x436f64
mov edi, 2
mov dword [esp + 4], 4
mov ecx, esi
call fcn.004228a0
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 0x436ea6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jae 0x436f48
mov eax, edi
inc eax
cmp eax, 2
jb 0x436e9c
mov dword [esi + 0x24], edi
call fcn.0046e000
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 0x24]
inc edi
cmp edi, 2
jb 0x436f44
mov dword [esp + 0xc], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [0x53328c]
xor edx, ecx
mov edi, dword [0x533288]
xor edi, eax
or edi, edx
mov edx, dword [ebx + 8]
jne 0x436f9b
cmp edx, dword [0x533290]
jne 0x436f9b
mov ecx, esi
call fcn.00422990
mov edi, eax
add eax, 0xffffffff
adc edx, 0xffffffff
xor ebx, ebx
cmp eax, 0xffffffff
sbb edx, 0
jae 0x436f24
xor ecx, ecx
xor eax, eax
push eax
push ebx
push ecx
push dword [esp + 0x10]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x436f44
add eax, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.004657d0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0048e2e5
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ebx, ebx
jmp 0x436f24
call fcn.0046e000
push dword [esi + 0x24]
call fcn.00462e40
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x436e8c
dec eax
cmp eax, 3
ja case.default.0x436f6e
jmp dword [eax*4 + 0x533278]
sub esp, 4
mov ecx, esi
call fcn.00436c90
mov ebx, eax
jmp 0x436f24
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov edi, 4
mov dword [esp + 4], 2
jmp 0x436e5b
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.004371c0
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 0x436f44
test bl, bl
jne 0x436f44
test edx, edx
js 0x436f44
test eax, eax
je 0x436f44
mov ebx, dword [esp + 0x10]
jmp 0x436f04
mov edi, 8
xor eax, eax
inc eax
mov dword [esp + 4], eax
jmp 0x436e5b
xor eax, eax
dec eax
mov dword [esp + 4], eax
xor edi, edi
jmp 0x436e5b