Function at 0x14011ad20
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x300
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rdi, rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x1c8], xmm0
lea rdx, [rcx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x14011ad68
mov rdx, qword [rdx]
xor r14d, r14d
mov qword [rsp + 0x1d0], r14
lea r15, vtable.RegistryCreator.0
mov qword [rsp + 0x1c8], r15
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2021f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x14011b71e
xorps xmm0, xmm0
movups xmmword [rsp + 0x1b8], xmm0
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0x1b8]
call fcn.14011a000
nop
mov rbx, qword [rdi]
mov rbx, qword [rbx]
nop word [rax + rax]
cmp byte [rbx + 0x19], 0
jne 0x14011b53b
xorps xmm0, xmm0
movups xmmword [rsp + 0x1a8], xmm0
mov rcx, qword [rbx + 0x30]
lea rax, [rbx + 0x20]
cmp qword [rbx + 0x38], 0x10
jb 0x14011ae18
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rcx
movaps xmm0, xmmword [rsp + 0xe0]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xc0]
call fcn.140157910
nop
cmp qword [rax + 0x18], 8
jb 0x14011ae59
mov rax, qword [rax]
mov qword [rsp + 0x1b0], r14
mov qword [rsp + 0x1a8], r15
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x1b0]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2021f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test eax, eax
jne 0x14011b73d
mov qword [rsp + 0x1a8], r15
mov rdx, qword [rsp + 0xd8]
cmp rdx, 8
jb 0x14011aefe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011aef9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011b75c
call fcn.1401853a0
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], r14w
mov rcx, qword [rbx + 0x50]
lea rax, [rbx + 0x40]
cmp qword [rbx + 0x58], 0x10
jb 0x14011af2e
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rcx
movaps xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140157910
nop
cmp qword [rax + 0x18], 8
jb 0x14011af6c
mov rax, qword [rax]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14011af90
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000b550
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, 0x7ffffffe
ja 0x14011b762
mov edx, dword [rsp + 0x60]
cmp rdx, rcx
jne 0x14011b8fa
lea eax, [rdx*2 + 2]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
jne 0x14011b78a
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14011b053
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011b04e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011b7af
call fcn.1401853a0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x14011b0ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011b0a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011b7b5
call fcn.1401853a0
lea rax, [rbx + 0x60]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14011b0be
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rcx
movaps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140157910
nop
cmp qword [rax + 0x18], 8
jb 0x14011b0fc
mov rax, qword [rax]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14011b120
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000b550
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, 0x7ffffffe
ja 0x14011b7bb
mov edx, dword [rsp + 0x60]
cmp rdx, rcx
jne 0x14011b8c3
lea eax, [rdx*2 + 2]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.DisplayVersion
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
jne 0x14011b7e3
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14011b1e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011b1de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011b808
call fcn.1401853a0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x14011b23c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011b237
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011b80e
call fcn.1401853a0
cmp qword [rbx + 0x90], 0
jne 0x14011b26d
lea rdx, str.SDDS3Suite
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test eax, 0xfffffffd
jne 0x14011b814
jmp 0x14011b3fc
lea rax, [rbx + 0x80]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14011b282
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rcx
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140157910
nop
cmp qword [rax + 0x18], 8
jb 0x14011b2c0
mov rax, qword [rax]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14011b2e0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000b550
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, 0x7ffffffe
ja 0x14011b833
mov edx, dword [rsp + 0x60]
cmp rdx, rcx
jne 0x14011b88c
lea eax, [rdx*2 + 2]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.SDDS3Suite
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
jne 0x14011b85b
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14011b3a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011b39e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011b880
call fcn.1401853a0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x14011b3fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011b3f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011b886
call fcn.1401853a0
mov r15, qword [rsp + 0x1b8]
lea r12, [r15 + 8]
mov rdi, qword [r12]
mov rsi, r15
cmp byte [rdi + 0x19], 0
jne 0x14011b45f
nop word [rax + rax]
lea rdx, [rbx + 0x20]
lea rcx, [rdi + 0x20]
call fcn.140031b80
test al, al
jns 0x14011b437
mov rdi, qword [rdi + 0x10]
jmp 0x14011b456
cmp byte [rsi + 0x19], 0
je 0x14011b450
lea rdx, [rdi + 0x20]
lea rcx, [rbx + 0x20]
call fcn.140031b80
test al, al
cmovs rsi, rdi
mov r15, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x14011b420
xor r14d, r14d
mov rax, rsi
cmp byte [rsi + 0x19], 0
cmovne rax, r12
mov rdi, qword [rax]
cmp byte [rdi + 0x19], 0
jne 0x14011b496
lea rdx, [rdi + 0x20]
lea rcx, [rbx + 0x20]
call fcn.140031b80
test al, al
jns 0x14011b48c
mov rsi, rdi
mov rdi, qword [rdi]
jmp 0x14011b490
mov rdi, qword [rdi + 0x10]
cmp byte [rdi + 0x19], 0
je 0x14011b473
mov r8, rsi
mov rdx, r15
lea rcx, [rsp + 0x1b8]
call fcn.14011b9d0
nop
lea rsi, vtable.RegistryHandle.0
mov qword [rsp + 0x1a8], rsi
mov rcx, qword [rsp + 0x1b0]
test rcx, rcx
je 0x14011b4d4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x1b0], r14
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14011b50a
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14011b4fb
cmp rbx, qword [rax + 0x10]
jne 0x14011b4fb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14011b4e8
mov rbx, rax
lea r15, vtable.RegistryCreator.0
jmp 0x14011adf0
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14011b52f
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14011b520
lea r15, vtable.RegistryCreator.0
jmp 0x14011adf0
mov rbx, qword [rsp + 0x1b8]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x14011b664
lea rax, [rbx + 0x20]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14011b562
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rcx
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140157910
nop
cmp qword [rax + 0x18], 8
jb 0x14011b5a0
mov rax, qword [rax]
mov rdx, rax
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov edi, eax
test eax, 0xfffffffd
jne 0x14011b931
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x14011b603
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011b5fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011b956
call fcn.1401853a0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14011b632
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14011b62a
cmp rbx, qword [rax + 0x10]
jne 0x14011b62a
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14011b617
mov rbx, rax
jmp 0x14011b546
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14011b546
nop dword [rax]
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14011b650
jmp 0x14011b546
mov rax, qword [rsp + 0x1b8]
mov rdi, qword [rax + 8]
cmp byte [rdi + 0x19], 0
jne 0x14011b6bb
nop word [rax + rax]
mov r8, qword [rdi + 0x10]
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x1b8]
call fcn.14011bb60
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.140010cd0
mov edx, 0x40
mov rcx, rbx
call fcn.1401853a0
cmp byte [rdi + 0x19], 0
je 0x14011b680
mov edx, 0x40
mov rcx, qword [rsp + 0x1b8]
call fcn.1401853a0
nop
lea rax, vtable.RegistryHandle.0
mov qword [rsp + 0x1c8], rax
mov rcx, qword [rsp + 0x1d0]
test rcx, rcx
je 0x14011b6f1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140185380
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rdx, str.Failed_to_create_registry_key
lea rcx, [rsp + 0x70]
call fcn.140010040
nop
lea rdx, [rsp + 0x70]
mov ecx, ebx
call fcn.140030620
nop
lea rdx, str.Failed_to_create_registry_key
lea rcx, [rsp + 0x70]
call fcn.140010040
nop
lea rdx, [rsp + 0x70]
mov ecx, edi
call fcn.140030620
nop
call fcn.1401b3c00
nop
lea rdx, str.Failed_to_set_registry_string_value___size_too_big
lea rcx, [rsp + 0x160]
call fcn.140030560
lea rdx, [0x14028fd98]
lea rcx, [rsp + 0x160]
call fcn.1401a8f20
lea rdx, str.Failed_to_set_registry_string_value
lea rcx, [rsp + 0x90]
call fcn.140010040
nop
lea rdx, [rsp + 0x90]
mov ecx, edi
call fcn.140030620
nop
call fcn.1401b3c00
nop
call fcn.1401b3c00
nop
lea rdx, str.Failed_to_set_registry_string_value___size_too_big
lea rcx, [rsp + 0x178]
call fcn.140030560
lea rdx, [0x14028fd98]
lea rcx, [rsp + 0x178]
call fcn.1401a8f20
lea rdx, str.Failed_to_set_registry_string_value
lea rcx, [rsp + 0x90]
call fcn.140010040
nop
lea rdx, [rsp + 0x90]
mov ecx, edi
call fcn.140030620
nop
call fcn.1401b3c00
nop
call fcn.1401b3c00
int3
lea rdx, str.Failed_to_delete_value
lea rcx, [rsp + 0x70]
call fcn.140010040
nop
lea rdx, [rsp + 0x70]
mov ecx, edi
call fcn.140030620
nop
lea rdx, str.Failed_to_set_registry_string_value___size_too_big
lea rcx, [rsp + 0x190]
call fcn.140030560
lea rdx, [0x14028fd98]
lea rcx, [rsp + 0x190]
call fcn.1401a8f20
lea rdx, str.Failed_to_set_registry_string_value
lea rcx, [rsp + 0xc0]
call fcn.140010040
nop
lea rdx, [rsp + 0xc0]
mov ecx, edi
call fcn.140030620
nop
call fcn.1401b3c00
nop
call fcn.1401b3c00
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x110]
call fcn.1400642c0
lea rdx, [0x14028fe68]
lea rcx, [rsp + 0x110]
call fcn.1401a8f20
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x128], xmm0
mov qword [rsp + 0x138], rax
lea rcx, [rsp + 0x128]
call fcn.1400642c0
lea rdx, [0x14028fe68]
lea rcx, [rsp + 0x128]
call fcn.1401a8f20
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x140], xmm0
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x140]
call fcn.1400642c0
lea rdx, [0x14028fe68]
lea rcx, [rsp + 0x140]
call fcn.1401a8f20
nop
lea rdx, str.Failed_to_delete_subtree
lea rcx, [rsp + 0xc0]
call fcn.140010040
nop
lea rdx, [rsp + 0xc0]
mov ecx, edi
call fcn.140030620
nop
call fcn.1401b3c00
int3