Function at 0x10007db00
Capabilities:
Delete registry key
Persist via windows service
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x6c], 1
mov rax, qword [rsp + 0x128]
mov dword [rax], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x50]
call fcn.100014450
nop
lea rcx, [rsp + 0x78]
call fcn.100014450
nop
lea rdx, [0x100010df0]
lea rcx, [rsp + 0xc0]
call fcn.100018c00
nop
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0xc0]
call fcn.100048450
nop
lea rcx, [rsp + 0xc0]
call fcn.1000144b0
mov rdx, qword [0x1000a8800]
lea rcx, [rsp + 0xc8]
call fcn.100018c00
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x50]
call fcn.100048450
nop
lea rcx, [rsp + 0xc8]
call fcn.1000144b0
lea rcx, [rsp + 0x78]
call fcn.100013bb0
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x10007dc70
mov rax, qword [rsp + 0x108]
mov r9, qword [rax]
mov r8d, dword [rsp + 0x58]
lea rdx, [0x10000f3a0]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0x68], 0
jmp 0x10007dcf8
cmp qword [rsp + 0x110], 0
jne 0x10007dc87
mov dword [rsp + 0x70], 1
jmp 0x10007dcf8
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [0x1000a8808]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x10007dcf0
mov rax, qword [rsp + 0x108]
mov r9, qword [rax]
mov r8d, dword [rsp + 0x58]
lea rdx, [0x10000f210]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0x68], 0
jmp 0x10007dcf8
mov dword [rsp + 0x68], 1
cmp qword [rsp + 0x60], 0
je 0x10007dd0b
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x70], 0
je 0x10007dd2c
lea rcx, [rsp + 0x78]
call fcn.100013bb0
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [rsp + 0x120], 0
je 0x10007df4c
lea rcx, [rsp + 0x80]
call fcn.1000141d0
nop
lea rcx, [rsp + 0xb0]
call fcn.100014450
nop
lea r8, [rsp + 0xb0]
mov edx, 2
mov rcx, qword [rsp + 0x100]
call fcn.100054600
test eax, eax
jne 0x10007ddad
lea rdx, [0x1000092c0]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0x6c], 0
lea rcx, [rsp + 0xb0]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x80]
call fcn.100014300
jmp 0x10007df54
lea r8, [rsp + 0xbc]
xor edx, edx
mov rcx, qword [rsp + 0x100]
call fcn.100054560
test eax, eax
jne 0x10007de09
mov r8, qword [rsp + 0xb0]
lea rdx, [0x100009ca0]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0x6c], 0
lea rcx, [rsp + 0xb0]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x80]
call fcn.100014300
jmp 0x10007df54
mov r9d, dword [rsp + 0xbc]
mov r8, qword [rsp + 0xb0]
lea rdx, [0x100009270]
mov ecx, 1
call fcn.100053cc0
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0xe0], eax
cmp dword [rsp + 0xe0], 5
je 0x10007de51
cmp dword [rsp + 0xe0], 9
je 0x10007de77
jmp 0x10007dee9
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0xb0]
call fcn.1000789f0
mov dword [rsp + 0xb8], eax
jmp 0x10007dee9
lea r8, [rsp + 0x80]
mov edx, 8
mov rcx, qword [rsp + 0x100]
call fcn.100054a90
test eax, eax
jne 0x10007debd
mov dword [rsp + 0x6c], 0
lea rcx, [rsp + 0xb0]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x80]
call fcn.100014300
jmp 0x10007df54
mov r9, qword [rsp + 0x128]
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0xb0]
call fcn.1000790b0
mov dword [rsp + 0xb8], eax
cmp dword [rsp + 0xb8], 0
je 0x10007df31
mov r8, qword [rsp + 0xb0]
lea rdx, [0x100010a50]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0x6c], 0
lea rcx, [rsp + 0xb0]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x80]
call fcn.100014300
jmp 0x10007df54
lea rcx, [rsp + 0xb0]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x80]
call fcn.100014300
mov dword [rsp + 0x6c], 1
cmp dword [rsp + 0x68], 0
je 0x10007df62
cmp dword [rsp + 0x6c], 0
jne 0x10007df6c
mov dword [rsp + 0x58], 0x643
jmp 0x10007df74
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x78]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x50]
call fcn.1000144b0
mov eax, dword [rsp + 0xd0]
add rsp, 0xf8
ret