Function at 0x140080690
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov r15d, r8d
mov rbp, rdx
mov r13, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x98], rax
xor esi, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
je 0x140080913
mov qword [rsp + 0x90], 0
mov r9d, r15d
or r9d, 8
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor esi, esi
mov rcx, r13
mov rdx, rbp
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14008071e
cmp eax, 2
je 0x140080913
mov esi, eax
jmp 0x140080913
movabs rbx, 0x7fffffffffffffef
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
mov rcx, rbp
call fcn.1401eaef4
cmp rax, rbx
ja 0x14008095e
mov rsi, rax
cmp rax, 0xb
jae 0x14008076d
lea r14, [rsp + 0x70]
mov byte [rsp + 0x87], sil
mov r12, r14
test rsi, rsi
jne 0x1400807a5
jmp 0x1400807b6
lea rdi, [rsi + 8]
and rdi, 0xfffffffffffffff8
js 0x140080968
lea rcx, [rdi + rdi]
call fcn.1401c9f10
mov r12, rax
mov qword [rsp + 0x70], rax
add rbx, 0x11
or rbx, rdi
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x78], rsi
lea r14, [rsp + 0x70]
mov r8, rsi
add r8, rsi
mov rcx, r12
mov rdx, rbp
call fcn.1401cccd0
mov word [r12 + rsi*2], 0
mov al, byte [r14 + 0x17]
test al, al
mov rcx, qword [rsp + 0x78]
movzx edi, al
mov rdx, rdi
cmovs rdx, rcx
test rdx, rdx
mov qword [rsp + 0x40], rbp
lea rsi, [rsp + 0x70]
je 0x140080812
mov rbx, rsi
test al, al
jns 0x1400807ed
mov rbx, qword [rsp + 0x70]
cmp word [rbx + rdx*2 - 2], 0x5c
je 0x140080812
lea rsi, [rsp + 0x70]
mov rcx, rsi
mov dx, 0x5c
call fcn.14003c0a4
mov al, byte [r14 + 0x17]
mov rcx, qword [rsp + 0x78]
movzx edi, al
test al, al
cmovs rdi, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x50], xmm6
mov qword [rsp + 0x60], 0
lea rbp, [rsp + 0x50]
lea r12, [rsp + 0x4c]
lea rbx, [rsp + 0x70]
jmp 0x140080853
mov rcx, r13
mov r8d, r15d
call fcn.140080690
test eax, eax
jne 0x1400808e1
mov dword [rsp + 0x4c], 0x104
mov edx, 0x104
mov rcx, rbp
call fcn.14006d860
mov rcx, qword [rsp + 0x90]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
xor edx, edx
mov r8, rax
mov r9, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400808e1
mov edx, dword [rsp + 0x4c]
mov rcx, rbp
xor r8d, r8d
call fcn.14003ba62
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call fcn.14003ba62
movzx r8d, byte [rsp + 0x67]
mov rdx, rbp
test r8b, r8b
jns 0x1400808c1
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14003bd32
cmp byte [r14 + 0x17], 0
mov rdx, rsi
jns 0x140080840
mov rdx, qword [rsp + 0x70]
jmp 0x140080840
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r13
mov rdx, qword [rsp + 0x40]
mov r8d, r15d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov esi, eax
cmp byte [rsp + 0x67], 0
js 0x140080941
cmp byte [r14 + 0x17], 0
js 0x140080952
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, esi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x50]
call fcn.1401c9f6c
cmp byte [r14 + 0x17], 0
jns 0x140080913
mov rcx, qword [rsp + 0x70]
call fcn.1401c9f6c
jmp 0x140080913
lea rcx, [rsp + 0x70]
call fcn.14003a95e
call fcn.1401dedf4
int3