Function at 0x10156ac
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r12, r9
mov rdi, r8
mov rbp, rdx
cmp rdx, 0xffffffff80000001
jne 0x10156fc
mov rdx, qword [r8]
lea rcx, [0x01007b70]
call fcn.0100fdd0
jmp 0x101573f
cmp rdx, 0xffffffff80000002
jne 0x1015716
mov rdx, qword [r8]
lea rcx, [0x01007c00]
call fcn.0100fdd0
jmp 0x101573f
cmp rdx, 0xffffffff80000003
jne 0x1015730
mov rdx, qword [r8]
lea rcx, [0x01007c90]
call fcn.0100fdd0
jmp 0x101573f
mov r8, qword [r8]
lea rcx, [0x01007d10]
call fcn.0100fdd0
mov dword [rsp + 0x28], 0xf003f
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8, qword [rdi]
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.0101f9e4
nop
lea r14d, [r13 + 1]
lea r15, [0x0100b9c0]
cmp dword [rsp + 0x60], r13d
je 0x1015add
mov rax, qword [0x01043880]
mov qword [rsp + 0x128], rax
mov esi, r13d
lea rdx, [0x01003570]
lea rcx, [rsp + 0x40]
call fcn.0100da98
xor r9d, r9d
mov r8d, esi
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.0101fbb8
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.0100db8c
mov rcx, qword [rax]
mov r8, qword [rsp + 0x40]
sub r8, rcx
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x10157e3
add rcx, 2
test eax, eax
jne 0x10157cf
movzx ebx, r13b
cmp edx, r13d
cmovne ebx, r14d
lea rcx, [rsp + 0x88]
call fcn.0100d9e0
lea rcx, [rsp + 0x40]
call fcn.0100d9e0
cmp bl, r13b
je 0x1015ace
mov rdx, qword [rsp + 0x128]
lea rcx, [0x01007d90]
call fcn.0100fdd0
mov r11, qword [0x01043880]
mov qword [rsp + 0x30], r11
mov r9, qword [rsp + 0x128]
mov r8, qword [rdi]
lea rdx, [0x01007df8]
lea rcx, [rsp + 0x30]
call fcn.0100e6e8
mov rdx, qword [rsp + 0x30]
lea rcx, [0x01007e10]
call fcn.0100fdd0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8, qword [rsp + 0x30]
mov rdx, rbp
lea rcx, [rsp + 0x70]
call fcn.0101f9e4
nop
cmp dword [rsp + 0x80], r13d
je 0x1015aa0
mov rax, qword [0x01043880]
mov qword [rsp + 0x38], rax
lea rdx, [0x01003570]
lea rcx, [rsp + 0x48]
call fcn.0100da98
nop
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x48]
lea r8, [0x01007e78]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.0101fe5c
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.0100db8c
lea rcx, [rsp + 0x68]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x48]
call fcn.0100d9e0
lea rcx, [rsp + 0x70]
call fcn.0101fb88
mov rbx, qword [rsp + 0x38]
cmp qword [rbx - 0x10], r13
je 0x1015a91
mov rdx, rbx
lea rcx, [0x01007e90]
call fcn.0100fdd0
mov r11, qword [r12]
mov rdx, rbx
sub rdx, r11
movzx eax, word [r11]
movzx ecx, word [r11 + rdx]
sub eax, ecx
jne 0x1015936
add r11, 2
test ecx, ecx
jne 0x1015921
cmp eax, r13d
jne 0x1015a80
lea rcx, [0x01007f00]
call fcn.0100fdd0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [0x01007fd0]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0xc0]
call fcn.0101f9e4
nop
cmp dword [rsp + 0xd0], r13d
je 0x1015992
mov rdx, rbx
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [0x01007fd0]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xa8]
call fcn.0101f9e4
nop
cmp dword [rsp + 0xb8], r13d
je 0x10159d9
mov rdx, rbx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [0x01007fd0]
mov rdx, rbp
lea rcx, [rsp + 0x90]
call fcn.0101f9e4
nop
cmp dword [rsp + 0xa0], r13d
je 0x1015a1c
mov rdx, rbx
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [rsp + 0x60], r13d
je 0x1015a3a
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x50]
call fcn.0101fcfc
cmp eax, r13d
jne 0x1015a3d
add esi, r14d
mov qword [rsp + 0x90], r15
lea rcx, [rsp + 0x90]
call fcn.0101fb88
nop
mov qword [rsp + 0xa8], r15
lea rcx, [rsp + 0xa8]
call fcn.0101fb88
nop
mov qword [rsp + 0xc0], r15
lea rcx, [rsp + 0xc0]
call fcn.0101fb88
jmp 0x1015a94
lea rcx, [0x01007f60]
call fcn.0100fdd0
add esi, r14d
jmp 0x1015a94
add esi, r14d
lea rcx, [rsp + 0x38]
call fcn.0100d9e0
jmp 0x1015aaf
lea rcx, [0x01008030]
call fcn.0100fdd0
add esi, r14d
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x70]
call fcn.0101fb88
nop
lea rcx, [rsp + 0x30]
call fcn.0100d9e0
jmp 0x101578b
lea rcx, [rsp + 0x128]
call fcn.0100d9e0
jmp 0x1015ae9
lea rcx, [0x010080a0]
call fcn.0100fdd0
lea rcx, [0x01008110]
call fcn.0100fdd0
nop
mov qword [rsp + 0x50], r15
lea rcx, [rsp + 0x50]
call fcn.0101fb88
nop
mov rcx, rdi
call fcn.0100d9e0
nop
mov rcx, r12
call fcn.0100d9e0
mov eax, r14d
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret