Function at 0x1400f9280
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.1400f8440
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 0x1400f9537
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 0x1400f930f
lock inc dword [rax]
mov qword [rbp - 0x19], 0
lea rcx, [rbp + 0x7f]
call fcn.14002b720
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 0x1400f9380
mov rbx, qword [rbp - 0x19]
test rbx, rbx
je 0x1400f937c
mov edx, dword [rbp + 0x6f]
mov rcx, rbx
call fcn.1400f9280
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x7f]
call fcn.14002b720
mov rdx, rax
mov rbx, qword [rbp + 0x67]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1400f93cd
jmp 0x1400f9380
mov rbx, qword [rbp + 0x67]
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x1400f939f
cmp eax, 0xffffffff
je 0x1400f93ae
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f93ae
mov rcx, qword [rbp + 0x7f]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140035d80
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 0x1400f9537
jmp 0x1400f92f0
mov edx, eax
lea rcx, [rbp - 1]
call fcn.140079d10
nop
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.140020590
mov rbx, rax
mov rcx, qword [rbp + 0x7f]
mov qword [rbp - 0x21], rcx
mov edx, dword [rcx]
inc edx
cmp edx, 1
jbe 0x1400f93fc
lock inc dword [rcx]
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x21]
call fcn.140020590
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, [0x1402c4b50]
mov qword [rbp + 0x1f], rax
lea rdx, [0x14029b3a8]
lea rcx, [rbp + 7]
call fcn.14001ead0
nop
mov rcx, qword [rbp - 0x11]
mov eax, dword [rcx]
test eax, eax
je 0x1400f9469
cmp eax, 0xffffffff
je 0x1400f9478
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f9478
mov rcx, qword [rbp - 0x11]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140035d80
nop
mov rax, qword [rbp - 0x21]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400f9493
cmp ecx, 0xffffffff
je 0x1400f94a6
or ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400f94a6
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x21]
call fcn.140035d80
nop
mov rcx, qword [rbp - 9]
mov eax, dword [rcx]
test eax, eax
je 0x1400f94c5
cmp eax, 0xffffffff
je 0x1400f94d4
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f94d4
mov rcx, qword [rbp - 9]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140035d80
nop
mov rcx, qword [rbp - 1]
mov eax, dword [rcx]
test eax, eax
je 0x1400f94f3
cmp eax, 0xffffffff
je 0x1400f9502
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f9502
mov rcx, qword [rbp - 1]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
nop
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x1400f9521
cmp eax, 0xffffffff
je 0x1400f952f
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f952f
mov rcx, qword [rbp + 0x7f]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
mov rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x29]
mov rax, qword [rbp - 0x39]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400f9552
cmp ecx, 0xffffffff
je 0x1400f95af
or ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400f95af
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 0x1400f95a5
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400f958f
cmp eax, 0xffffffff
je 0x1400f95a0
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f95a0
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.140035d80
cmp rbx, rdi
jne 0x1400f9571
mov rcx, qword [rbp - 0x39]
call fcn.140103190
nop
add rsp, 0xa8
pop rdi
pop rsi
pop rbx
pop rbp
ret