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

Disassembly:
jmp 0x14002a110
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xd08
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x246
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xd28]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0xcc8], rax
lea rcx, [0x1400790af]
call fcn.140015b09
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x48], 0
mov eax, 0x1a
mov word [rbp + 0x88], ax
mov eax, 0x1c
mov word [rbp + 0x8a], ax
lea rax, str.ProgramFiles
mov qword [rbp + 0x90], rax
mov rax, qword [0x140070bf8]
cmp dword [rax + 8], 0x23f0
jae 0x14002a1af
lea rax, str.duser.dll
mov qword [rbp + 0x68], rax
jmp 0x14002a1ba
lea rax, str.OskSupport.dll
mov qword [rbp + 0x68], rax
xor r9d, r9d
lea r8, str.MpManagerOpen
mov edx, dword [rbp + 0xcf8]
mov rcx, qword [rbp + 0xcf0]
call fcn.140015681
test eax, eax
jne 0x14002a1df
jmp 0x14002a422
mov edx, 0x410
lea rcx, [rbp + 0x4f0]
call fcn.1400157e4
mov rax, qword [0x140070bf8]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x4f0]
call fcn.1400151ea
mov rdx, qword [rbp + 0x68]
lea rcx, [rbp + 0x4f0]
call fcn.140015a96
mov r8d, dword [rbp + 0xcf8]
mov rdx, qword [rbp + 0xcf0]
lea rcx, [rbp + 0x4f0]
call fcn.140015127
test eax, eax
jne 0x14002a23f
jmp 0x14002a422
lea rcx, [rbp + 0x88]
call fcn.140015398
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14002a25b
jmp 0x14002a422
mov rcx, qword [rbp + 0x48]
call fcn.14001528a
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14002a279
cmp qword [rbp + 0x28], 0x104
jbe 0x14002a27e
jmp 0x14002a422
mov edx, 0x410
lea rcx, [rbp + 0xc0]
call fcn.1400157e4
mov r9d, 0x104
mov r8, qword [rbp + 0x48]
mov edx, 0x104
lea rcx, [rbp + 0xc0]
call fcn.140015578
lea rdx, [0x14004a640]
lea rcx, [rbp + 0xc0]
call fcn.140015a96
lea rdx, str.Windows_Media_Player
lea rcx, [rbp + 0xc0]
call fcn.140015a96
lea rdx, [0x14004a640]
lea rcx, [rbp + 0xc0]
call fcn.140015a96
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002a30e
lea rdx, str.Windows_Media_Player
mov rcx, qword [rbp + 0x48]
call fcn.1400156e0
test eax, eax
jne 0x14002a30e
jmp 0x14002a422
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x4f0]
call fcn.14001512c
test eax, eax
jne 0x14002a32a
jmp 0x14002a422
mov edx, 0x410
lea rcx, [rbp + 0x4f0]
call fcn.1400157e4
mov rax, qword [0x140070bf8]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0x4f0]
call fcn.1400151ea
lea rdx, str.osk.exe
lea rcx, [rbp + 0x4f0]
call fcn.140015a96
xor r8d, r8d
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x4f0]
call fcn.1400159c9
test eax, eax
jne 0x14002a389
jmp 0x14002a422
lea rdx, str.osk.exe
lea rcx, [rbp + 0xc0]
call fcn.140015a96
mov dword [rsp + 0x20], 0
mov r9d, 5
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xc0]
call fcn.140015852
test eax, eax
je 0x14002a418
mov rax, qword [0x140070bf8]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.1400151ea
lea rdx, str.eventvwr.exe
lea rcx, [rbp + 0xc0]
call fcn.140015a96
mov dword [rsp + 0x20], 0
mov r9d, 5
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xc0]
call fcn.140015852
test eax, eax
je 0x14002a418
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x14002a192
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x140053950]
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0xcc8]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0xcd8]
pop rdi
pop rbp
ret