Function at 0x140029900
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x100
movaps xmmword [rsp + 0xf0], xmm6
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140139028]
xor rax, rsp
mov qword [rsp + 0xe8], rax
movaps xmm6, xmmword [0x140118af0]
lea r15, [rsp + 0x30]
movaps xmmword [r15 + 0x30], xmm6
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
lea rdx, str.MapFileRegionToMemory
lea r8, [0x1401274f0]
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x3a
call fcn.1400595f0
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.1400787e0
mov qword [rsp + 0xd8], 0xa
mov al, byte [0x14014a82a]
test al, al
jne 0x140029ab8
mov rcx, qword [rsi]
xor r14d, r14d
lea rax, [rcx + 1]
cmp rax, 2
jb 0x140029a81
test ebx, ebx
jne 0x140029b56
mov r8d, 2
mov ebx, 4
xor r9d, r9d
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], 0
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
cmp qword [rsi + 0x40], rax
je 0x140029a21
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x140029cec
mov rax, r14
inc rax
cmp rax, 2
jb 0x140029a15
mov qword [rsi + 0x40], r14
call fcn.14005e8a0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0x40]
inc r14
cmp r14, 2
jb 0x140029ae7
mov r12, qword [rdi]
mov rax, qword [rdi + 8]
or rax, r12
jne 0x140029aec
mov rcx, rsi
call fcn.140029dc0
xor r14d, r14d
test rax, rax
jle 0x140029a81
xor r15d, r15d
xor r8d, r8d
xor edx, edx
mov qword [rsi + 0x38], rax
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rdx
mov edx, ebx
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x140029ae7
add rax, r15
mov qword [rsi + 0x30], rax
mov r14b, 1
lea rcx, [rsp + 0x30]
call fcn.14007fc60
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400a19c0
mov eax, r14d
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x100
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx ecx, al
lea r9, [rsp + 0x70]
mov qword [r9], r14
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xe0]
mov qword [r8], rax
lea rdx, [rsp + 0xd8]
call fcn.1400794f0
jmp 0x14002999e
xor r14d, r14d
jmp 0x140029a81
call fcn.140095690
lea r15, [rax - 1]
test r15, 0xffffffff80000000
jne 0x140029dab
mov rcx, rax
and r15, r12
neg rcx
mov rax, qword [rdi + 8]
xor r9d, r9d
mov rdx, rax
add rdx, r15
setb r9b
mov r8, r9
neg r8
xor r9, r8
setne r9b
xor r14d, r14d
and rcx, r12
js 0x140029a81
test r9b, r9b
jne 0x140029a81
test r8, r8
js 0x140029a81
mov r8, rcx
shr r8, 0x20
mov r14d, ecx
jmp 0x140029a56
dec ebx
cmp ebx, 3
ja case.default.0x140029b6f
lea rax, [0x140127544]
movsxd rdx, dword [rax + rbx*4]
add rdx, rax
jmp rdx
mov r14, qword [rdi + 8]
mov r9, r14
shr r9, 0x20
mov r8d, 4
mov ebx, 2
jmp 0x1400299c8
lea rbx, [rsp + 0x90]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.MapImageToMemory
lea r8, [0x1401274f0]
lea rdi, [rsp + 0x70]
mov rcx, rdi
mov r9d, 0x1b
call fcn.1400595f0
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.1400787e0
mov qword [rsp + 0xd0], 0xa
mov al, byte [0x14014a82a]
test al, al
jne 0x140029c09
mov rcx, qword [rsi]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x140029c38
xor r14d, r14d
lea rcx, [rsp + 0x90]
call fcn.14007fc60
jmp 0x140029a81
movzx ecx, al
lea r9, [rsp + 0xe0]
mov qword [r9], rdi
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xd8]
mov qword [r8], rax
lea rdx, [rsp + 0xd0]
call fcn.1400794f0
jmp 0x140029be7
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
cmp qword [rsi + 0x40], rax
je 0x140029c9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x140029d63
mov rax, rdi
inc rax
cmp rax, 2
jb 0x140029c91
mov qword [rsi + 0x40], rdi
call fcn.14005e8a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0x40]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140029bf4
mov qword [rsp + 0x20], 0
xor r14d, r14d
mov rcx, rdi
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x140029bf7
movsxd rcx, dword [rax + 0x3c]
mov eax, dword [rax + rcx + 0x50]
mov qword [rsi + 0x38], rax
mov r14b, 1
jmp 0x140029bf7
call fcn.14005e8a0
mov r15, qword [rsi + 0x40]
cmp qword [0x14014ab58], 0
je 0x140029d22
mov rcx, qword [0x14014ab58]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r15
call qword [0x14012df48]
mov qword [rsi + 0x40], 0
jmp 0x140029a00
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140127472]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140029dae
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140029d5d
call qword [0x14012df48]
mov rcx, rax
xor edx, edx
call fcn.140021fb0
jmp 0x140029cff
xor ecx, ecx
mov dl, 1
jmp 0x140029d56
call fcn.14005e8a0
mov rcx, qword [rsi + 0x40]
call fcn.140093610
mov qword [rsi + 0x40], 0
jmp 0x140029c7c
mov r8d, 4
mov ebx, 2
jmp 0x1400299c5
mov r8d, 8
mov ebx, 1
jmp 0x1400299c5
mov ebx, 0xaaaaaaaa
xor r8d, r8d
jmp 0x1400299c5
int3
xor ecx, ecx
jmp 0x140029d54