Function at 0x1400eb5a0
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, 0xa8
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov rbx, rcx
mov r8d, 2
mov rdx, rcx
lea rcx, [rbp - 0x39]
call fcn.1400ea6b0
nop
xor esi, esi
mov rax, qword [rbp - 0x39]
lea r8, [rax + 0xc]
mov qword [rbp - 0x29], r8
lea rdx, [rax + 8]
mov qword [rbp - 0x31], rdx
mov eax, dword [r8]
sub eax, dword [rdx]
test eax, eax
jle 0x1400eb857
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 - 0x39]
mov rax, qword [rax + rcx*8 + 0x10]
mov qword [rbp + 0x7f], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x1400eb62f
lock inc dword [rax]
mov qword [rbp - 0x19], 0
lea rcx, [rbp + 0x7f]
call fcn.140021a50
mov rdx, rax
lea rax, [rbp - 0x19]
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 0x1400eb6a0
mov rbx, qword [rbp - 0x19]
test rbx, rbx
je 0x1400eb69c
mov edx, dword [rbp + 0x6f]
mov rcx, rbx
call fcn.1400eb5a0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x7f]
call fcn.140021a50
mov rdx, rax
mov rbx, qword [rbp + 0x67]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1400eb6ed
jmp 0x1400eb6a0
mov rbx, qword [rbp + 0x67]
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x1400eb6bf
cmp eax, 0xffffffff
je 0x1400eb6ce
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400eb6ce
mov rcx, qword [rbp + 0x7f]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.14002c3b0
inc esi
inc rdi
mov r8, qword [rbp - 0x29]
mov eax, dword [r8]
mov rdx, qword [rbp - 0x31]
sub eax, dword [rdx]
cmp esi, eax
jge 0x1400eb857
jmp 0x1400eb610
mov edx, eax
lea rcx, [rbp - 1]
call fcn.140040790
nop
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.1400131c0
mov rbx, rax
mov rcx, qword [rbp + 0x7f]
mov qword [rbp - 0x21], rcx
mov edx, dword [rcx]
inc edx
cmp edx, 1
jbe 0x1400eb71c
lock inc dword [rcx]
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x21]
call fcn.1400131c0
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 + 7], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
lea rax, [0x1402be910]
mov qword [rbp + 0x1f], rax
lea rdx, str.QSettings:_RegDeleteKey_failed_on_subkey___s_:__s
lea rcx, [rbp + 7]
call fcn.1400132c0
nop
mov rcx, qword [rbp - 0x11]
mov eax, dword [rcx]
test eax, eax
je 0x1400eb789
cmp eax, 0xffffffff
je 0x1400eb798
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400eb798
mov rcx, qword [rbp - 0x11]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002c3b0
nop
mov rax, qword [rbp - 0x21]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400eb7b3
cmp ecx, 0xffffffff
je 0x1400eb7c6
or ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400eb7c6
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x21]
call fcn.14002c3b0
nop
mov rcx, qword [rbp - 9]
mov eax, dword [rcx]
test eax, eax
je 0x1400eb7e5
cmp eax, 0xffffffff
je 0x1400eb7f4
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400eb7f4
mov rcx, qword [rbp - 9]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002c3b0
nop
mov rcx, qword [rbp - 1]
mov eax, dword [rcx]
test eax, eax
je 0x1400eb813
cmp eax, 0xffffffff
je 0x1400eb822
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400eb822
mov rcx, qword [rbp - 1]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
nop
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x1400eb841
cmp eax, 0xffffffff
je 0x1400eb84f
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400eb84f
mov rcx, qword [rbp + 0x7f]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
mov rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x29]
mov rax, qword [rbp - 0x39]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400eb872
cmp ecx, 0xffffffff
je 0x1400eb8cf
or ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400eb8cf
movsxd rbx, dword [r8]
mov rax, qword [rbp - 0x39]
add rbx, 2
lea rbx, [rax + rbx*8]
movsxd rdi, dword [rdx]
add rdi, 2
lea rdi, [rax + rdi*8]
cmp rdi, rbx
je 0x1400eb8c5
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400eb8af
cmp eax, 0xffffffff
je 0x1400eb8c0
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400eb8c0
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.14002c3b0
cmp rbx, rdi
jne 0x1400eb891
mov rcx, qword [rbp - 0x39]
call fcn.1400f8420
nop
add rsp, 0xa8
pop rdi
pop rsi
pop rbx
pop rbp
ret