Function at 0x41ed10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov ebx, ecx
mov eax, dword [0x646040]
xor eax, ebp
mov dword [esp + 0xa8], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x60]
push 0x42
push str.memory_mapped_file_win.cc
push str.MapFileRegionToMemory
push esi
call fcn.00509c60
add esp, 0x10
xor eax, eax
mov ecx, edi
push eax
push eax
call fcn.00520c00
mov dword [esp + 0xa0], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x41f0f0
mov eax, dword [ebx]
mov edx, ebx
xor ebx, ebx
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x41edb2
lea ecx, [esp + 0x20]
call fcn.00540880
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.00567335
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [esp + 8], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
test ecx, ecx
jne 0x41eee7
mov ecx, 2
mov dword [esp + 0x10], 4
xor edx, edx
push edx
push ebx
push edx
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov ebx, dword [esp + 8]
cmp dword [ebx + 0x24], eax
je 0x41ee21
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov ebx, eax
mov eax, dword [ecx + 0x24]
inc eax
cmp eax, 2
jae 0x41ee9b
mov eax, edi
inc eax
cmp eax, 2
mov esi, dword [esp + 8]
jb 0x41ee15
mov dword [esi + 0x24], edi
call fcn.004ffee0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 0x24]
mov ebx, esi
inc edi
cmp edi, 2
mov ecx, dword [ebp + 8]
jb 0x41ee94
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, edi
or eax, esi
jne 0x41ef0d
cmp dword [ecx + 8], 0
jne 0x41ef0d
mov ecx, ebx
call fcn.0041f180
mov dword [esp + 0x14], eax
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 0x18], 0
cmp eax, 0xffffffff
sbb edx, 0
jae 0x41ee94
xor edi, edi
xor esi, esi
xor ecx, ecx
mov eax, dword [esp + 0x10]
push ecx
push edi
push esi
push eax
push dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x41ee94
add eax, dword [esp + 0x18]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x20], eax
mov bl, 1
jmp 0x41ed8f
xor ebx, ebx
jmp 0x41ed8f
call fcn.004ffee0
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x24]
mov dword [esp + 0x18], eax
cmp dword [0x657038], 0
je 0x41f0a9
mov eax, dword [0x657038]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
call dword [0x6401dc]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x18]
call dword [esp + 0x20]
mov dword [esi + 0x24], 0
jmp 0x41ee01
dec ecx
cmp ecx, 3
ja case.default.0x41eef1
jmp dword [ecx*4 + 0x6302c8]
mov ebx, dword [edx + 8]
mov ecx, 4
mov dword [esp + 0x10], 2
jmp 0x41edd1
mov ebx, ecx
call fcn.00535c20
mov edx, eax
dec edx
js 0x41f11c
and edx, edi
neg eax
mov dword [esp + 0x1c], eax
sar eax, 0x1f
mov ecx, dword [ebx + 8]
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
add ecx, edx
setb bl
mov edx, ebx
neg edx
xor ebx, edx
setne byte [esp + 0xf]
xor ebx, ebx
and esi, eax
js 0x41ed8f
cmp byte [esp + 0xf], 0
jne 0x41ed8f
test edx, edx
js 0x41ed8f
test ecx, ecx
mov eax, dword [esp + 8]
je 0x41ed8f
and edi, dword [esp + 0x1c]
mov ebx, eax
jmp 0x41ee6a
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x60]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x50]
push 0x1c
push str.memory_mapped_file_win.cc
push str.MapImageToMemory
push esi
call fcn.00509c60
add esp, 0x10
xor eax, eax
mov ecx, edi
push eax
push eax
call fcn.00520c00
mov dword [esp + 0x9c], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x41f13e
mov esi, dword [esp + 8]
mov eax, dword [esi]
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x41efe9
xor ebx, ebx
lea ecx, [esp + 0x60]
call fcn.00540880
jmp 0x41ed8f
sub esp, 0x18
movq xmm0, qword [0x630270]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x41f043
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jae 0x41f089
lea eax, [edi + 1]
cmp eax, 2
mov esi, dword [esp + 8]
jb 0x41f039
mov dword [esi + 0x24], edi
call fcn.004ffee0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x24]
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x41efd9
sub esp, 0x14
movd xmm0, dword [0x630280]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x41efd9
mov ecx, dword [eax + 0x3c]
mov ecx, dword [eax + ecx + 0x50]
test ecx, ecx
je 0x41efd9
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mov bl, 1
jmp 0x41efdb
call fcn.004ffee0
mov esi, dword [esp + 8]
push dword [esi + 0x24]
call fcn.00550af0
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x41f025
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6338bd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f16d
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x41f0ea
call dword [0x6401dc]
call ecx
push 0
push eax
call fcn.0043a140
add esp, 8
mov esi, dword [esp + 8]
jmp 0x41eeb8
push 1
push 0
jmp 0x41f0d9
movzx ecx, al
lea eax, [esp + 0x50]
mov dword [eax], esi
lea esi, [esp + 0xa4]
mov dword [esi], str.ScopedBlockingCall
lea edx, [esp + 0xa0]
push eax
push esi
call fcn.005b7340
add esp, 8
jmp 0x41ed81
int3
mov ecx, 8
xor edx, edx
inc edx
mov dword [esp + 0x10], edx
jmp 0x41edd1
xor ecx, ecx
dec ecx
mov dword [esp + 0x10], ecx
xor ecx, ecx
jmp 0x41edd1
movzx ecx, al
lea eax, [esp + 0xa4]
mov dword [eax], esi
lea esi, [esp + 0xa0]
mov dword [esi], str.ScopedBlockingCall
lea edx, [esp + 0x9c]
push eax
push esi
call fcn.005b7340
add esp, 8
jmp 0x41efcb
xor eax, eax
push eax
jmp 0x41f0d8