Function at 0x1401e3b00
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 0x1401e3b4e
mov r15d, eax
shr r15d, 0x10
cmp r8d, 0xa
jae 0x1401e3b5b
xor al, al
jmp 0x1401e40a6
mov edx, 0x1c
lea rcx, [rbp - 0x18]
call fcn.1402081e0
nop
mov qword [rsp + 0x38], rdi
mov edx, 8
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 8
lea r8, str.Packages
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, 8
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x38], 0
jle 0x1401e3bd2
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov qword [rsp + 0x48], rdi
mov edx, 0x25
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
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.1402ba94c
mov edx, 0x25
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 8]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401e3c3a
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
mov qword [rsp + 0x58], rdi
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.1401fcb40
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 2
lea r8, [0x1403652f4]
mov rcx, qword [rsp + 0x50]
call fcn.1402ba94c
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.1401fde50
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x50]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x58], 0
jle 0x1401e3ca2
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
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.1400eb7d0
test al, al
je 0x1401e4038
mov eax, dword [rbp - 0x38]
test eax, eax
jle 0x1401e4038
mov rsi, qword [rbp - 0x30]
mov r14d, eax
nop dword [rax + rax]
mov r8d, 1
lea rdx, [0x1403652ec]
mov rcx, rsi
call fcn.1401ff2c0
test al, al
je 0x1401e402b
mov r8, rsi
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 8]
call fcn.1400d2ba0
nop
mov qword [rsp + 0x48], 0
mov edx, 0xd
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 0xd
lea r8, str.MicrosoftEdge
mov rcx, qword [rsp + 0x40]
call fcn.1402ba94c
mov edx, 0xd
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x60]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401e3d7a
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
mov rdi, qword [0x140416ee8]
test rdi, rdi
jne 0x1401e3d91
xor eax, eax
mov ebx, eax
mov qword [rsp + 0x38], rax
jmp 0x1401e3daa
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401e3d95
xor eax, eax
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x1401e3db8
lea rax, [0x140346ce0]
mov qword [rsp + 0x30], rax
jmp 0x1401e3ddd
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
xor edi, edi
cmp r15d, 0x3fab
jb 0x1401e3f01
mov qword [rsp + 0x68], rdi
lea edx, [rdi + 0x15]
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
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.1402ba94c
lea edx, [rdi + 0x15]
lea rcx, [rsp + 0x60]
call fcn.1401fde50
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x18]
call fcn.1400d2ba0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
cmp dword [rbp + 0x20], edi
jle 0x1401e3e90
mov rcx, qword [rbp + 0x18]
call fcn.1402b7350
nop
cmp dword [rsp + 0x68], 0
jle 0x1401e3ea1
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.1401ff680
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1401e3ed1
cmp dword [rbp - 0x68], 0
jle 0x1401e3ffa
mov rcx, qword [rbp - 0x70]
jmp 0x1401e3ff4
test al, 0x10
je 0x1401e3ebe
cmp dword [rbp - 0x68], 0
jle 0x1401e3ee4
mov rcx, qword [rbp - 0x70]
call fcn.1402b7350
mov byte [rsp + 0x20], 1
mov r9b, 1
mov r8, r12
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.1401e40d0
jmp 0x1401e3ffa
mov qword [rsp + 0x78], rdi
mov edx, 7
lea rcx, [rsp + 0x70]
call fcn.1401fcb40
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Cookies
mov rcx, qword [rsp + 0x70]
call fcn.1402ba94c
mov edx, 7
lea rcx, [rsp + 0x70]
call fcn.1401fde50
nop
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x28]
call fcn.1400d2ba0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
cmp dword [rbp + 0x30], 0
jle 0x1401e3f9f
mov rcx, qword [rbp + 0x28]
call fcn.1402b7350
nop
cmp dword [rsp + 0x78], 0
jle 0x1401e3fb0
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.1401ff680
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401e3fea
test al, 0x10
je 0x1401e3fea
cmp dword [rbp - 0x78], 0
jle 0x1401e3fe0
mov rcx, qword [rbp - 0x80]
call fcn.1402b7350
mov byte [rsp + 0x20], 0
jmp 0x1401e3ee9
cmp dword [rbp - 0x78], 0
jle 0x1401e3ffa
mov rcx, qword [rbp - 0x80]
call fcn.1402b7350
nop
cmp dword [rsp + 0x38], 0
jle 0x1401e400c
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
nop
cmp dword [rbp - 0x58], 0
jle 0x1401e401c
mov rcx, qword [rbp - 0x60]
call fcn.1402b7350
nop
cmp dword [rbp], 0
jle 0x1401e402b
mov rcx, qword [rbp - 8]
call fcn.1402b7350
add rsi, 0x10
dec r14
jne 0x1401e3ce0
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x1401e4065
lea rbx, [rax - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.1402b7cf4
mov rcx, rbx
call fcn.1402b712c
nop
cmp dword [rbp - 0x48], 0
jle 0x1401e4075
mov rcx, qword [rbp - 0x50]
call fcn.1402b7350
nop
cmp dword [rbp + 0x10], 0
jle 0x1401e4085
mov rcx, qword [rbp + 8]
call fcn.1402b7350
nop
cmp dword [rbp - 0x20], 0
jle 0x1401e4095
mov rcx, qword [rbp - 0x28]
call fcn.1402b7350
nop
cmp dword [rbp - 0x10], 0
jle 0x1401e40a4
mov rcx, qword [rbp - 0x18]
call fcn.1402b7350
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