Function at 0x140044290
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword [0x1400b8010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov esi, r9d
mov r15, r8
mov qword [rbp - 0x39], r8
mov rbx, rdx
mov qword [rbp - 0x31], rdx
mov r14, rcx
xor edi, edi
mov dword [rbp - 0x19], edi
lea r12, [0x1400b8cb0]
mov qword [rbp - 0x11], r12
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [r8], xmm0
mov dword [rbp - 0x19], edi
mov qword [rbp - 0x11], r12
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
cmp qword [rdx + 0x18], 8
jb 0x140044300
mov rdx, qword [rdx]
xor r9d, r9d
mov r8d, esi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
lea r13, [0x1400b8f00]
test eax, eax
je 0x140044333
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x14004432f
mov dword [rbp - 0x19], eax
mov qword [rbp - 0x11], r13
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
xor al, al
jmp 0x140044335
mov al, 1
cmp dword [rbp - 0x19], edi
je 0x140044533
mov dword [rbp - 0x19], edi
mov qword [rbp - 0x11], r12
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [r15], xmm0
mov qword [rbp - 9], rdi
mov r9d, esi
or r9d, 0x3001f
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140044368
mov rdx, qword [rbx]
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rbx, qword [rbp - 9]
test eax, eax
je 0x140044394
mov dword [rbp - 0x19], eax
mov qword [rbp - 0x11], r13
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [r15], xmm0
mov qword [rbp - 9], rdi
mov edx, dword [r15]
test edx, edx
je 0x1400443d6
movups xmm0, xmmword [r15]
movaps xmmword [rbp - 0x19], xmm0
movd eax, xmm0
add eax, 0xfffffffe
cmp eax, 1
ja 0x1400443d6
mov rcx, qword [0x1400b8f08]
mov rax, qword [rbp - 0x11]
cmp qword [rax + 8], rcx
jne 0x1400443d6
mov dword [rbp - 0x19], edi
mov qword [rbp - 0x11], r12
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [r15], xmm0
mov edx, dword [r15]
mov qword [rbp - 0x19], rbx
mov rdi, rbx
test edx, edx
je 0x1400443e9
xor sil, sil
jmp 0x140044521
test rbx, rbx
jne 0x1400443f6
mov sil, 1
jmp 0x140044521
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rax
mov r8, r15
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.140043d40
mov r12, qword [rbp + 7]
mov r13, qword [rbp - 1]
cmp dword [r15], 0
jne 0x140044471
mov r15, r13
cmp r13, r12
je 0x14004455a
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140044439
mov rdx, qword [r15]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
je 0x14004444e
lea ecx, [rax - 2]
cmp ecx, 1
ja 0x140044457
add r15, 0x20
cmp r15, r12
jmp 0x140044426
mov dword [rbp - 0x31], eax
lea rax, [0x1400b8f00]
mov qword [rbp - 0x29], rax
movups xmm0, xmmword [rbp - 0x31]
mov r8, qword [rbp - 0x39]
movups xmmword [r8], xmm0
xor sil, sil
test r13, r13
je 0x140044521
cmp r13, r12
je 0x1400444ec
lea rbx, [r13 + 0x18]
xor r14d, r14d
nop dword [rax]
mov rdx, qword [rbx]
cmp rdx, 8
jb 0x1400444cf
mov rcx, qword [rbx - 0x18]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400444ca
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140044575
mov rcx, r8
call fcn.14005a750
mov word [rbx - 0x18], r14w
mov qword [rbx - 8], r14
mov qword [rbx], 7
add rbx, 0x20
lea rax, [rbx - 0x18]
cmp rax, r12
jne 0x140044490
mov rdx, qword [rbp + 0xf]
sub rdx, r13
and rdx, 0xffffffffffffffe0
mov rax, r13
cmp rdx, 0x1000
jb 0x140044518
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044575
mov rcx, r13
call fcn.14005a750
nop
test rdi, rdi
je 0x14004452f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, sil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14005a730
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r9d, esi
mov r8, qword [rbp - 0x39]
mov rdx, qword [rbp - 0x31]
mov rcx, r14
call fcn.140044210
mov sil, 1
jmp 0x140044474
call fcn.14006538c
int3