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

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0xfb0]
mov eax, 0x10b0
call fcn.180386c90
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x10d8], rbx
mov qword [rsp + 0x10e0], rsi
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov rdi, rcx
xor r14d, r14d
mov word [rcx], r14w
mov qword [rcx + 0x208], r14
mov word [rcx + 0x210], r14w
mov qword [rcx + 0x418], r14
mov word [rcx + 0x420], r14w
mov qword [rcx + 0x628], r14
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x780]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x370]
call sub.VCRUNTIME140.dll_memset
mov word [rsp + 0x60], r14w
mov dword [rsp + 0x58], 0x207
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, str.Path
lea rdx, str.SOFTWARE2345Explorer
mov rcx, 0xffffffff80000002
call fcn.18015d870
test al, al
je 0x18015dc5c
lea rdx, [0x1803c0840]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x1803b2cb8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18015dc62
mov word [rsp + 0x60], r14w
mov word [rbp + 0x780], r14w
mov dword [rsp + 0x58], 0x207
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x780]
lea r8, str.Path
lea rdx, [0x1803b3318]
mov rcx, 0xffffffff80000002
call fcn.18015d870
test al, al
je 0x18015dcdb
lea rdx, [0x1803c0840]
lea rcx, [rbp + 0x780]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.2345chrome.exe
lea rcx, [rbp + 0x780]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp + 0x780]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18015dce3
mov word [rbp + 0x780], r14w
mov word [rbp + 0x370], r14w
mov dword [rsp + 0x58], 0x207
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x370]
lea r8, str.Path
lea rdx, [0x1803b3418]
mov rcx, 0xffffffff80000002
call fcn.18015d870
test al, al
je 0x18015dd5c
lea rdx, [0x1803c0840]
lea rcx, [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x1803b2f98]
lea rcx, [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18015dd64
mov word [rbp + 0x370], r14w
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0xb90]
call sub.VCRUNTIME140.dll_memset
mov ebx, r14d
lea rcx, [rbp + 0xb90]
call fcn.18015da30
test al, al
je 0x18015e0d4
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
mov r8d, 0xb
lea rdx, str.Shlwapi.dll
lea rcx, [rsp + 0x30]
call fcn.180004e70
nop
call fcn.180178c30
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.180178d10
mov rsi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x18015de1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18015de1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18015de1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
test rsi, rsi
je 0x18015e180
lea rdx, str.StrStrIW
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x18015e180
lea rdx, [0x1803b33c8]
lea rcx, [rbp + 0xb90]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18015e0a6
lea rdx, [0x1803b2cb8]
lea rcx, [rbp + 0xb90]
call rsi
test rax, rax
jne 0x18015e0a6
lea rdx, [0x1803b3288]
lea rcx, [rbp + 0xb90]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18015dff4
lea rdx, str.2345chrome.exe
lea rcx, [rbp + 0xb90]
call rsi
test rax, rax
jne 0x18015dff4
lea rdx, [0x1803b3368]
lea rcx, [rbp + 0xb90]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18015df85
lea rdx, [0x1803b2f98]
lea rcx, [rbp + 0xb90]
call rsi
test rax, rax
jne 0x18015df85
mov word [rdi], r14w
cmp word [rsp + 0x60], ax
je 0x18015df26
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [rdi + 0x208], r14d
mov ebx, 1
mov dword [rdi + 0x20c], 2
mov eax, ebx
imul rsi, rax, 0x210
add rsi, rdi
cmp word [rbp + 0x370], 0
mov word [rsi], r14w
je 0x18015df63
lea rdx, [rbp + 0x370]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [rsi + 0x208], r14d
mov dword [rsi + 0x20c], 4
inc ebx
cmp ebx, 3
jae 0x18015e180
mov eax, ebx
imul rbx, rax, 0x210
add rbx, rdi
cmp word [rbp + 0x780], 0
jmp 0x18015e159
mov word [rdi], r14w
cmp word [rbp + 0x370], 0
je 0x18015dfb8
lea rdx, [rbp + 0x370]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, 1
mov dword [rdi + 0x208], ebx
mov dword [rdi + 0x20c], 4
mov eax, ebx
imul rsi, rax, 0x210
add rsi, rdi
mov word [rsi], r14w
cmp word [rsp + 0x60], 0
je 0x18015df63
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [rsi + 0x208], r14d
mov dword [rsi + 0x20c], 2
jmp 0x18015df61
mov word [rdi], r14w
cmp word [rbp + 0x780], 0
je 0x18015e027
lea rdx, [rbp + 0x780]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, 1
mov dword [rdi + 0x208], ebx
mov dword [rdi + 0x20c], 3
mov eax, ebx
imul rsi, rax, 0x210
add rsi, rdi
mov word [rsi], r14w
cmp word [rsp + 0x60], 0
je 0x18015e060
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [rsi + 0x208], r14d
mov dword [rsi + 0x20c], 2
inc ebx
cmp ebx, 3
jae 0x18015e180
mov eax, ebx
imul rbx, rax, 0x210
add rbx, rdi
mov word [rbx], r14w
cmp word [rbp + 0x370], 0
je 0x18015e180
lea rdx, [rbp + 0x370]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [rbx + 0x20c], 4
jmp 0x18015e179
mov word [rdi], r14w
cmp word [rsp + 0x60], 0
je 0x18015df26
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, 1
mov dword [rdi + 0x208], ebx
jmp 0x18015df1c
mov word [rdi], r14w
cmp word [rsp + 0x60], bx
je 0x18015e103
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [rdi + 0x208], r14d
mov dword [rdi + 0x20c], 2
mov ebx, 1
mov eax, ebx
imul rsi, rax, 0x210
add rsi, rdi
mov word [rsi], r14w
cmp word [rbp + 0x370], r14w
je 0x18015e140
lea rdx, [rbp + 0x370]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [rsi + 0x208], r14d
mov dword [rsi + 0x20c], 4
inc ebx
cmp ebx, 3
jae 0x18015e180
mov eax, ebx
imul rbx, rax, 0x210
add rbx, rdi
cmp word [rbp + 0x780], r14w
mov word [rbx], r14w
je 0x18015e180
lea rdx, [rbp + 0x780]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [rbx + 0x20c], 3
mov dword [rbx + 0x208], r14d
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.180385c10
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret