Function at 0x1400f9f20
Capabilities:
Delete registry key

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0x98
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov rbx, rcx
mov r8d, 2
mov rdx, rcx
lea rcx, [rbp - 0x29]
call fcn.1400f9030
nop
xor esi, esi
mov rax, qword [rbp - 0x29]
lea r8, [rax + 0xc]
mov qword [rbp - 0x19], r8
lea rdx, [rax + 8]
mov qword [rbp - 0x21], rdx
mov eax, dword [r8]
sub eax, dword [rdx]
test eax, eax
jle 0x1400fa195
xor edi, edi
mov eax, dword [rbp + 0x6f]
or eax, 0x2001f
mov dword [rbp + 0x77], eax
nop word [rax + rax]
movsxd rcx, dword [rdx]
add rcx, rdi
mov rax, qword [rbp - 0x29]
mov rax, qword [rax + rcx*8 + 0x10]
mov qword [rbp + 0x7f], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x1400f9faf
lock inc dword [rax]
mov qword [rbp - 0x11], 0
lea rcx, [rbp + 0x7f]
call fcn.140021850
mov rdx, rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x77]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400fa020
mov rbx, qword [rbp - 0x11]
test rbx, rbx
je 0x1400fa01c
mov edx, dword [rbp + 0x6f]
mov rcx, rbx
call fcn.1400f9f20
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x7f]
call fcn.140021850
mov rdx, rax
mov rbx, qword [rbp + 0x67]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1400fa06d
jmp 0x1400fa020
mov rbx, qword [rbp + 0x67]
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x1400fa03f
cmp eax, 0xffffffff
je 0x1400fa04e
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fa04e
mov rcx, qword [rbp + 0x7f]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.14002cd80
inc esi
inc rdi
mov r8, qword [rbp - 0x19]
mov eax, dword [r8]
mov rdx, qword [rbp - 0x21]
sub eax, dword [rdx]
cmp esi, eax
jge 0x1400fa195
jmp 0x1400f9f90
mov edx, eax
lea rcx, [rbp + 7]
call fcn.14004b9a0
nop
lea rdx, [rbp - 1]
mov rcx, rax
call fcn.1400127c0
mov rbx, rax
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x7f]
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 + 0xf], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
lea rax, str.default
mov qword [rbp + 0x27], rax
lea rdx, str.QSettings:_RegDeleteKey_failed_on_subkey___s_:__s
lea rcx, [rbp + 0xf]
call fcn.1400128c0
nop
mov rcx, qword [rbp - 9]
mov eax, dword [rcx]
test eax, eax
je 0x1400fa0f5
cmp eax, 0xffffffff
je 0x1400fa104
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fa104
mov rcx, qword [rbp - 9]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002cd80
nop
mov rcx, qword [rbp - 1]
mov eax, dword [rcx]
test eax, eax
je 0x1400fa123
cmp eax, 0xffffffff
je 0x1400fa132
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fa132
mov rcx, qword [rbp - 1]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002cd80
nop
mov rcx, qword [rbp + 7]
mov eax, dword [rcx]
test eax, eax
je 0x1400fa151
cmp eax, 0xffffffff
je 0x1400fa160
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fa160
mov rcx, qword [rbp + 7]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
nop
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x1400fa17f
cmp eax, 0xffffffff
je 0x1400fa18d
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fa18d
mov rcx, qword [rbp + 0x7f]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
mov rdx, qword [rbp - 0x21]
mov r8, qword [rbp - 0x19]
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fa1b0
cmp ecx, 0xffffffff
je 0x1400fa20e
or ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400fa20e
movsxd rbx, dword [r8]
mov rax, qword [rbp - 0x29]
add rbx, 2
lea rbx, [rax + rbx*8]
movsxd rdi, dword [rdx]
add rdi, 2
lea rdi, [rax + rdi*8]
cmp rdi, rbx
je 0x1400fa204
nop
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400fa1ee
cmp eax, 0xffffffff
je 0x1400fa1ff
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fa1ff
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.14002cd80
cmp rbx, rdi
jne 0x1400fa1d0
mov rcx, qword [rbp - 0x29]
call fcn.14010a1f0
nop
add rsp, 0x98
pop rdi
pop rsi
pop rbx
pop rbp
ret