Function at 0x18007ee10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x818]
sub rsp, 0x8f0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rsi, r8
mov r14d, edx
mov rbx, rcx
xor edx, edx
mov r8d, 0x40e
lea rcx, [rbp - 0x3e]
call fcn.180140c00
xor r15d, r15d
mov word [rbp - 0x40], r15w
mov dword [rbp - 0x68], 0x207
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
lea r8, str.Path
lea rdx, str.SOFTWARE2345Explorer
mov rcx, 0xffffffff80000002
call fcn.18007e2c0
test al, al
je 0x18007eed0
lea rdx, [0x1801aa260]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.2345Explorer.exe
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18007eed5
mov word [rbp - 0x40], r15w
xor dil, dil
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18007f3c1
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r15
mov word [rsp + 0x58], r15w
cmp word [rbp - 0x40], r15w
jne 0x18007ef15
mov r8, r15
jmp 0x18007ef2a
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x18007ef20
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.180005920
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.180027b60
nop
cmp qword [rsp + 0x70], 8
jb 0x18007ef5b
mov rcx, qword [rsp + 0x58]
call fcn.180139b7c
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r15
mov word [rsp + 0x58], r15w
mov dword [rsp + 0x78], r15d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.180090250
movzx edi, dil
mov r12d, 1
cmp dword [rsp + 0x78], 7
cmovge edi, r12d
cmp qword [rsp + 0x50], 8
jb 0x18007efa8
mov rcx, qword [rsp + 0x38]
call fcn.180139b7c
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
test dil, dil
je 0x18007f3c1
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r15
mov word [rbp - 0x60], r15w
lea rcx, [rbp - 0x60]
cmp r14d, 1
jne 0x18007f00b
cmp qword [rbx + 0x10], 0
je 0x18007effc
lea r8d, [r14 + 0x24]
lea rdx, str.__set_default_launch_actioninstaller
jmp 0x18007f02e
mov r8d, 0x23
lea rdx, str.__only_set_default_actioninstaller
jmp 0x18007f02e
cmp qword [rbx + 0x10], 0
je 0x18007f021
mov r8d, 0x24
lea rdx, str.__set_default_launch_actionsoftware
jmp 0x18007f02e
mov r8d, 0x22
lea rdx, str.__only_set_default_actionsoftware
call fcn.180005920
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r15
mov word [rsp + 0x58], r15w
cmp qword [rsi + 0x10], 0
je 0x18007f083
mov r8d, 0x13
lea rdx, str.__set_default_from
lea rcx, [rsp + 0x58]
call fcn.180005920
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.180005670
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r15
mov word [rsp + 0x78], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
call fcn.180005670
cmp qword [rsp + 0x68], 0
je 0x18007f0e4
mov r8, r12
lea rdx, [0x1801ab184]
lea rcx, [rsp + 0x78]
call fcn.1800057b0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.180005670
cmp qword [rbx + 0x10], 0
je 0x18007f13b
mov r8, r12
lea rdx, [0x1801ab184]
lea rcx, [rsp + 0x78]
call fcn.1800057b0
mov r8, r12
lea rdx, [0x1801ab180]
lea rcx, [rsp + 0x78]
call fcn.1800057b0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.180005670
mov r8, r12
lea rdx, [0x1801ab180]
lea rcx, [rsp + 0x78]
call fcn.1800057b0
xor sil, sil
mov word [rbp + 0x3d0], r15w
xor edx, edx
mov r8d, 0x40e
lea rcx, [rbp + 0x3d2]
call fcn.180140c00
lea rcx, [rbp + 0x3d0]
call fcn.18007e5c0
test al, al
je 0x18007f259
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov r8d, 0xb
lea rdx, str.Shlwapi.dll
lea rcx, [rsp + 0x38]
call fcn.180005920
nop
mov eax, dword [0x18034db90]
test al, 1
jne 0x18007f1d2
or eax, 1
mov dword [0x18034db90], eax
xor eax, eax
mov qword [0x18034db88], rax
call fcn.180064890
lea rcx, [0x180197b50]
call fcn.180139aec
nop
lea rdx, [rsp + 0x38]
lea rcx, [0x18034db88]
call fcn.180064a80
mov rbx, rax
cmp qword [rsp + 0x50], 8
jb 0x18007f1f8
mov rcx, qword [rsp + 0x38]
call fcn.180139b7c
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
test rbx, rbx
je 0x18007f259
lea rdx, str.StrStrIW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x18007f259
lea rdx, str.2345ExplorerHTML
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18007f256
lea rdx, str.2345Explorer.exe
lea rcx, [rbp + 0x3d0]
call rbx
test rax, rax
je 0x18007f259
mov sil, 1
mov ebx, r15d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov r8d, 0xb
lea rdx, [0x1801aa748]
lea rcx, [rsp + 0x38]
call fcn.180005920
nop
mov eax, dword [0x18034db90]
test al, 1
jne 0x18007f2c0
or eax, 1
mov dword [0x18034db90], eax
xor eax, eax
mov qword [0x18034db88], rax
call fcn.180064890
lea rcx, [0x180197b50]
call fcn.180139aec
nop
lea rdx, [rsp + 0x38]
lea rcx, [0x18034db88]
call fcn.180064a80
mov rdi, rax
cmp qword [rsp + 0x50], 8
jb 0x18007f2e6
mov rcx, qword [rsp + 0x38]
call fcn.180139b7c
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
test rdi, rdi
je 0x18007f353
lea rdx, str.ShellExecuteW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18007f353
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r9, qword [rsp + 0x78]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r15
lea r8, [rbp - 0x40]
lea rdx, str.open
xor ecx, ecx
call rax
cmp rax, 0x20
jbe 0x18007f353
mov ebx, 0x12
mov eax, 2
test sil, sil
cmovne ebx, eax
cmp qword [rbp - 0x70], 8
jb 0x18007f364
mov rcx, qword [rsp + 0x78]
call fcn.180139b7c
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r15
mov word [rsp + 0x78], r15w
cmp qword [rsp + 0x70], 8
jb 0x18007f388
mov rcx, qword [rsp + 0x58]
call fcn.180139b7c
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r15
mov word [rsp + 0x58], r15w
cmp qword [rbp - 0x48], 8
jb 0x18007f3ac
mov rcx, qword [rbp - 0x60]
call fcn.180139b7c
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r15
mov word [rbp - 0x60], r15w
mov eax, ebx
jmp 0x18007f3de
cmp qword [rbx + 0x10], 0
jne 0x18007f3cc
xor eax, eax
jmp 0x18007f3de
cmp qword [rbx + 0x18], 8
jb 0x18007f3d6
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.18007eb20
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.180139310
lea r11, [rsp + 0x8f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret