Function at 0x1401177c0
Capabilities:
Delete registry key

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov ebx, edx
mov r12, rcx
mov r8d, 2
mov rdx, rcx
lea rcx, [rbp - 0x39]
call fcn.140116a60
nop
xor r15d, r15d
mov esi, r15d
mov rax, qword [rbp - 0x39]
lea r13, [rax + 0xc]
lea rcx, [rax + 8]
mov qword [rbp - 0x11], rcx
mov edx, dword [rcx]
mov ecx, dword [r13]
sub ecx, edx
lea edi, [r15 - 1]
test ecx, ecx
jle 0x140117a7b
mov r14d, r15d
or ebx, 0x2001f
mov dword [rbp + 0x77], ebx
nop dword [rax]
movsxd rcx, edx
add rcx, r14
mov rdx, qword [rax + rcx*8 + 0x10]
mov qword [rbp + 0x7f], rdx
mov eax, dword [rdx]
inc eax
cmp eax, 1
jbe 0x140117861
mov eax, 1
lock xadd dword [rdx], eax
mov qword [rbp - 0x19], r15
lea rcx, [rbp + 0x7f]
call fcn.140046630
mov rdx, rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401178c3
mov rbx, qword [rbp - 0x19]
test rbx, rbx
je 0x1401178c3
mov edx, dword [rbp + 0x6f]
mov rcx, rbx
call fcn.1401177c0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x7f]
call fcn.140046630
mov rdx, rax
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x140117919
mov rax, qword [rbp + 0x7f]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401178e1
cmp ecx, 0xffffffff
je 0x1401178f4
mov rax, qword [rbp + 0x7f]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401178f4
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, qword [rbp + 0x7f]
call fcn.140049bf0
inc esi
inc r14
mov rax, qword [rbp - 0x11]
mov edx, dword [rax]
mov eax, dword [r13]
sub eax, edx
cmp esi, eax
jge 0x140117a77
mov rax, qword [rbp - 0x39]
mov ebx, dword [rbp + 0x77]
jmp 0x140117840
mov qword [rbp - 9], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
lea rcx, [0x1402d77f0]
mov qword [rbp + 0xf], rcx
mov edx, eax
lea rcx, [rbp - 0x21]
call fcn.14009f5f0
nop
mov rcx, qword [rax]
mov r8d, dword [rcx + 4]
lea rsi, [0x1401a1e20]
cmp rcx, rsi
jne 0x140117958
mov rdx, r15
jmp 0x14011795f
mov rdx, qword [rcx + 0x10]
add rdx, rcx
lea rcx, [rbp - 0x29]
call fcn.140045600
nop
mov rax, qword [rbp - 0x29]
mov rbx, qword [rax + 0x10]
add rbx, rax
mov rax, qword [rbp + 0x7f]
mov r8d, dword [rax + 4]
cmp rax, rsi
je 0x140117988
mov r15, qword [rax + 0x10]
add r15, rax
mov rdx, r15
lea rcx, [rbp - 0x31]
call fcn.140045600
nop
mov rax, qword [rbp - 0x31]
mov r8, qword [rax + 0x10]
add r8, rax
mov r9, rbx
lea rdx, [0x1402abeb0]
lea rcx, [rbp - 9]
call fcn.140035f50
nop
mov rax, qword [rbp - 0x31]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401179d2
cmp ecx, 0xffffffff
je 0x1401179e5
mov ecx, edi
mov rax, qword [rbp - 0x31]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401179e5
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 0x31]
call fcn.140049bf0
nop
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax]
test ecx, ecx
je 0x140117a03
cmp ecx, 0xffffffff
je 0x140117a16
mov ecx, edi
mov rax, qword [rbp - 0x29]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140117a16
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 0x29]
call fcn.140049bf0
nop
mov rax, qword [rbp - 0x21]
mov ecx, dword [rax]
test ecx, ecx
je 0x140117a34
cmp ecx, 0xffffffff
je 0x140117a47
mov ecx, edi
mov rax, qword [rbp - 0x21]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140117a47
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x21]
call fcn.140049bf0
nop
mov rax, qword [rbp + 0x7f]
mov ecx, dword [rax]
test ecx, ecx
je 0x140117a65
cmp ecx, 0xffffffff
je 0x140117a77
mov ecx, edi
mov rax, qword [rbp + 0x7f]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140117a77
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp + 0x7f]
call fcn.140049bf0
mov rax, qword [rbp - 0x39]
mov ecx, dword [rax]
test ecx, ecx
je 0x140117a93
cmp ecx, 0xffffffff
je 0x140117aa1
mov rax, qword [rbp - 0x39]
lock xadd dword [rax], edi
cmp edi, 1
jne 0x140117aa1
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.140008550
nop
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret