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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1780]
mov eax, 0x1880
call fcn.1400c26e0
sub rsp, rax
mov rax, qword [0x14014f010]
xor rax, rsp
mov qword [rbp + 0x1770], rax
mov rdi, r8
mov rsi, r9
lea r8, [rbp + 0x150]
mov rbx, rcx
sub r8, rdx
movzx eax, word [rdx]
mov word [r8 + rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x14004a790
xor r15d, r15d
lea rdx, [rsp + 0x40]
test rsi, rsi
jne 0x14004a7f9
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 0x14004a7c0
mov edx, 0x2e
lea rcx, [rsp + 0x40]
call fcn.1400bf8bc
test rax, rax
je 0x14004a810
mov edx, 0x2e
lea rcx, [rsp + 0x40]
call fcn.1400bf8bc
mov word [rax], r15w
jmp 0x14004a810
mov rcx, rsi
sub rdx, rsi
nop
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14004a800
cmp dword [rbp + 0x17d0], r15d
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov edx, 0x800
cmove r8, rax
lea rcx, [rbp + 0x770]
call fcn.140028c90
cmp dword [rbp + 0x17d8], r15d
jne 0x14004a98c
cmp dword [rbp + 0x17d0], r15d
jne 0x14004a8f1
lea rcx, [rbp + 0x150]
sub rcx, 2
nop
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x14004a860
mov eax, dword [0x1400df7d4]
mov dword [rcx], eax
lea rcx, [rbp + 0x150]
sub rcx, 2
nop
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x14004a880
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 0x14004a890
test rdi, rdi
je 0x14004a8f1
lea rcx, [rbp + 0x150]
sub rcx, 2
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x14004a8b1
mov eax, dword [0x1400f7520]
mov dword [rcx], eax
lea rcx, [rbp + 0x150]
sub rcx, 2
nop
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x14004a8d0
xor edx, edx
nop dword [rax]
movzx eax, word [rdi + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14004a8e0
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x770]
mov rcx, 0xffffffff80000002
mov ebx, r15d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004a976
lea rcx, [rbp + 0x150]
call fcn.14004a350
lea rcx, [rbp + 0x150]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], bx
jne 0x14004a940
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebx, eax
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 0x14004a9f6
mov dword [rsp + 0x30], r15d
call fcn.14000b1e0
test dword [rax + 0xc0], 0x20000000
je 0x14004a9b1
call fcn.14000b1e0
movzx r8d, byte [rax + 0x1f3]
jmp 0x14004a9b7
mov r8d, 0x1e
mov r9, rdi
mov rcx, rsi
call fcn.14004afb0
mov r9, rsi
mov dword [rsp + 0x30], eax
lea r8, str.RunCplByTaskScheduler__s
mov edx, 0x104
lea rcx, [rbp + 0x560]
call fcn.140028c90
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x560]
call fcn.14004aa20
mov eax, dword [rsp + 0x30]
mov rcx, qword [rbp + 0x1770]
xor rcx, rsp
call fcn.1400b96d0
add rsp, 0x1880
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret