Function at 0x473af0
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 [0x5a8564]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
lea edi, [esp + 0x10]
push 0x3a
push str....._base_filesmemory_mapped_file_win.cc
push str.MapFileRegionToMemory
push edi
call fcn.00451690
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push edi
call fcn.00440b40
mov ecx, esi
call fcn.0043a420
xor ebx, ebx
test al, al
je 0x473dd4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, 3
ja case.default.0x473b70
jmp dword [eax*4 + 0x56ee14]
mov dword [esp + 4], 0
mov ebx, 2
jmp 0x473ba8
mov dword [esp + 4], 0
xor ebx, ebx
jmp 0x473ba8
mov dword [esp + 4], 0
jmp 0x473ba3
mov eax, dword [ecx + 8]
mov dword [esp + 4], eax
mov ebx, 4
mov ecx, esi
call fcn.0043a430
push 0
push dword [esp + 8]
push 0
mov dword [esp + 0x10], ebx
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
cmp dword [esi + 0x24], eax
je 0x473c12
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jb 0x473bf4
call fcn.004516c0
push dword [esi + 0x24]
call fcn.00433080
add esp, 4
mov dword [esi + 0x24], 0
mov eax, ebx
inc eax
cmp eax, 2
jb 0x473c04
mov dword [esi + 0x24], ebx
call fcn.004516c0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [esi + 0x24]
lea edi, [esp + 0x10]
inc ebx
cmp ebx, 2
jae 0x473c1f
xor ebx, ebx
jmp 0x473dd4
mov dword [esp + 0xc], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x56ee28
call fcn.00473e80
test al, al
je 0x473c7c
mov ecx, esi
call fcn.0043aaa0
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 0x473dd4
mov dword [esi + 0x20], eax
xor ecx, ecx
xor eax, eax
jmp 0x473cef
sub esp, 4
mov ecx, esi
call fcn.00473940
mov ebx, eax
jmp 0x473dd4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
push edi
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
call fcn.00474120
add esp, 0x18
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0xc]
mov ecx, eax
sar ecx, 0x1f
add eax, edx
adc ecx, 0
mov edi, ecx
and edi, 1
neg edi
xor ecx, edi
setne bl
mov ecx, dword [esp + 0x14]
test ecx, ecx
js 0x473c18
test bl, bl
jne 0x473c18
test edi, edi
js 0x473c18
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 4]
and edx, 2
add edx, 2
push eax
push ebx
push ecx
push edx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
mov eax, dword [esi + 0x1c]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5aca20]
bt edx, ecx
jae 0x473d2a
push eax
call fcn.004050a4
add esp, 4
add esi, 0x1c
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x5aca20]
bt ecx, eax
jae 0x473d4e
push ebx
call fcn.00404fac
add esp, 4
jmp 0x473d5a
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x5b4a20], 1
mov dword [esi], ebx
test ebx, ebx
je 0x473c18
mov eax, dword [esi]
mov edi, dword [esp + 0xc]
add edi, eax
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5aca20]
bt edx, ecx
jae 0x473d90
push 1
push edi
push eax
call fcn.004053e0
add esp, 0xc
jmp 0x473dd0
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x5aca20]
bt ecx, eax
jae 0x473dd0
push str._IsSupportedAndNotNull_after_addr_
push 0x175
push str....._base_allocatorpartition_allocatorpointers_raw_ptr_backup_ref_impl.h
lea ebx, [esp + 0x1c]
push ebx
call fcn.00460aa0
add esp, 0x10
mov ecx, ebx
call fcn.00458ca0
mov ecx, ebx
call fcn.00460b10
mov dword [esi], edi
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.00440ba0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8