Function at 0x1401e7ef0
Capabilities:
Check if file exists
Check os version
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r12, rdx
mov r13, rcx
xor edi, edi
mov r15d, edi
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx r8d, al
cmp eax, 0x80000000
jae 0x1401e7f3e
mov r15d, eax
shr r15d, 0x10
cmp r8d, 0xa
jae 0x1401e7f4b
xor al, al
jmp 0x1401e8496
mov edx, 0x1c
lea rcx, [rbp - 0x18]
call fcn.14020e790
nop
mov qword [rsp + 0x38], rdi
mov edx, 8
lea rcx, [rsp + 0x30]
call fcn.1402028a0
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 8
lea r8, str.Packages
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, 8
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.1400d4050
nop
cmp dword [rsp + 0x38], 0
jle 0x1401e7fc2
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
mov qword [rsp + 0x48], rdi
mov edx, 0x25
lea rcx, [rsp + 0x40]
call fcn.1402028a0
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 0x25
lea r8, str.Microsoft.MicrosoftEdge_8wekyb3d8bbwe
mov rcx, qword [rsp + 0x40]
call fcn.1402c06dc
mov edx, 0x25
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 8]
call fcn.1400d4050
nop
cmp dword [rsp + 0x48], 0
jle 0x1401e802a
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
mov qword [rsp + 0x58], rdi
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.1402028a0
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 2
lea r8, [0x14036bfe4]
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x50]
call fcn.1400d4050
nop
cmp dword [rsp + 0x58], 0
jle 0x1401e8092
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
lea rax, vtable.Core::Array_class_Core::String_.0
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], edi
mov qword [rbp - 0x30], rdi
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
call fcn.1400edfe0
test al, al
je 0x1401e8428
mov eax, dword [rbp - 0x38]
test eax, eax
jle 0x1401e8428
mov rsi, qword [rbp - 0x30]
mov r14d, eax
nop dword [rax + rax]
mov r8d, 1
lea rdx, [0x14036bfdc]
mov rcx, rsi
call fcn.140205020
test al, al
je 0x1401e841b
mov r8, rsi
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 8]
call fcn.1400d4050
nop
mov qword [rsp + 0x48], 0
mov edx, 0xd
lea rcx, [rsp + 0x40]
call fcn.1402028a0
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 0xd
lea r8, str.MicrosoftEdge
mov rcx, qword [rsp + 0x40]
call fcn.1402c06dc
mov edx, 0xd
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x60]
call fcn.1400d4050
nop
cmp dword [rsp + 0x48], 0
jle 0x1401e816a
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
mov rdi, qword [0x14041eee8]
test rdi, rdi
jne 0x1401e8181
xor eax, eax
mov ebx, eax
mov qword [rsp + 0x38], rax
jmp 0x1401e819a
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401e8185
xor eax, eax
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x1401e81a8
lea rax, [0x14034d1a0]
mov qword [rsp + 0x30], rax
jmp 0x1401e81cd
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
xor edi, edi
cmp r15d, 0x3fab
jb 0x1401e82f1
mov qword [rsp + 0x68], rdi
lea edx, [rdi + 0x15]
lea rcx, [rsp + 0x60]
call fcn.1402028a0
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
lea r9d, [rdi + 0x15]
lea r8, str.UserDefaultDOMStore
mov rcx, qword [rsp + 0x60]
call fcn.1402c06dc
lea edx, [rdi + 0x15]
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x18]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x38]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
cmp dword [rbp + 0x20], edi
jle 0x1401e8280
mov rcx, qword [rbp + 0x18]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x68], 0
jle 0x1401e8291
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.1402053e0
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1401e82c1
cmp dword [rbp - 0x68], 0
jle 0x1401e83ea
mov rcx, qword [rbp - 0x70]
jmp 0x1401e83e4
test al, 0x10
je 0x1401e82ae
cmp dword [rbp - 0x68], 0
jle 0x1401e82d4
mov rcx, qword [rbp - 0x70]
call fcn.1402bd0e0
mov byte [rsp + 0x20], 1
mov r9b, 1
mov r8, r12
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.1401e84c0
jmp 0x1401e83ea
mov qword [rsp + 0x78], rdi
mov edx, 7
lea rcx, [rsp + 0x70]
call fcn.1402028a0
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Cookies
mov rcx, qword [rsp + 0x70]
call fcn.1402c06dc
mov edx, 7
lea rcx, [rsp + 0x70]
call fcn.140203bb0
nop
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x28]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x38]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
cmp dword [rbp + 0x30], 0
jle 0x1401e838f
mov rcx, qword [rbp + 0x28]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x78], 0
jle 0x1401e83a0
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.1402053e0
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401e83da
test al, 0x10
je 0x1401e83da
cmp dword [rbp - 0x78], 0
jle 0x1401e83d0
mov rcx, qword [rbp - 0x80]
call fcn.1402bd0e0
mov byte [rsp + 0x20], 0
jmp 0x1401e82d9
cmp dword [rbp - 0x78], 0
jle 0x1401e83ea
mov rcx, qword [rbp - 0x80]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x38], 0
jle 0x1401e83fc
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x58], 0
jle 0x1401e840c
mov rcx, qword [rbp - 0x60]
call fcn.1402bd0e0
nop
cmp dword [rbp], 0
jle 0x1401e841b
mov rcx, qword [rbp - 8]
call fcn.1402bd0e0
add rsi, 0x10
dec r14
jne 0x1401e80d0
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x1401e8455
lea rbx, [rax - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.1402bda84
mov rcx, rbx
call fcn.1402bcebc
nop
cmp dword [rbp - 0x48], 0
jle 0x1401e8465
mov rcx, qword [rbp - 0x50]
call fcn.1402bd0e0
nop
cmp dword [rbp + 0x10], 0
jle 0x1401e8475
mov rcx, qword [rbp + 8]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x20], 0
jle 0x1401e8485
mov rcx, qword [rbp - 0x28]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x10], 0
jle 0x1401e8494
mov rcx, qword [rbp - 0x18]
call fcn.1402bd0e0
mov al, 1
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret