Function at 0x1400e88d0
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, 0xe0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rsp + 0x128], rbx
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx + 0xb0]
cmp dword [rcx + 4], 0
je 0x1400e8efa
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1400e78a0
test rax, rax
je 0x1400e8efa
cmp byte [rbx + 0x18], 0
jne 0x1400e8efa
mov rcx, rbx
call fcn.1400e78a0
test rax, rax
je 0x1400e8efa
mov rcx, qword [rsi]
mov qword [rbp - 0x79], rcx
mov eax, dword [rcx]
inc eax
cmp eax, 1
jbe 0x1400e8955
lock inc dword [rcx]
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 0x67]
call fcn.1400e74e0
nop
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x69]
call fcn.1400e7c80
mov r14, rax
mov rcx, qword [rdi + 0xb0]
xor r15d, r15d
cmp dword [rcx + 4], r15d
je 0x1400e89aa
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1400e78a0
test rax, rax
je 0x1400e89aa
cmp byte [rbx + 0x18], r15b
jne 0x1400e89aa
mov rcx, rbx
call fcn.1400e78a0
mov rsi, rax
jmp 0x1400e89ad
mov rsi, r15
mov ebx, dword [rdi + 0xbc]
mov qword [rbp - 0x71], r15
or ebx, 0x2001f
mov rcx, r14
call fcn.140025d00
mov rdx, rax
lea rax, [rbp - 0x71]
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 - 0x71]
mov rcx, qword [rbp - 0x69]
mov eax, dword [rcx]
or esi, 0xffffffff
test eax, eax
je 0x1400e8a0a
cmp eax, esi
je 0x1400e8a18
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e8a18
mov rcx, qword [rbp - 0x69]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
test rbx, rbx
je 0x1400e8a75
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x61]
call fcn.1400e7b20
nop
mov rcx, rax
call fcn.140025d00
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
mov rcx, qword [rbp - 0x61]
mov eax, dword [rcx]
test eax, eax
je 0x1400e8a5e
cmp eax, 0xffffffff
je 0x1400e8a6c
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e8a6c
mov rcx, qword [rbp - 0x61]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rdi + 0xb0]
cmp dword [rcx + 4], 0
je 0x1400e8aa9
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1400e78a0
test rax, rax
je 0x1400e8aa9
cmp byte [rbx + 0x18], 0
jne 0x1400e8aa9
mov rcx, rbx
call fcn.1400e78a0
mov r14, rax
jmp 0x1400e8aac
mov r14, r15
mov ebx, dword [rdi + 0xbc]
mov qword [rbp - 0x59], r15
or ebx, 0x2001f
lea rcx, [rbp + 0x67]
call fcn.140025d00
mov rdx, rax
lea rax, [rbp - 0x59]
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 0x1400e8ece
mov r14, qword [rbp - 0x59]
mov qword [rsp + 0x30], r14
test r14, r14
je 0x1400e8ece
mov edx, dword [rdi + 0xbc]
mov rcx, r14
call fcn.1400e6f50
mov rax, qword [rbp + 0x67]
cmp dword [rax + 4], 0
jne 0x1400e8da2
mov ebx, 1
mov r8d, ebx
mov rdx, r14
lea rcx, [rbp + 0x77]
call fcn.1400e6020
nop
mov r12d, r15d
mov rax, qword [rbp + 0x77]
lea rdi, [rax + 0xc]
mov qword [rsp + 0x38], rdi
lea r13, [rax + 8]
mov eax, dword [rdi]
sub eax, dword [r13]
test eax, eax
jle 0x1400e8d20
nop dword [rax]
movsxd rcx, dword [r13]
add rcx, r15
mov rax, qword [rbp + 0x77]
mov rax, qword [rax + rcx*8 + 0x10]
mov qword [rbp + 0x7f], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x1400e8b70
lock inc dword [rax]
lea rcx, [rbp + 0x7f]
call fcn.140025d00
mov rdx, rax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1400e8cdf
mov edx, eax
lea rcx, [rbp - 0x41]
call fcn.1400e7450
nop
lea rdx, [rbp - 0x49]
mov rcx, rax
call fcn.140034570
mov rdi, rax
lea rdx, [rbp - 0x51]
lea rcx, [rbp + 0x7f]
call fcn.140019540
mov r14, rax
mov rcx, qword [rdi]
cmp dword [rcx], 1
ja 0x1400e8bc7
cmp qword [rcx + 0x10], 0x18
je 0x1400e8be2
xor r8d, r8d
cmp dword [rcx + 8], 0x80000000
cmovae r8d, ebx
mov edx, dword [rcx + 4]
inc edx
mov rcx, rdi
call fcn.1400335a0
mov rcx, qword [rdi]
mov rdi, qword [rcx + 0x10]
add rdi, rcx
mov rax, qword [r14]
cmp dword [rax], 1
ja 0x1400e8bfb
cmp qword [rax + 0x10], 0x18
je 0x1400e8c16
xor r8d, r8d
cmp dword [rax + 8], 0x80000000
cmovae r8d, ebx
mov edx, dword [rax + 4]
inc edx
mov rcx, r14
call fcn.1400335a0
mov rcx, qword [r14]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rbp - 0x21], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
lea rax, [0x1402c02b8]
mov qword [rbp - 9], rax
mov r9, rdi
lea rdx, str.QSettings:_RegDeleteValue_failed_on_subkey___s_:__s
lea rcx, [rbp - 0x21]
call fcn.140019630
nop
mov rcx, qword [rbp - 0x51]
mov eax, dword [rcx]
test eax, eax
je 0x1400e8c6d
cmp eax, 0xffffffff
je 0x1400e8c7c
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e8c7c
mov rcx, qword [rbp - 0x51]
mov r8d, 8
mov rdx, rbx
call fcn.1400309b0
nop
mov rcx, qword [rbp - 0x49]
mov eax, dword [rcx]
test eax, eax
je 0x1400e8c9a
cmp eax, 0xffffffff
je 0x1400e8ca9
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e8ca9
mov rcx, qword [rbp - 0x49]
mov r8d, 8
mov rdx, rbx
call fcn.1400309b0
nop
mov rcx, qword [rbp - 0x41]
mov eax, dword [rcx]
test eax, eax
je 0x1400e8cc7
cmp eax, 0xffffffff
je 0x1400e8cd5
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e8cd5
mov rcx, qword [rbp - 0x41]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x1400e8cfd
cmp eax, 0xffffffff
je 0x1400e8d0b
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e8d0b
mov rcx, qword [rbp + 0x7f]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
inc r12d
inc r15
mov eax, dword [rdi]
sub eax, dword [r13]
cmp r12d, eax
jl 0x1400e8b50
mov rax, qword [rbp + 0x77]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400e8d3a
cmp ecx, 0xffffffff
je 0x1400e8d9d
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400e8d9d
movsxd rbx, dword [rdi]
mov rax, qword [rbp + 0x77]
add rbx, 2
lea rbx, [rax + rbx*8]
movsxd rdi, dword [r13]
add rdi, 2
lea rdi, [rax + rdi*8]
cmp rdi, rbx
je 0x1400e8d93
nop word [rax + rax]
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400e8d7d
cmp eax, 0xffffffff
je 0x1400e8d8e
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e8d8e
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.1400309b0
cmp rbx, rdi
jne 0x1400e8d60
mov rcx, qword [rbp + 0x77]
call fcn.140123330
nop
jmp 0x1400e8ec4
lea rcx, [rbp + 0x67]
call fcn.140025d00
mov rbx, rax
mov rcx, rdi
call fcn.1400e9970
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x1400e8ec4
mov edx, eax
lea rcx, [rbp - 0x29]
call fcn.1400e7450
nop
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.140034570
mov rbx, rax
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.140019540
mov rdi, rax
mov qword [rbp - 1], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
lea rax, [0x1402c02b8]
mov qword [rbp + 0x17], rax
mov rcx, rbx
call fcn.14001fc20
mov rbx, rax
mov rcx, rdi
call fcn.14001fc20
mov r8, rax
mov r9, rbx
lea rdx, str.QSettings:_RegDeleteKey_failed_on_key___s_:__s
lea rcx, [rbp - 1]
call fcn.140019630
nop
mov rcx, qword [rbp - 0x39]
mov eax, dword [rcx]
mov ebx, 1
test eax, eax
je 0x1400e8e5c
cmp eax, 0xffffffff
je 0x1400e8e6b
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, ebx
jne 0x1400e8e6b
mov rcx, qword [rbp - 0x39]
mov r8d, 8
mov rdx, rbx
call fcn.1400309b0
nop
mov rcx, qword [rbp - 0x31]
mov eax, dword [rcx]
test eax, eax
je 0x1400e8e89
cmp eax, 0xffffffff
je 0x1400e8e98
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e8e98
mov rcx, qword [rbp - 0x31]
mov r8d, 8
mov rdx, rbx
call fcn.1400309b0
nop
mov rcx, qword [rbp - 0x29]
mov eax, dword [rcx]
test eax, eax
je 0x1400e8eb6
cmp eax, 0xffffffff
je 0x1400e8ec4
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e8ec4
mov rcx, qword [rbp - 0x29]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp + 0x67]
mov eax, dword [rcx]
test eax, eax
je 0x1400e8eea
cmp eax, 0xffffffff
je 0x1400e8f07
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1400e8f07
mov rcx, qword [rbp + 0x67]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
jmp 0x1400e8f07
mov edx, 1
mov rcx, rdi
call fcn.1400c9740
mov rbx, qword [rsp + 0x128]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret