Function at 0x4151b0
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 [0x644040]
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.0050b300
add esp, 0x10
xor eax, eax
mov ecx, edi
push eax
push eax
call fcn.00522210
mov dword [esp + 0xa0], 0xa
mov al, byte [0x649456]
test al, al
jne 0x415590
mov eax, dword [ebx]
mov edx, ebx
xor ebx, ebx
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x415252
lea ecx, [esp + 0x20]
call fcn.00540b60
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.00565ea5
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 0x415387
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 0x4152c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov ebx, eax
mov eax, dword [ecx + 0x24]
inc eax
cmp eax, 2
jae 0x41533b
mov eax, edi
inc eax
cmp eax, 2
mov esi, dword [esp + 8]
jb 0x4152b5
mov dword [esi + 0x24], edi
call fcn.00501530
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 0x415334
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, edi
or eax, esi
jne 0x4153ad
cmp dword [ecx + 8], 0
jne 0x4153ad
mov ecx, ebx
call fcn.00415620
mov dword [esp + 0x14], eax
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 0x18], 0
cmp eax, 0xffffffff
sbb edx, 0
jae 0x415334
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 0x415334
add eax, dword [esp + 0x18]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x20], eax
mov bl, 1
jmp 0x41522f
xor ebx, ebx
jmp 0x41522f
call fcn.00501530
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x24]
mov dword [esp + 0x18], eax
cmp dword [0x655038], 0
je 0x415549
mov eax, dword [0x655038]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
call dword [0x63e1cc]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x18]
call dword [esp + 0x20]
mov dword [esi + 0x24], 0
jmp 0x4152a1
dec ecx
cmp ecx, 3
ja case.default.0x415391
jmp dword [ecx*4 + 0x62e2c8]
mov ebx, dword [edx + 8]
mov ecx, 4
mov dword [esp + 0x10], 2
jmp 0x415271
mov ebx, ecx
call fcn.005382c0
mov edx, eax
dec edx
js 0x4155bc
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 0x41522f
cmp byte [esp + 0xf], 0
jne 0x41522f
test edx, edx
js 0x41522f
test ecx, ecx
mov eax, dword [esp + 8]
je 0x41522f
and edi, dword [esp + 0x1c]
mov ebx, eax
jmp 0x41530a
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.0050b300
add esp, 0x10
xor eax, eax
mov ecx, edi
push eax
push eax
call fcn.00522210
mov dword [esp + 0x9c], 0xa
mov al, byte [0x649456]
test al, al
jne 0x4155de
mov esi, dword [esp + 8]
mov eax, dword [esi]
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x415489
xor ebx, ebx
lea ecx, [esp + 0x60]
call fcn.00540b60
jmp 0x41522f
sub esp, 0x18
movq xmm0, qword [0x62e270]
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 0x4154e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jae 0x415529
lea eax, [edi + 1]
cmp eax, 2
mov esi, dword [esp + 8]
jb 0x4154d9
mov dword [esi + 0x24], edi
call fcn.00501530
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x24]
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x415479
sub esp, 0x14
movd xmm0, dword [0x62e280]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x415479
mov ecx, dword [eax + 0x3c]
mov ecx, dword [eax + ecx + 0x50]
test ecx, ecx
je 0x415479
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mov bl, 1
jmp 0x41547b
call fcn.00501530
mov esi, dword [esp + 8]
push dword [esi + 0x24]
call fcn.00554260
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x4154c5
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6318bd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41560d
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x41558a
call dword [0x63e1cc]
call ecx
push 0
push eax
call fcn.004292e0
add esp, 8
mov esi, dword [esp + 8]
jmp 0x415358
push 1
push 0
jmp 0x415579
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.005b5b90
add esp, 8
jmp 0x415221
int3
mov ecx, 8
xor edx, edx
inc edx
mov dword [esp + 0x10], edx
jmp 0x415271
xor ecx, ecx
dec ecx
mov dword [esp + 0x10], ecx
xor ecx, ecx
jmp 0x415271
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.005b5b90
add esp, 8
jmp 0x41546b
xor eax, eax
push eax
jmp 0x415578