Function at 0x14002a5e0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rsp - 0x1580]
mov eax, 0x1680
call fcn.140082ff0
sub rsp, rax
mov rax, qword [0x1400d8010]
xor rax, rsp
mov qword [rbp + 0x1570], rax
mov rsi, r8
mov r14, r9
lea r8, [rsp + 0x40]
mov rbx, rcx
sub r8, rdx
nop
movzx eax, word [rdx]
mov word [r8 + rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x14002a620
xor r15d, r15d
lea rdx, [rbp + 0x150]
test r14, r14
jne 0x14002a68d
sub rdx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14002a650
mov edx, 0x2e
lea rcx, [rbp + 0x150]
call fcn.140081ae8
test rax, rax
je 0x14002a6b0
mov edx, 0x2e
lea rcx, [rbp + 0x150]
call fcn.140081ae8
mov word [rax], r15w
jmp 0x14002a6b0
mov rcx, r14
sub rdx, r14
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14002a6a0
lea rcx, [rbp + 0x570]
mov edx, 0x800
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
cmp dword [rbp + 0x15d0], r15d
jne 0x14002a6d3
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.140015960
cmp dword [rbp + 0x15d8], r15d
jne 0x14002a823
cmp dword [rbp + 0x15d0], r15d
jne 0x14002a791
lea rcx, [rsp + 0x40]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x14002a700
mov eax, dword [0x140094934]
mov dword [rcx], eax
lea rcx, [rsp + 0x40]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x14002a720
xor edx, edx
nop dword [rax]
movzx eax, word [rbx + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14002a730
test rsi, rsi
je 0x14002a791
lea rcx, [rsp + 0x40]
sub rcx, 2
nop
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x14002a750
mov eax, dword [0x14009f798]
mov dword [rcx], eax
lea rcx, [rsp + 0x40]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x14002a770
xor edx, edx
nop dword [rax]
movzx eax, word [rsi + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14002a780
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x570]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002a809
lea rcx, [rsp + 0x40]
call fcn.14002a240
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14002a7d0
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x150]
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebx, eax
jmp 0x14002a80d
mov ebx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
sete r15b
mov eax, r15d
jmp 0x14002a88a
mov dword [rsp + 0x30], r15d
call fcn.1400097d0
test dword [rax + 0x48], 0x20000000
je 0x14002a845
call fcn.1400097d0
movzx r8d, byte [rax + 0x17b]
jmp 0x14002a84b
mov r8d, 0x1e
mov r9, rsi
mov rcx, r14
call fcn.14002ace0
mov r9, r14
mov dword [rsp + 0x30], eax
lea r8, str.RunCplByTaskScheduler__s
mov edx, 0x104
lea rcx, [rbp + 0x360]
call fcn.140015960
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x360]
call fcn.14002a8b0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rbp + 0x1570]
xor rcx, rsp
call fcn.140079e30
add rsp, 0x1680
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret