Function at 0x4600b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x591014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi + 0x30], xmm0
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.004a26d0
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.004a9540
mov dword [esp], esi
mov ecx, esi
call fcn.00454700
xor ebx, ebx
test al, al
je 0x460265
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x460285
mov edi, 2
mov esi, dword [esp]
mov ecx, esi
call fcn.00454710
xor ecx, ecx
push ecx
push ebx
push ecx
mov dword [esp + 0x10], edi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
cmp dword [esi + 0x24], eax
je 0x460183
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jae 0x46029a
mov eax, ebx
inc eax
cmp eax, 2
jb 0x460176
mov eax, dword [esp]
mov dword [eax + 0x24], ebx
call fcn.004a2700
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp]
mov ebx, dword [eax + 0x24]
inc ebx
cmp ebx, 2
jb 0x460336
mov dword [esp + 0xc], 0
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x57fbb8
call fcn.00460410
test al, al
je 0x4602d2
mov edi, dword [esp]
mov ecx, edi
call fcn.00454830
mov ecx, eax
add ecx, 0xffffffff
adc edx, 0xffffffff
xor ebx, ebx
mov esi, 0xfffffffe
cmp esi, ecx
mov ecx, 0
sbb ecx, edx
jb 0x460265
mov dword [edi + 0x20], eax
xor ecx, ecx
xor eax, eax
mov edx, dword [esp + 4]
and edx, 2
add edx, 2
push eax
push ebx
push ecx
push edx
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov eax, dword [edi + 0x1c]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x59af58]
bt edx, ecx
jb 0x46033d
mov ecx, esi
shr ecx, 0xe
xor ebx, ebx
inc ebx
shl ebx, cl
mov edi, esi
shr edi, 0x13
mov eax, dword [edi*4 + 0x59af58]
bt eax, ecx
jb 0x46034b
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x5a2f58], 1
mov eax, dword [esp]
mov dword [eax + 0x1c], esi
test esi, esi
je 0x460336
mov eax, dword [esp + 0xc]
test dword [edi*4 + 0x59af58], ebx
jne 0x460359
add esi, eax
mov eax, dword [esp]
mov dword [eax + 0x1c], esi
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.004a95a0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004c66e3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
cmp eax, 3
jne 0x4602b9
sub esp, 4
mov ecx, dword [esp + 4]
call fcn.0045ff00
mov ebx, eax
jmp 0x460265
call fcn.004a2700
mov esi, dword [esp]
push dword [esi + 0x24]
call fcn.004ab080
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x460163
cmp eax, 2
jne 0x460372
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov edi, 4
jmp 0x46012b
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
lea eax, [esp + 8]
mov dword [eax], esi
lea ebx, [esp + 0xc]
push ebx
push eax
lea eax, [esp + 0x18]
push eax
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
call fcn.00460590
add esp, 0x18
mov edx, dword [edi + 8]
mov eax, dword [ebx]
mov ecx, eax
sar ecx, 0x1f
add eax, edx
adc ecx, esi
mov esi, ecx
and esi, 1
neg esi
xor ecx, esi
setne bl
mov ecx, dword [esp + 0x14]
test ecx, ecx
js 0x460336
test bl, bl
jne 0x460336
test esi, esi
js 0x460336
mov ebx, dword [esp + 0x10]
mov edi, dword [esp]
mov dword [edi + 0x20], edx
jmp 0x4601db
xor ebx, ebx
jmp 0x460265
push eax
call fcn.004a39b0
add esp, 4
jmp 0x460211
push esi
call fcn.004a3890
add esp, 4
jmp 0x46023c
push eax
push esi
mov edi, eax
call fcn.004a3c80
add esp, 8
test al, al
mov eax, edi
jne 0x46025b
int3
cmp eax, 1
je 0x4602c8
xor edi, edi
jmp 0x46012b