Function at 0x1019a590
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, ecx
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [esp + 0xa8], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
lea edi, [esp + 0x60]
push 0x39
push str..._.._base_files_memory_mapped_file_win.cc
push str.MapFileRegionToMemory
push edi
call fcn.1014e3e0
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push edi
call fcn.10160300
mov ecx, esi
call fcn.10171a80
xor ebx, ebx
test al, al
je 0x1019a78b
mov eax, dword [ebp + 0xc]
cmp eax, 3
ja case.default.0x1019a60d
jmp dword [eax*4 + 0x1029d564]
mov eax, 2
jmp 0x1019a716
mov eax, 4
jmp 0x1019a716
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov eax, 4
jmp 0x1019a716
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
lea edi, [esp + 0x10]
push 0x1a
push str..._.._base_files_memory_mapped_file_win.cc
push str.MapImageToMemory
push edi
call fcn.1014e3e0
add esp, 0x10
lea ecx, [esp + 0x60]
push 0
push edi
call fcn.10160300
mov ecx, esi
call fcn.10171a80
test al, al
je 0x1019a707
mov eax, dword [esi]
sub esp, 0x18
movdqa xmm0, xmmword [0x1029d4f0]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
mov edi, eax
cmp dword [esi + 0x24], eax
je 0x1019a6fb
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
add eax, 1
cmp eax, 2
jb 0x1019a6df
call fcn.1014e410
push dword [esi + 0x24]
call fcn.1016f280
add esp, 4
mov dword [esi + 0x24], 0
mov eax, edi
add eax, 1
cmp eax, 2
jb 0x1019a6f1
mov dword [esi + 0x24], edi
call fcn.1014e410
push ebx
call dword [sym.imp.kernel32.dll_SetLastError]
mov edi, dword [esi + 0x24]
lea eax, [edi + 1]
cmp eax, 2
jae 0x1019a86a
xor ebx, ebx
lea ecx, [esp + 0x60]
call fcn.10160360
jmp 0x1019a78b
xor eax, eax
push 0
push ebx
push 0
mov dword [esp + 0x14], eax
push eax
push 0
push dword [esi]
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
mov ebx, eax
cmp dword [esi + 0x24], eax
je 0x1019a781
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [esi + 0x24]
add ecx, 1
cmp ecx, 2
jb 0x1019a761
mov dword [esp + 4], eax
call fcn.1014e410
push dword [esi + 0x24]
call fcn.1016f280
mov eax, dword [esp + 8]
add esp, 4
mov dword [esi + 0x24], 0
mov ecx, ebx
add ecx, 1
cmp ecx, 2
jb 0x1019a777
mov dword [esi + 0x24], ebx
mov ebx, eax
call fcn.1014e410
mov eax, ebx
push eax
call dword [sym.imp.kernel32.dll_SetLastError]
mov ebx, dword [esi + 0x24]
add ebx, 1
cmp ebx, 2
jae 0x1019a7ae
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.10160360
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.10205d16
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [esp + 0x10], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x1029d578
call fcn.1019a930
test al, al
je 0x1019a7eb
mov ecx, esi
call fcn.1019b090
xor ebx, ebx
cmp eax, 1
mov ecx, edx
sbb ecx, 0
jl 0x1019a78b
test edx, edx
jne 0x1019a78b
mov dword [esi + 0x20], eax
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x1019a83a
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0xc], 0
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push ecx
push edi
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
call fcn.1019aa70
add esp, 0x18
mov eax, dword [esp + 0x64]
test eax, eax
js 0x1019a789
mov edi, dword [ebx + 8]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x10]
add edx, edi
mov dword [esi + 0x20], edi
mov edi, dword [esp + 8]
and edi, 2
add edi, 2
push edx
push ecx
push eax
push edi
push dword [esi + 0x24]
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x1019a789
add eax, dword [esp + 0x10]
mov dword [esi + 0x1c], eax
mov bl, 1
jmp 0x1019a78b
sub esp, 0x14
movdqa xmm0, xmmword [0x1029d500]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x1019a707
mov dword [esp + 0x10], method.std::__1::locale::facet.virtual_0
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
call fcn.101e3bf8
mov eax, dword [eax + 0x50]
mov dword [esi + 0x20], eax
mov bl, 1
jmp 0x1019a709