Function at 0x1401b6130
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
xor r15d, r15d
mov rcx, qword [rcx + 0x90]
cmp dword [rcx + 4], r15d
je 0x1401b65b4
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1401b4fc0
test rax, rax
je 0x1401b65b4
cmp byte [rbx + 0x18], r15b
jne 0x1401b65b4
mov rcx, rbx
call fcn.1401b4fc0
test rax, rax
je 0x1401b65b4
mov rcx, qword [rsi]
mov qword [rbp - 0x18], rcx
mov eax, dword [rcx]
inc eax
cmp eax, 1
jbe 0x1401b61a3
lock inc dword [rcx]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x40]
call fcn.1401b4ca0
nop
mov r14d, dword [rdi + 0x9c]
mov edx, 0x5c
mov esi, 0xffffffff
mov r9d, 1
mov r8d, esi
lea rcx, [rbp + 0x40]
call fcn.1400bb000
cmp eax, esi
jne 0x1401b61e5
lea rax, [0x140484d90]
mov qword [rbp + 0x48], rax
jmp 0x1401b61f7
lea r8d, [rax + 1]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x40]
call fcn.1400bb220
nop
mov rcx, qword [rdi + 0x90]
cmp dword [rcx + 4], 0
je 0x1401b622b
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1401b4fc0
test rax, rax
je 0x1401b622b
cmp byte [rbx + 0x18], 0
jne 0x1401b622b
mov rcx, rbx
call fcn.1401b4fc0
mov rbx, rax
jmp 0x1401b622e
mov rbx, r15
mov qword [rbp - 0x10], r15
or r14d, 0x2001f
lea rcx, [rbp + 0x48]
call fcn.1400c02d0
mov rdx, rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rbx, r15
test eax, eax
cmove rbx, qword [rbp - 0x10]
mov rax, qword [rbp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401b6285
cmp ecx, 0xffffffff
je 0x1401b6299
mov rax, qword [rbp + 0x48]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401b6299
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0x48]
call fcn.1400affb0
test rbx, rbx
je 0x1401b62fc
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.1401b5120
nop
mov rcx, rax
call fcn.1400c02d0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
mov rax, qword [rbp - 0x20]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401b62df
cmp ecx, 0xffffffff
je 0x1401b62f3
mov rax, qword [rbp - 0x20]
mov edx, esi
lock xadd dword [rax], edx
cmp edx, 1
jne 0x1401b62f3
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x20]
call fcn.1400affb0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14d, dword [rdi + 0x9c]
mov rcx, qword [rdi + 0x90]
cmp dword [rcx + 4], 0
je 0x1401b6337
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1401b4fc0
test rax, rax
je 0x1401b6337
cmp byte [rbx + 0x18], 0
jne 0x1401b6337
mov rcx, rbx
call fcn.1401b4fc0
mov rbx, rax
jmp 0x1401b633a
mov rbx, r15
mov qword [rbp - 0x10], r15
or r14d, 0x2001f
lea rcx, [rbp + 0x40]
call fcn.1400c02d0
mov rdx, rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401b6582
mov r14, qword [rbp - 0x10]
test r14, r14
je 0x1401b6582
mov edx, dword [rdi + 0x9c]
mov rcx, r14
call fcn.1401b49b0
mov rax, qword [rbp + 0x40]
cmp dword [rax + 4], 0
jne 0x1401b64e4
mov r8d, 1
mov rdx, r14
lea rcx, [rbp - 0x20]
call fcn.1401b3e00
nop
mov rax, qword [rbp - 0x20]
movsxd rbx, dword [rax + 8]
add rbx, 2
lea rbx, [rax + rbx*8]
movsxd rdi, dword [rax + 0xc]
add rdi, 2
lea rdi, [rax + rdi*8]
mov r15, r14
cmp rbx, rdi
je 0x1401b6466
mov rcx, rbx
call fcn.1400c02d0
mov rdx, rax
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r14d, eax
test eax, eax
je 0x1401b6455
mov rcx, qword [rbx]
mov qword [rbp + 0x48], rcx
mov edx, dword [rcx]
inc edx
cmp edx, 1
jbe 0x1401b6407
mov rcx, qword [rbp + 0x48]
lock inc dword [rcx]
lea rcx, [rbp + 0x48]
call fcn.1400c02d0
mov r8, rax
lea rdx, str.QSettings:_RegDeleteValue_failed_on_subkey___ls_
mov ecx, r14d
call fcn.1400ad750
nop
mov rax, qword [rbp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401b6441
cmp ecx, 0xffffffff
je 0x1401b6455
mov rax, qword [rbp + 0x48]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401b6455
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0x48]
call fcn.1400affb0
add rbx, 8
cmp rbx, rdi
jne 0x1401b63d5
mov rax, qword [rbp - 0x20]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401b6480
cmp ecx, 0xffffffff
je 0x1401b64df
mov rax, qword [rbp - 0x20]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401b64df
mov r14, qword [rbp - 0x20]
movsxd rbx, dword [r14 + 0xc]
add rbx, 2
lea rbx, [r14 + rbx*8]
movsxd rdi, dword [r14 + 8]
add rdi, 2
lea rdi, [r14 + rdi*8]
cmp rdi, rbx
je 0x1401b64d6
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1401b64be
cmp eax, 0xffffffff
je 0x1401b64d1
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b64d1
mov edx, 2
mov r8d, 8
mov rcx, qword [rbx]
call fcn.1400affb0
cmp rbx, rdi
jne 0x1401b64a1
mov rcx, r14
call fcn.1400c6df0
nop
jmp 0x1401b6578
lea rcx, [rbp + 0x40]
call fcn.1400c02d0
mov rbx, rax
mov rcx, rdi
call fcn.1401b6e50
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov r15, r14
test eax, eax
je 0x1401b6578
mov rcx, qword [rbp + 0x40]
mov qword [rbp + 0x48], rcx
mov edx, dword [rcx]
inc edx
cmp edx, 1
jbe 0x1401b6525
mov rcx, qword [rbp + 0x40]
lock inc dword [rcx]
lea rcx, [rbp + 0x48]
call fcn.1400c02d0
mov r8, rax
lea rdx, str.QSettings:_RegDeleteKey_failed_on_key___ls_
mov ecx, ebx
call fcn.1400ad750
nop
mov rax, qword [rbp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401b6561
mov r15, r14
cmp ecx, 0xffffffff
je 0x1401b6578
mov rax, qword [rbp + 0x48]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401b6578
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0x48]
call fcn.1400affb0
mov r15, r14
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rbp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401b659e
cmp ecx, 0xffffffff
je 0x1401b65c1
mov rax, qword [rbp + 0x40]
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1401b65c1
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0x40]
call fcn.1400affb0
jmp 0x1401b65c1
mov edx, 1
mov rcx, rdi
call fcn.1401258c0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret