Function at 0x140027cf0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2f8
movaps xmmword [rsp + 0x2e0], xmm7
movaps xmmword [rsp + 0x2d0], xmm6
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r12, rcx
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
movaps xmm6, xmmword [0x1401667f0]
lea rcx, [rsp + 0xb0]
movaps xmmword [rcx], xmm6
xor edx, edx
call fcn.1400370d0
call qword [sym.imp.ole32.dll_CoImpersonateClient]
test eax, eax
js 0x140027e30
mov qword [rsp + 0x38], rsi
mov ebp, dword [rsp + 0x370]
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x40]
mov qword [r15], rsi
mov ecx, 0x28
call fcn.1400b2ce8
mov r13, rax
lea rdx, [0x1400289d0]
lea r8, [0x1400289e0]
mov rcx, rax
call fcn.1400816c0
lea rbx, [rsp + 0x280]
mov qword [rbx], r13
mov rcx, r15
mov rdx, rbx
call fcn.1400817a0
lea r15, [rsp + 0xc0]
mov rcx, r15
mov edx, ebp
mov r8d, 0x40
call fcn.140102fa0
lea r13, [rsp + 0xb0]
mov rcx, r13
mov rdx, r15
call fcn.140037180
mov rcx, r15
call fcn.140037150
mov rcx, r13
call fcn.14007c710
test al, al
jne 0x140027e77
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140027e1e
movzx r15d, ax
or r15d, 0x80070000
test eax, eax
cmovle r15d, eax
lea rcx, [rsp + 0x40]
call fcn.1400817d0
test r15d, r15d
jns 0x140027e81
jmp 0x140027e33
lea rcx, [rsp + 0x40]
call fcn.1400817d0
mov r15d, 0x80004005
jmp 0x140027e33
mov r15d, eax
lea rcx, [rsp + 0xb0]
call fcn.140037150
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.1400b4010
mov eax, r15d
movaps xmm6, xmmword [rsp + 0x2d0]
movaps xmm7, xmmword [rsp + 0x2e0]
add rsp, 0x2f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x40]
call fcn.1400817d0
mov r15, qword [rsp + 0x360]
lea rcx, [rsp + 0x90]
mov qword [rcx + 0x10], rsi
movaps xmmword [rcx], xmm6
call fcn.140103a00
lea r13, [rsp + 0x260]
mov qword [r13 + 0x10], rsi
movaps xmmword [r13], xmm6
mov rcx, r13
call fcn.140103a00
mov rcx, r13
mov rdx, r15
call fcn.140103b30
test al, al
je 0x1400283cc
lea r15, [rsp + 0x240]
mov qword [r15 + 0x10], rsi
movaps xmmword [r15], xmm6
lea rcx, [rsp + 0x260]
call fcn.1400e6ae0
lea rcx, str.ChromeRecoveryCRX.crx
lea r8, [rsp + 0x230]
mov qword [r8], rcx
mov qword [r8 + 8], 0x15
mov rcx, rax
mov rdx, r15
call fcn.1400828e0
lea rcx, [rsp + 0x218]
mov rdx, r12
call fcn.140081850
lea rcx, [rsp + 0xc0]
movaps xmmword [rcx + 0x20], xmm6
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
call fcn.14003e830
call qword [sym.imp.ole32.dll_CoImpersonateClient]
test eax, eax
js 0x140028181
lea r15, [rsp + 0x280]
mov qword [r15], rsi
mov ecx, 0x28
call fcn.1400b2ce8
mov r12, rax
lea rdx, [0x1400289d0]
lea r8, [0x1400289e0]
mov rcx, rax
call fcn.1400816c0
lea rdx, [rsp + 0x200]
mov qword [rdx], r12
mov rcx, r15
call fcn.1400817a0
lea r15, [rsp + 0xc0]
lea rdx, [rsp + 0x218]
mov rcx, r15
mov r8d, 0x80021
call fcn.14003e8c0
mov rcx, r15
call fcn.14007d1f0
test al, al
je 0x140027ffc
lea rcx, [rsp + 0xc0]
call fcn.140038170
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
mov r15d, 0x80070057
cmp eax, 1
jne 0x140028106
lea rcx, [rsp + 0xc0]
call fcn.1400382b0
dec rax
cmp rax, 0x98967e
ja 0x140028106
lea rcx, [rsp + 0x280]
call fcn.1400817d0
jmp 0x140028031
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140028100
movzx r15d, ax
or r15d, 0x80070000
test eax, eax
cmovle r15d, eax
lea rcx, [rsp + 0x280]
call fcn.1400817d0
test r15d, r15d
js 0x140028184
lea r15, [rsp + 0x280]
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
mov rcx, r15
call fcn.14003e830
lea rdx, [rsp + 0x240]
mov rcx, r15
mov r8d, 0x80048
call fcn.14003e8c0
mov rcx, r15
call fcn.14007d1f0
test al, al
je 0x140028154
mov ecx, 0x10000
call fcn.1400b2ce8
mov r12, rax
mov r13, 0xffffffffffffffff
lea rax, [r12 + r13]
cmp rax, 0xffffffffffffffff
je 0x140028788
mov byte [r12 + r13 + 1], 0
inc r13
cmp r13, 0xffff
jne 0x140028089
xor r15d, r15d
lea rcx, [rsp + 0xc0]
mov rdx, r12
mov r8d, 0x10000
call fcn.14007d340
test eax, eax
js 0x14002811d
je 0x1400280fb
mov ebp, eax
mov eax, eax
add r15, rax
cmp r15, 0x989680
ja 0x140028115
lea rcx, [rsp + 0x280]
mov rdx, r12
mov r8d, ebp
call fcn.140038180
test eax, eax
js 0x14002811d
cmp eax, ebp
je 0x1400280ac
mov r15d, 0x8000ffff
jmp 0x14002813b
xor r15d, r15d
jmp 0x14002813b
mov r15d, 0x80004005
lea rcx, [rsp + 0x280]
call fcn.1400817d0
jmp 0x140028184
mov r15d, 0x80070057
jmp 0x14002813b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r15d, 0x80004005
cmovne r15d, ecx
test r12, r12
je 0x140028172
mov rax, r12
add rax, r13
cmp r13, rax
jae 0x140028314
jmp 0x1400287cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r15d, 0x80004005
cmovne r15d, ecx
lea rcx, [rsp + 0x280]
call fcn.1400834a0
jmp 0x140028184
mov r15d, eax
lea rcx, [rsp + 0xc0]
call fcn.1400834a0
lea rcx, [rsp + 0x218]
call fcn.1400819e0
test r15d, r15d
js 0x1400283bd
xorps xmm0, xmm0
movaps xmmword [rsp + 0x280], xmm0
xor r15d, r15d
mov qword [rsp + 0x290], r15
mov qword [rsp + 0xd0], r15
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0x2c0], r15
movaps xmmword [rsp + 0x2b0], xmm0
mov r12, qword [r14]
mov r13, qword [r14 + 8]
mov r14d, 0
sub r13, r12
je 0x14002822a
js 0x1400287d9
mov rcx, r13
call fcn.1400b2ce8
mov r15, rax
mov qword [rsp + 0x2b0], rax
lea r14, [rax + r13]
mov qword [rsp + 0x2c0], r14
mov rcx, rax
mov rdx, r12
mov r8, r13
call fcn.1400e6070
mov qword [rsp + 0x2b8], r14
mov ecx, 0x18
call fcn.1400b2ce8
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x208], rax
lea r13, [rax + 0x18]
mov qword [rsp + 0x210], r13
test rax, rax
je 0x140028788
mov r12, rax
xorps xmm7, xmm7
movups xmmword [rax], xmm7
mov qword [rax + 0x10], 0
sub r14, r15
je 0x1400282a2
js 0x1400287e6
mov rcx, r14
call fcn.1400b2ce8
mov qword [r12], rax
mov qword [r12 + 8], rax
lea rbp, [rax + r14]
mov qword [r12 + 0x10], rbp
mov rcx, rax
mov rdx, r15
mov r8, r14
call fcn.1400e6070
mov qword [r12 + 8], rbp
lea r14, [rsp + 0x200]
mov qword [r14 + 8], r13
movups xmmword [rsp + 0x28], xmm7
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x240]
lea r9, [rsp + 0xc0]
mov rdx, rdi
mov r8, r14
call fcn.1401061b0
mov edi, eax
mov rbx, qword [r14]
test rbx, rbx
je 0x140028348
mov r14, qword [rsp + 0x208]
mov rcx, rbx
cmp r14, rbx
je 0x14002833b
add r14, 0xffffffffffffffe8
test r14, r14
je 0x140028314
mov rcx, qword [r14]
test rcx, rcx
je 0x140028327
mov rax, qword [r14 + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x1400287ac
lea rcx, [0x1401668da]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1400e9a20
lea rax, [r14 - 0x18]
cmp r14, rbx
mov r14, rax
jne 0x1400282f1
mov rcx, qword [rsp + 0x200]
mov qword [rsp + 0x208], rbx
call fcn.1400b2d24
mov rcx, qword [rsp + 0x2b0]
test rcx, rcx
je 0x140028370
mov rax, qword [rsp + 0x2b8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140028314
jmp 0x14002879b
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140028398
mov rax, qword [rsp + 0xc8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140028314
jmp 0x1400287ba
mov r15d, 0x80092009
test edi, edi
je 0x140028677
cmp byte [rsp + 0x297], 0
jns 0x1400283bd
mov rcx, qword [rsp + 0x280]
call fcn.1400b2d24
lea rcx, [rsp + 0x240]
call fcn.1400819e0
jmp 0x1400283e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx r15d, ax
or r15d, 0x80070000
test eax, eax
cmovle r15d, eax
je 0x140028550
lea rcx, [rsp + 0x260]
call fcn.140103af0
test r15d, r15d
js 0x140028645
mov rdi, qword [rsp + 0x368]
lea rbx, [rsp + 0x280]
mov qword [rbx + 0x10], rsi
movaps xmmword [rbx], xmm6
lea rcx, [rsp + 0x90]
call fcn.1400e6ae0
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call fcn.14003e350
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.14003ea00
xor ebp, ebp
mov rcx, rdi
mov rdx, qword [rsp + 0x38]
xor r8d, r8d
call fcn.140105bb0
lea rsi, [rsp + 0xc0]
mov r8d, 0x98
mov rcx, rsi
mov dl, 0xaa
call fcn.1400e6710
mov rcx, rsi
call fcn.14003afb0
mov byte [rsi + 0x22], 1
lea rcx, [rsp + 0xc8]
call fcn.140038f50
lea rbx, [rsp + 0x260]
movaps xmmword [rbx], xmm6
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call fcn.1400377c0
mov rcx, rbx
call fcn.14007c710
test al, al
je 0x140028568
lea rsi, [rsp + 0x240]
mov qword [rsi], 0
lea rcx, [rsp + 0xb0]
call fcn.14007c730
mov rdi, rax
lea rcx, [rsp + 0x260]
call fcn.14007c730
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 0x140028568
mov rsi, qword [rsp + 0x240]
test rsi, rsi
je 0x14002866d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
xor r15d, r15d
cmp rsi, 0xffffffffffffffff
je 0x1400287a5
call fcn.1400816a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140028588
lea rcx, [rsp + 0x260]
call fcn.140103af0
mov r15d, 0x80004005
jmp 0x140028645
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r15d, 0x80004005
cmovne r15d, ecx
xor esi, esi
lea rcx, [rsp + 0x260]
call fcn.140037150
lea rcx, [rsp + 0xc0]
call fcn.14003b020
test r15d, r15d
js 0x140028617
mov rbx, qword [rsp + 0x378]
lea rcx, [rsp + 0x90]
lea rdi, [rsp + 0xc0]
mov rdx, rdi
call fcn.140103a10
mov rcx, rdi
call fcn.1400287f0
mov rcx, rdi
call fcn.1400819e0
lea r14, [rsi + 1]
cmp r14, 2
jb 0x1400285e6
call fcn.1400816a0
cmp qword [rbx], rsi
je 0x140028615
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rbx]
inc rax
cmp rax, 2
jae 0x140028657
cmp r14, 2
jb 0x14002860d
mov qword [rbx], rsi
call fcn.1400816a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14002862e
call fcn.1400816a0
mov rcx, rsi
call fcn.14007c190
lea rcx, [rsp + 0x40]
call fcn.14003ee50
lea rcx, [rsp + 0x280]
call fcn.1400819e0
lea rcx, [rsp + 0x90]
call fcn.140103af0
jmp 0x140027e33
call fcn.1400816a0
mov rcx, qword [rbx]
call fcn.14007c190
mov qword [rbx], 0
jmp 0x1400285ff
xor esi, esi
xor r15d, r15d
jmp 0x140028588
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 + 0x260]
call fcn.1400e6ae0
lea rcx, [rsp + 0x240]
mov rdx, rax
mov r8, rdi
call fcn.140107ba0
mov r15d, 0x8000ffff
test al, al
je 0x1400283a6
mov ecx, 1
call fcn.14007fe30
test al, al
je 0x14002870a
lea rcx, [rsp + 0x240]
call fcn.140038990
test al, al
jne 0x14002870a
lea rdx, str.....chromeelevation_serviceelevated_recovery_impl.cc
lea rdi, [rsp + 0xc0]
mov rcx, rdi
mov r8d, 0xbf
mov r9d, 1
call fcn.14003c490
mov rcx, rdi
call fcn.14003ca90
mov ecx, 1
call fcn.14007fe30
xor r15d, r15d
test al, al
je 0x1400283a6
lea rcx, [rsp + 0x260]
lea rdi, [rsp + 0x200]
mov rdx, rdi
call fcn.140103a10
lea rcx, [rsp + 0x90]
mov rdx, rdi
call fcn.140103bc0
test al, al
jne 0x140028776
lea rdx, str.....chromeelevation_serviceelevated_recovery_impl.cc
lea rdi, [rsp + 0xc0]
mov rcx, rdi
mov r8d, 0xc1
mov r9d, 1
call fcn.14003c490
mov rcx, rdi
call fcn.14003ca90
lea rcx, [rsp + 0x200]
call fcn.1400819e0
jmp 0x1400283a6
lea rcx, [0x1401668da]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1400e9a20
call fcn.1400b2d24
jmp 0x140028370
xor esi, esi
jmp 0x140028546
mov qword [r14 + 8], rcx
call fcn.1400b2d24
jmp 0x140028327
mov qword [rsp + 0xc8], rcx
call fcn.1400b2d24
jmp 0x140028398
mov rcx, r12
call fcn.1400b2d24
jmp 0x140028172
lea rcx, [rsp + 0x2b0]
call fcn.1400e7460
mov rcx, r12
call fcn.1400e7460
int3