Function at 0x1400f8dc0
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.1400f7ed0
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 0x1400f9035
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 0x1400f8e4f
lock inc dword [rax]
mov qword [rbp - 0x11], 0
lea rcx, [rbp + 0x7f]
call fcn.140022410
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 0x1400f8ec0
mov rbx, qword [rbp - 0x11]
test rbx, rbx
je 0x1400f8ebc
mov edx, dword [rbp + 0x6f]
mov rcx, rbx
call fcn.1400f8dc0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x7f]
call fcn.140022410
mov rdx, rax
mov rbx, qword [rbp + 0x67]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1400f8f0d
jmp 0x1400f8ec0
mov rbx, qword [rbp + 0x67]
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x1400f8edf
cmp eax, 0xffffffff
je 0x1400f8eee
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f8eee
mov rcx, qword [rbp + 0x7f]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.14002d570
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 0x1400f9035
jmp 0x1400f8e30
mov edx, eax
lea rcx, [rbp + 7]
call fcn.140041f90
nop
lea rdx, [rbp - 1]
mov rcx, rax
call fcn.140013320
mov rbx, rax
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x7f]
call fcn.140013320
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, [0x1402dd7d0]
mov qword [rbp + 0x27], rax
lea rdx, str.QSettings:_RegDeleteKey_failed_on_subkey___s_:__s
lea rcx, [rbp + 0xf]
call fcn.140013420
nop
mov rcx, qword [rbp - 9]
mov eax, dword [rcx]
test eax, eax
je 0x1400f8f95
cmp eax, 0xffffffff
je 0x1400f8fa4
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f8fa4
mov rcx, qword [rbp - 9]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002d570
nop
mov rcx, qword [rbp - 1]
mov eax, dword [rcx]
test eax, eax
je 0x1400f8fc3
cmp eax, 0xffffffff
je 0x1400f8fd2
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f8fd2
mov rcx, qword [rbp - 1]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002d570
nop
mov rcx, qword [rbp + 7]
mov eax, dword [rcx]
test eax, eax
je 0x1400f8ff1
cmp eax, 0xffffffff
je 0x1400f9000
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f9000
mov rcx, qword [rbp + 7]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
nop
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x1400f901f
cmp eax, 0xffffffff
je 0x1400f902d
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f902d
mov rcx, qword [rbp + 0x7f]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
mov rdx, qword [rbp - 0x21]
mov r8, qword [rbp - 0x19]
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400f9050
cmp ecx, 0xffffffff
je 0x1400f90ae
or ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400f90ae
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 0x1400f90a4
nop
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400f908e
cmp eax, 0xffffffff
je 0x1400f909f
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f909f
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.14002d570
cmp rbx, rdi
jne 0x1400f9070
mov rcx, qword [rbp - 0x29]
call fcn.14010bca0
nop
add rsp, 0x98
pop rdi
pop rsi
pop rbx
pop rbp
ret