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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx + 0xa8]
cmp dword [rcx + 4], 0
je 0x1400fbdaf
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1400fa6e0
test rax, rax
je 0x1400fbdaf
cmp byte [rbx + 0x18], 0
jne 0x1400fbdaf
mov rcx, rbx
call fcn.1400fa6e0
test rax, rax
je 0x1400fbdaf
mov rcx, qword [rsi]
mov qword [rbp + 0x7f], rcx
mov eax, dword [rcx]
inc eax
cmp eax, 1
jbe 0x1400fb8c5
lock inc dword [rcx]
lea rdx, [rbp + 0x7f]
lea rcx, [rbp + 0x67]
call fcn.1400fa330
nop
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x71]
call fcn.1400faac0
mov r14, rax
mov rcx, qword [rdi + 0xa8]
xor r15d, r15d
cmp dword [rcx + 4], r15d
je 0x1400fb91a
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1400fa6e0
test rax, rax
je 0x1400fb91a
cmp byte [rbx + 0x18], r15b
jne 0x1400fb91a
mov rcx, rbx
call fcn.1400fa6e0
mov rsi, rax
jmp 0x1400fb91d
mov rsi, r15
mov ebx, dword [rdi + 0xb4]
mov qword [rbp - 0x79], r15
or ebx, 0x2001f
mov rcx, r14
call fcn.140021850
mov rdx, rax
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rbx, r15
test eax, eax
cmove rbx, qword [rbp - 0x79]
mov rcx, qword [rbp - 0x71]
mov eax, dword [rcx]
or esi, 0xffffffff
test eax, eax
je 0x1400fb97a
cmp eax, esi
je 0x1400fb988
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fb988
mov rcx, qword [rbp - 0x71]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
test rbx, rbx
je 0x1400fb9e5
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x69]
call fcn.1400fa960
nop
mov rcx, rax
call fcn.140021850
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
mov rcx, qword [rbp - 0x69]
mov eax, dword [rcx]
test eax, eax
je 0x1400fb9ce
cmp eax, 0xffffffff
je 0x1400fb9dc
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fb9dc
mov rcx, qword [rbp - 0x69]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rdi + 0xa8]
cmp dword [rcx + 4], 0
je 0x1400fba19
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1400fa6e0
test rax, rax
je 0x1400fba19
cmp byte [rbx + 0x18], 0
jne 0x1400fba19
mov rcx, rbx
call fcn.1400fa6e0
mov r14, rax
jmp 0x1400fba1c
mov r14, r15
mov ebx, dword [rdi + 0xb4]
mov qword [rbp - 0x61], r15
or ebx, 0x2001f
lea rcx, [rbp + 0x67]
call fcn.140021850
mov rdx, rax
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400fbd83
mov r14, qword [rbp - 0x61]
test r14, r14
je 0x1400fbd83
mov edx, dword [rdi + 0xb4]
mov rcx, r14
call fcn.1400f9f20
mov rax, qword [rbp + 0x67]
cmp dword [rax + 4], 0
jne 0x1400fbc62
mov r8d, 1
mov rdx, r14
lea rcx, [rbp + 0x77]
call fcn.1400f9030
nop
mov rcx, qword [rbp + 0x77]
lea r13, [rcx + 8]
movsxd rbx, dword [r13]
add rbx, 2
lea rbx, [rcx + rbx*8]
lea rdx, [rcx + 0xc]
mov qword [rbp - 0x29], rdx
movsxd r15, dword [rdx]
add r15, 2
lea r15, [rcx + r15*8]
cmp rbx, r15
je 0x1400fbbe8
lea r12, str.default
nop dword [rax + rax]
mov rcx, rbx
call fcn.140021850
mov rdx, rax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1400fbbd3
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.14004b9a0
nop
lea rdx, [rbp - 0x51]
mov rcx, rax
call fcn.1400127c0
mov rdi, rax
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.1400127c0
nop
mov rdx, qword [rdi]
mov r9, qword [rdx + 0x10]
add r9, rdx
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rbp - 0x21], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r12
lea rdx, str.QSettings:_RegDeleteValue_failed_on_subkey___s_:__s
lea rcx, [rbp - 0x21]
call fcn.1400128c0
nop
mov rcx, qword [rbp - 0x59]
mov eax, dword [rcx]
test eax, eax
je 0x1400fbb6b
cmp eax, 0xffffffff
je 0x1400fbb7a
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fbb7a
mov rcx, qword [rbp - 0x59]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002cd80
nop
mov rcx, qword [rbp - 0x51]
mov eax, dword [rcx]
test eax, eax
je 0x1400fbb98
cmp eax, 0xffffffff
je 0x1400fbba7
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fbba7
mov rcx, qword [rbp - 0x51]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002cd80
nop
mov rcx, qword [rbp - 0x49]
mov eax, dword [rcx]
test eax, eax
je 0x1400fbbc5
cmp eax, 0xffffffff
je 0x1400fbbd3
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fbbd3
mov rcx, qword [rbp - 0x49]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
add rbx, 8
cmp rbx, r15
jne 0x1400fbad0
mov rcx, qword [rbp + 0x77]
mov rdx, qword [rbp - 0x29]
mov eax, dword [rcx]
test eax, eax
je 0x1400fbc02
cmp eax, 0xffffffff
je 0x1400fbc5d
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fbc5d
mov rcx, qword [rbp + 0x77]
movsxd rbx, dword [rdx]
add rbx, 2
lea rbx, [rcx + rbx*8]
movsxd rdi, dword [r13]
add rdi, 2
lea rdi, [rcx + rdi*8]
cmp rdi, rbx
je 0x1400fbc57
nop
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400fbc3d
cmp eax, 0xffffffff
je 0x1400fbc4e
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fbc4e
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.14002cd80
cmp rbx, rdi
jne 0x1400fbc20
mov rcx, qword [rbp + 0x77]
call fcn.14010a1f0
nop
jmp 0x1400fbd79
lea rcx, [rbp + 0x67]
call fcn.140021850
mov rbx, rax
mov rcx, rdi
call fcn.1400fc760
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x1400fbd79
mov edx, eax
lea rcx, [rbp - 0x31]
call fcn.14004b9a0
nop
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.1400127c0
mov rbx, rax
lea rdx, [rbp - 0x41]
lea rcx, [rbp + 0x67]
call fcn.1400127c0
nop
mov rdx, qword [rbx]
mov r9, qword [rdx + 0x10]
add r9, rdx
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rbp - 1], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
lea r12, str.default
mov qword [rbp + 0x17], r12
lea rdx, str.QSettings:_RegDeleteKey_failed_on_key___s_:__s
lea rcx, [rbp - 1]
call fcn.1400128c0
nop
mov rcx, qword [rbp - 0x41]
mov eax, dword [rcx]
test eax, eax
je 0x1400fbd11
cmp eax, 0xffffffff
je 0x1400fbd20
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fbd20
mov rcx, qword [rbp - 0x41]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002cd80
nop
mov rcx, qword [rbp - 0x39]
mov eax, dword [rcx]
test eax, eax
je 0x1400fbd3e
cmp eax, 0xffffffff
je 0x1400fbd4d
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fbd4d
mov rcx, qword [rbp - 0x39]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002cd80
nop
mov rcx, qword [rbp - 0x31]
mov eax, dword [rcx]
test eax, eax
je 0x1400fbd6b
cmp eax, 0xffffffff
je 0x1400fbd79
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fbd79
mov rcx, qword [rbp - 0x31]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp + 0x67]
mov eax, dword [rcx]
test eax, eax
je 0x1400fbd9f
cmp eax, 0xffffffff
je 0x1400fbdbc
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1400fbdbc
mov rcx, qword [rbp + 0x67]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
jmp 0x1400fbdbc
mov edx, 1
mov rcx, rdi
call fcn.1400d1f10
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret