Function at 0x441420
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 [0x5c7040]
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.004b97c0
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.004ad330
mov ecx, esi
call fcn.004aa490
xor ebx, ebx
test al, al
je 0x441564
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4415a4
mov edi, 2
mov dword [esp + 4], 4
mov ecx, esi
call fcn.004416d0
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 0x4414e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jae 0x441588
mov eax, edi
inc eax
cmp eax, 2
jb 0x4414dc
mov dword [esi + 0x24], edi
call fcn.004b97f0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 0x24]
inc edi
cmp edi, 2
jb 0x441584
mov dword [esp + 0xc], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [0x5af1f4]
xor edx, ecx
mov edi, dword [0x5af1f0]
xor edi, eax
or edi, edx
mov edx, dword [ebx + 8]
jne 0x4415db
cmp edx, dword [0x5af1f8]
jne 0x4415db
mov ecx, esi
call fcn.004417c0
mov edi, eax
add eax, 0xffffffff
adc edx, 0xffffffff
xor ebx, ebx
cmp eax, 0xffffffff
sbb edx, 0
jae 0x441564
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 0x441584
add eax, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.004ad3a0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004f5620
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ebx, ebx
jmp 0x441564
call fcn.004b97f0
push dword [esi + 0x24]
call fcn.004a6b40
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x4414cc
dec eax
cmp eax, 3
ja case.default.0x4415ae
jmp dword [eax*4 + 0x5ae4e8]
sub esp, 4
mov ecx, esi
call fcn.004412d0
mov ebx, eax
jmp 0x441564
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov edi, 4
mov dword [esp + 4], 2
jmp 0x44149b
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.00450350
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 0x441584
test bl, bl
jne 0x441584
test edx, edx
js 0x441584
test eax, eax
je 0x441584
mov ebx, dword [esp + 0x10]
jmp 0x441544
mov edi, 8
xor eax, eax
inc eax
mov dword [esp + 4], eax
jmp 0x44149b
xor eax, eax
dec eax
mov dword [esp + 4], eax
xor edi, edi
jmp 0x44149b