Function at 0x140016ba4
Capabilities:
Access pe header
Check if file exists
Get file attributes

Disassembly:
jmp 0x14002ccd0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xd88
lea rbp, [rsp + 0x30]
mov rdi, rsp
mov ecx, 0x362
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xda8]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0xd48], rax
lea rcx, [0x14006d19a]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x68], 0
mov eax, 0x1a
mov word [rbp + 0x108], ax
mov eax, 0x1c
mov word [rbp + 0x10a], ax
lea rax, str.ProgramFiles
mov qword [rbp + 0x110], rax
mov rax, qword [0x140065a08]
cmp dword [rax + 0x5c], 0x23f0
jae 0x14002cd70
lea rax, str.duser.dll
mov qword [rbp + 0x88], rax
jmp 0x14002cd7e
lea rax, str.OskSupport.dll
mov qword [rbp + 0x88], rax
mov rcx, qword [rbp + 0xd70]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
jne 0x14002cda8
mov dword [rbp + 4], 0xc000007b
jmp 0x14002d097
mov dword [rbp + 0x44], 0
lea rdx, [rbp + 0x44]
mov rcx, qword [rbp + 0xd70]
call fcn.1400164a6
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
je 0x14002ce45
lea rdx, str._FubukiProc1
mov rcx, qword [rbp + 0xc8]
call fcn.140016aa0
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x14002ce2e
mov rax, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xa8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0xe8]
mov dword [rcx + 0x28], eax
mov edx, dword [rbp + 0xd78]
mov rcx, qword [rbp + 0xd70]
call fcn.1400160dc
mov rcx, qword [rbp + 0xe8]
mov dword [rcx + 0x58], eax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14002ce51
mov dword [rbp + 4], 0x40000003
jmp 0x14002d097
mov edx, 0x410
lea rcx, [rbp + 0x570]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x570]
call fcn.14001616d
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0x570]
call fcn.1400165e1
mov r8d, dword [rbp + 0xd78]
mov rdx, qword [rbp + 0xd70]
lea rcx, [rbp + 0x570]
call fcn.140016ad7
test eax, eax
jne 0x14002ceb4
jmp 0x14002d097
lea rcx, [rbp + 0x108]
call fcn.14001613b
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14002ced0
jmp 0x14002d097
mov rcx, qword [rbp + 0x68]
call fcn.14001680c
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14002ceee
cmp qword [rbp + 0x28], 0x104
jbe 0x14002cef3
jmp 0x14002d097
mov edx, 0x410
lea rcx, [rbp + 0x140]
call fcn.140016c2b
mov r9d, 0x104
mov r8, qword [rbp + 0x68]
mov edx, 0x104
lea rcx, [rbp + 0x140]
call fcn.140016bd1
lea rdx, [0x140048324]
lea rcx, [rbp + 0x140]
call fcn.1400165e1
lea rdx, str.Windows_Media_Player
lea rcx, [rbp + 0x140]
call fcn.1400165e1
lea rdx, [0x140048324]
lea rcx, [rbp + 0x140]
call fcn.1400165e1
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002cf83
lea rdx, str.Windows_Media_Player
mov rcx, qword [rbp + 0x68]
call fcn.140016096
test eax, eax
jne 0x14002cf83
jmp 0x14002d097
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x570]
call fcn.1400168de
test eax, eax
jne 0x14002cf9f
jmp 0x14002d097
mov edx, 0x410
lea rcx, [rbp + 0x570]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x570]
call fcn.14001616d
lea rdx, str.osk.exe
lea rcx, [rbp + 0x570]
call fcn.1400165e1
xor r8d, r8d
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x570]
call fcn.1400161ae
test eax, eax
jne 0x14002cffe
jmp 0x14002d097
lea rdx, str.osk.exe
lea rcx, [rbp + 0x140]
call fcn.1400165e1
mov dword [rsp + 0x20], 0
mov r9d, 5
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x140]
call fcn.14001664a
test eax, eax
je 0x14002d08d
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.14001616d
lea rdx, str.eventvwr.exe
lea rcx, [rbp + 0x140]
call fcn.1400165e1
mov dword [rsp + 0x20], 0
mov r9d, 5
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x140]
call fcn.14001664a
test eax, eax
je 0x14002d08d
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x14002cd50
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14004c360]
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0xd48]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0xd58]
pop rdi
pop rbp
ret