Function at 0x141956870
Capabilities:
Delete registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r15, rcx
lea rax, [0x140125f18]
mov qword [rcx], rax
xor r12d, r12d
or r14d, 0xffffffff
cmp byte [rcx + 0xb0], r12b
je 0x141956abb
mov rcx, qword [rcx + 0xa8]
cmp dword [rcx + 4], r12d
je 0x141956abb
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1419587f0
nop
test rax, rax
je 0x141956abb
cmp byte [rbx + 0x18], r12b
jne 0x141956abb
mov rcx, rbx
call fcn.1419587f0
nop
test rax, rax
je 0x141956abb
lea rax, [0x1400367e8]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xa8]
call fcn.14188e360
nop
mov rbx, rax
mov rcx, r15
call fcn.14195a8e0
nop
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
test eax, eax
je 0x141956a85
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1418ac490
nop
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.141881680
nop
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, qword [r15 + 0xa8]
add rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0xb8]
call fcn.1418fcd40
nop
lea rdx, [rsp + 0xb0]
mov rcx, rax
call fcn.141881680
nop
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rsp + 0x38], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rax, [0x140179e20]
mov qword [rsp + 0x50], rax
mov r9, rbx
lea rdx, [0x140126010]
lea rcx, [rsp + 0x38]
call fcn.14187f920
nop
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx]
test eax, eax
je 0x1419569e0
cmp eax, r14d
je 0x1419569ef
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419569ef
mov rcx, qword [rsp + 0xb0]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1418993e0
nop
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx]
test eax, eax
je 0x141956a16
cmp eax, 0xffffffff
je 0x141956a25
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141956a25
mov rcx, qword [rsp + 0xb8]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x141956a46
cmp eax, 0xffffffff
je 0x141956a55
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141956a55
mov rcx, qword [rsp + 0x20]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1418993e0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x141956a76
cmp eax, 0xffffffff
je 0x141956a85
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141956a85
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx]
test eax, eax
je 0x141956aac
cmp eax, 0xffffffff
je 0x141956abb
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141956abb
mov rcx, qword [rsp + 0xa8]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov esi, r12d
lea rdi, [r15 + 0xa8]
mov rax, qword [rdi]
cmp dword [rax + 4], r12d
jle 0x141956b45
mov rbp, r12
mov rax, qword [rdi]
cmp dword [rax], 1
jbe 0x141956b16
mov r8d, dword [rax + 8]
and r8d, 0x7fffffff
jne 0x141956aff
lea r9d, [r8 + 2]
xor r8d, r8d
lea edx, [r9 + 6]
lea ecx, [rdx + 0x18]
call fcn.1418992c0
nop
mov qword [rdi], rax
jmp 0x141956b16
mov dword [rsp + 0xa0], r12d
mov r9d, r12d
mov edx, dword [rax + 4]
mov rcx, rdi
call fcn.141959620
nop
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
add rbx, rbp
add rbx, rax
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x141956b33
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov qword [rbx + 8], r12
inc esi
add rbp, 0x20
mov rax, qword [rdi]
cmp esi, dword [rax + 4]
jl 0x141956ad1
mov rax, qword [rdi]
mov ecx, dword [rax]
test ecx, ecx
je 0x141956b5e
cmp ecx, 0xffffffff
je 0x141956b6a
lock xadd dword [rax], r14d
cmp r14d, 1
jne 0x141956b6a
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.141958670
nop
mov rcx, r15
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.1419300a0