Function at 0x1400e1a10
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
xor r15d, r15d
xor eax, eax
lock cmpxchg dword [0x140687cf0], r15d
jne 0x1400e1a56
xor al, al
jmp 0x1400e1d50
lea rax, vtable.AutoLock.0
mov qword [rbp - 0x70], rax
lea r12, [0x140686c18]
mov qword [rbp - 0x68], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400e1aa0
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400739a0
nop
lea rdx, [rsp + 0x70]
call fcn.1400e5a30
mov esi, eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400e1b06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1b01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e1d7e
call fcn.140359090
test esi, esi
je 0x1400e1b12
xor sil, sil
jmp 0x1400e1d43
xor sil, sil
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
xor edx, edx
mov cl, 1
call fcn.1401d3b80
mov r14, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r15
movdqa xmm0, xmmword [0x14060af30]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
mov dword [rbp - 8], 2
test rax, rax
je 0x1400e1d27
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov r8d, 0xa
lea rdx, str._profiles_
lea rcx, [rsp + 0x30]
call fcn.1400739a0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x14060af30]
movdqu xmmword [rbp - 0x48], xmm1
mov word [rbp - 0x58], r15w
mov dword [rbp - 0x38], 2
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rbp - 0x58]
call fcn.1400739a0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xf013f
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400e1c49
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1c44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e1d84
call fcn.140359090
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400e1d0e
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400e1c80
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400739a0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400e1cfc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1cf7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e1d78
call fcn.140359090
movzx esi, sil
mov eax, 1
test bl, bl
cmovne esi, eax
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400e1d1d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x60], r15
lea rcx, [rbp - 0x58]
call fcn.140073b90
nop
test r14, r14
je 0x1400e1d39
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x30], r15
lea rcx, [rbp - 0x28]
call fcn.140073b90
nop
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, sil
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140359070
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140368068
nop
call fcn.140368068
nop
call fcn.140368068
int3