Function at 0x14001b750
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2e8
movaps xmmword [rsp + 0x2d0], xmm7
movaps xmmword [rsp + 0x2c0], xmm6
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
mov rax, qword [0x140160040]
xor rax, rsp
mov qword [rsp + 0x2b8], rax
movaps xmm6, xmmword [0x1401382b0]
lea rcx, [rsp + 0xb0]
movaps xmmword [rcx], xmm6
xor edx, edx
call fcn.140029c90
call qword [sym.imp.ole32.dll_CoImpersonateClient]
test eax, eax
js 0x14001b823
mov edx, dword [rsp + 0x360]
lea r14, [rsp + 0xc0]
mov rcx, r14
mov r8d, 0x40
call fcn.1400c6c20
lea r12, [rsp + 0xb0]
mov rcx, r12
mov rdx, r14
call fcn.140029d40
mov rcx, r14
call fcn.140029d10
mov rcx, r12
call fcn.14005f1c0
test al, al
jne 0x14001b83c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14001b82b
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
call qword [sym.imp.ole32.dll_CoRevertToSelf]
test r14d, r14d
jns 0x14001b842
jmp 0x14001bf75
mov r14d, eax
jmp 0x14001bf75
call qword [sym.imp.ole32.dll_CoRevertToSelf]
mov r14d, 0x80004005
jmp 0x14001bf75
call qword [sym.imp.ole32.dll_CoRevertToSelf]
mov r14, qword [rsp + 0x350]
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x90]
mov qword [rcx + 0x10], r13
movaps xmmword [rcx], xmm6
call fcn.1400c9b40
lea r12, [rsp + 0x250]
mov qword [r12 + 0x10], r13
movaps xmmword [r12], xmm6
mov rcx, r12
call fcn.1400c9b40
mov rcx, r12
mov rdx, r14
call fcn.1400c9c70
test al, al
jne 0x14001b8c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
jne 0x14001bd22
lea rcx, [rsp + 0x250]
call fcn.1400c9c30
mov r14d, 0x80004005
jmp 0x14001bf68
lea r14, [rsp + 0x230]
mov qword [r14 + 0x10], r13
movaps xmmword [r14], xmm6
lea rcx, [rsp + 0x250]
call fcn.1400aa1d0
lea rcx, str.ChromeRecoveryCRX.crx
lea r8, [rsp + 0x220]
mov qword [r8], rcx
mov qword [r8 + 8], 0x15
mov rcx, rax
mov rdx, r14
call fcn.14002d950
lea rcx, [rsp + 0x208]
mov rdx, r15
call fcn.14002d4f0
lea rcx, [rsp + 0xc0]
movaps xmmword [rcx + 0x20], xmm6
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
call fcn.14002e1b0
call qword [sym.imp.ole32.dll_CoImpersonateClient]
test eax, eax
js 0x14001bb19
lea r14, [rsp + 0xc0]
lea rdx, [rsp + 0x208]
mov rcx, r14
mov r8d, 0x80021
call fcn.14002e240
mov rcx, r14
call fcn.14002a340
test al, al
je 0x14001b9b1
lea rcx, [rsp + 0xc0]
call fcn.14002a350
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
mov r14d, 0x80070057
cmp eax, 1
jne 0x14001baaf
lea rcx, [rsp + 0xc0]
call fcn.14002a4a0
dec rax
cmp rax, 0x98967e
ja 0x14001baaf
call qword [sym.imp.ole32.dll_CoRevertToSelf]
jmp 0x14001b9df
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14001baa9
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
call qword [sym.imp.ole32.dll_CoRevertToSelf]
test r14d, r14d
js 0x14001bb1c
lea r14, [rsp + 0x270]
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
mov rcx, r14
call fcn.14002e1b0
lea rdx, [rsp + 0x230]
mov rcx, r14
mov r8d, 0x80048
call fcn.14002e240
mov rcx, r14
call fcn.14002a340
test al, al
je 0x14001baec
mov ecx, 0x10000
call fcn.1400763d4
mov r15, rax
neg rax
xor ecx, ecx
cmp rax, rcx
je 0x14001c0ed
mov byte [r15 + rcx], 0
inc rcx
cmp rcx, 0x10000
jne 0x14001ba35
xor r12d, r12d
lea r14, [rsp + 0xc0]
mov rcx, r14
mov rdx, r15
mov r8d, 0x10000
call fcn.1400c7960
test eax, eax
js 0x14001babf
je 0x14001baa4
mov ebp, eax
mov eax, eax
add r12, rax
cmp r12, 0x989680
ja 0x14001bab7
lea rcx, [rsp + 0x270]
mov rdx, r15
mov r8d, ebp
call fcn.1400c7aa0
test eax, eax
js 0x14001babf
cmp eax, ebp
je 0x14001ba5a
mov r14d, 0x8000ffff
jmp 0x14001badd
xor r14d, r14d
jmp 0x14001badd
mov r14d, 0x80004005
call qword [sym.imp.ole32.dll_CoRevertToSelf]
jmp 0x14001bb1c
mov r14d, 0x80070057
jmp 0x14001badd
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r14d, 0x80004005
cmovne r14d, ecx
test r15, r15
je 0x14001bb0a
mov rcx, r15
call fcn.140076410
jmp 0x14001bb0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r14d, 0x80004005
cmovne r14d, ecx
lea rcx, [rsp + 0x270]
call fcn.14002e3a0
jmp 0x14001bb1c
mov r14d, eax
lea rcx, [rsp + 0xc0]
call fcn.14002e3a0
lea rcx, [rsp + 0x208]
call fcn.14002d530
test r14d, r14d
js 0x14001bd15
xorps xmm0, xmm0
movaps xmmword [rsp + 0x270], xmm0
xor r14d, r14d
mov qword [rsp + 0x280], r14
mov qword [rsp + 0xd0], r14
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0x2b0], r14
movaps xmmword [rsp + 0x2a0], xmm0
mov r15, qword [rbx]
mov r12, qword [rbx + 8]
mov ebx, 0
sub r12, r15
je 0x14001bbc1
js 0x14001c0f6
mov rcx, r12
call fcn.1400763d4
mov r14, rax
mov qword [rsp + 0x2a0], rax
lea rbx, [rax + r12]
mov qword [rsp + 0x2b0], rbx
mov rcx, rax
mov rdx, r15
mov r8, r12
call fcn.1400a9760
mov qword [rsp + reloc.SHELL32.dll_IsUserAnAdmin], rbx
mov ecx, 0x18
call fcn.1400763d4
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x1f8], rax
lea r12, [rax + 0x18]
mov qword [rsp + 0x200], r12
test rax, rax
je 0x14001c0ed
mov r15, rax
xorps xmm7, xmm7
movups xmmword [rax], xmm7
mov qword [rax + 0x10], 0
sub rbx, r14
je 0x14001bc35
js 0x14001c103
mov rcx, rbx
call fcn.1400763d4
mov qword [r15], rax
mov qword [r15 + 8], rax
lea rbp, [rax + rbx]
mov qword [r15 + 0x10], rbp
mov rcx, rax
mov rdx, r14
mov r8, rbx
call fcn.1400a9760
mov qword [r15 + 8], rbp
lea rbx, [rsp + 0x1f0]
mov qword [rbx + 8], r12
movups xmmword [rsp + 0x28], xmm7
lea rax, [rsp + 0x270]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x230]
lea r9, [rsp + 0xc0]
mov rdx, rdi
mov r8, rbx
call fcn.1400ce6a0
mov edi, eax
mov rdx, qword [rbx]
test rdx, rdx
je 0x14001bc90
lea rbx, [rsp + 0x1f0]
mov rcx, rbx
call fcn.1400ab410
mov rcx, qword [rbx]
call fcn.140076410
mov rcx, qword [rsp + 0x2a0]
test rcx, rcx
je 0x14001bcbc
mov rax, qword [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14001c0ed
call fcn.140076410
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14001bcf0
mov rax, qword [rsp + 0xc8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14001c0ed
mov qword [rsp + 0xc8], rcx
call fcn.140076410
mov r14d, 0x80092009
test edi, edi
je 0x14001bfd2
cmp byte [rsp + 0x287], 0
jns 0x14001bd15
mov rcx, qword [rsp + 0x270]
call fcn.140076410
lea rcx, [rsp + 0x230]
call fcn.14002d530
lea rcx, [rsp + 0x250]
call fcn.1400c9c30
test r14d, r14d
js 0x14001bf68
mov rdi, qword [rsp + 0x358]
lea rbx, [rsp + 0x270]
mov qword [rbx + 0x10], r13
movaps xmmword [rbx], xmm6
lea rcx, [rsp + 0x90]
call fcn.1400aa1d0
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call fcn.1400cd4c0
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x40], xmm6
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
mov rcx, rdi
mov rdx, rbx
call fcn.14002e3f0
xor ebp, ebp
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
call fcn.1400cdbb0
lea rsi, [rsp + 0xc0]
mov r8d, 0x98
mov rcx, rsi
mov dl, 0xaa
call fcn.1400a9e00
mov rcx, rsi
call fcn.1400c99f0
mov byte [rsi + 0x22], 1
lea rcx, [rsp + 0xc8]
call fcn.1400c84b0
lea rbx, [rsp + 0x250]
movaps xmmword [rbx], xmm6
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call fcn.1400c6d80
mov rcx, rbx
call fcn.14005f1c0
test al, al
je 0x14001be87
lea rsi, [rsp + 0x230]
mov qword [rsi], 0
lea rcx, [rsp + 0xb0]
call fcn.140029e20
mov rdi, rax
lea rcx, [rsp + 0x250]
call fcn.140029e20
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 0x101000
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14001be87
mov rsi, qword [rsp + 0x230]
test rsi, rsi
je 0x14001c0e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
xor r14d, r14d
cmp rsi, 0xffffffffffffffff
je 0x14001c0ef
call fcn.1400616b0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14001bea7
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r14d, 0x80004005
cmovne r14d, ecx
xor esi, esi
lea rcx, [rsp + 0x250]
call fcn.140029d10
lea rcx, [rsp + 0xc0]
call fcn.1400c9a60
test r14d, r14d
js 0x14001bf3a
mov rbx, qword [rsp + 0x368]
lea rcx, [rsp + 0x90]
lea rdi, [rsp + 0xc0]
mov rdx, rdi
call fcn.1400c9b50
mov rcx, rdi
call fcn.14001c110
mov rcx, rdi
call fcn.14002d530
lea r15, [rsi + 1]
cmp r15, 2
jb 0x14001bf05
call fcn.1400616b0
cmp qword [rbx], rsi
je 0x14001bf38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rbx]
inc rax
cmp rax, 2
jae 0x14001bfb9
cmp r15, 2
jb 0x14001bf30
mov qword [rbx], rsi
call fcn.1400616b0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14001bf51
call fcn.1400616b0
mov rcx, rsi
call fcn.14005ed70
lea rcx, [rsp + 0x40]
call fcn.14002e7a0
lea rcx, [rsp + 0x270]
call fcn.14002d530
lea rcx, [rsp + 0x90]
call fcn.1400c9c30
lea rcx, [rsp + 0xb0]
call fcn.140029d10
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.140077700
mov eax, r14d
movaps xmm6, xmmword [rsp + 0x2c0]
movaps xmm7, xmmword [rsp + 0x2d0]
add rsp, 0x2e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400616b0
mov rcx, qword [rbx]
call fcn.14005ed70
mov qword [rbx], 0
jmp 0x14001bf22
xorps xmm0, xmm0
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov byte [rdi + 0x40], 0
lea rcx, [rsp + 0x250]
call fcn.1400aa1d0
lea rcx, [rsp + 0x230]
mov rdx, rax
mov r8, rdi
call fcn.1400d02d0
mov r14d, 0x8000ffff
test al, al
je 0x14001bcfe
mov ecx, 1
call fcn.14002cd10
test al, al
je 0x14001c065
lea rcx, [rsp + 0x230]
call fcn.1400c7f40
test al, al
jne 0x14001c065
lea rdx, str.....chromeelevation_serviceelevated_recovery_impl.cc
lea rdi, [rsp + 0xc0]
mov rcx, rdi
mov r8d, 0xbc
mov r9d, 1
call fcn.1400cabc0
mov rcx, rdi
call fcn.1400caff0
mov ecx, 1
call fcn.14002cd10
xor r14d, r14d
test al, al
je 0x14001bcfe
lea rcx, [rsp + 0x250]
lea rdi, [rsp + 0x1f0]
mov rdx, rdi
call fcn.1400c9b50
lea rcx, [rsp + 0x90]
mov rdx, rdi
call fcn.1400c9cf0
test al, al
jne 0x14001c0d1
lea rdx, str.....chromeelevation_serviceelevated_recovery_impl.cc
lea rdi, [rsp + 0xc0]
mov rcx, rdi
mov r8d, 0xbe
mov r9d, 1
call fcn.1400cabc0
mov rcx, rdi
call fcn.1400caff0
lea rcx, [rsp + 0x1f0]
call fcn.14002d530
jmp 0x14001bcfe
xor esi, esi
xor r14d, r14d
jmp 0x14001bea7
ud2
xor esi, esi
jmp 0x14001be7d
lea rcx, [rsp + 0x2a0]
call fcn.1400ab000
mov rcx, r15
call fcn.1400ab000
int3