Function at 0x442000
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 [0x5c1040]
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 0x3a
push str....._base_filesmemory_mapped_file_win.cc
push str.MapFileRegionToMemory
push ebx
call fcn.004bbec0
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.004b1470
mov ecx, esi
call fcn.004ae6e0
xor ebx, ebx
test al, al
je 0x442150
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x442190
mov edi, 2
mov dword [esp + 4], 4
mov ecx, esi
call fcn.004422c0
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 0x4420c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jae 0x442174
mov eax, edi
inc eax
cmp eax, 2
jb 0x4420bc
mov dword [esi + 0x24], edi
call fcn.004bbef0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 0x24]
inc edi
cmp edi, 2
jb 0x442170
mov dword [esp + 0xc], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [0x5a9ed4]
xor edx, ecx
mov edi, dword [0x5a9ed0]
xor edi, eax
or edi, edx
mov edx, dword [ebx + 8]
jne 0x4421c7
cmp edx, dword [0x5a9ed8]
jne 0x4421c7
mov ecx, esi
call fcn.004423b0
mov ecx, eax
add ecx, 0xffffffff
adc edx, 0xffffffff
xor ebx, ebx
mov edi, 0xfffffffe
cmp edi, ecx
mov ecx, 0
sbb ecx, edx
jb 0x442150
mov dword [esi + 0x20], eax
xor edx, edx
xor eax, eax
mov ecx, dword [esp + 4]
push eax
push ebx
push edx
push ecx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x442170
add eax, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.004b14e0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004f1eb0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ebx, ebx
jmp 0x442150
call fcn.004bbef0
push dword [esi + 0x24]
call fcn.004aaa80
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x4420ac
dec eax
cmp eax, 3
ja case.default.0x44219a
jmp dword [eax*4 + 0x5a92b8]
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov edi, 4
mov dword [esp + 4], 2
jmp 0x44207b
sub esp, 4
mov ecx, esi
call fcn.00441ec0
mov ebx, eax
jmp 0x442150
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 ebx, [esp + 0x18]
push ebx
push edx
push ecx
push eax
call fcn.00451d10
add esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [edi]
mov edx, eax
sar edx, 0x1f
add eax, ecx
adc edx, 0
mov edi, edx
and edi, 1
neg edi
xor edx, edi
setne bl
mov edx, dword [esp + 0x14]
test edx, edx
js 0x442170
test bl, bl
jne 0x442170
test edi, edi
js 0x442170
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x20], ecx
jmp 0x44212f
mov edi, 8
xor eax, eax
inc eax
mov dword [esp + 4], eax
jmp 0x44207b
xor eax, eax
dec eax
mov dword [esp + 4], eax
xor edi, edi
jmp 0x44207b