Function at 0x140026230
Capabilities:
Delete registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x398], rbx
mov rax, qword [0x1400a3008]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r13d, r8d
mov r12d, edx
mov rsi, rcx
mov r8d, dword [rcx + 0x50]
lea rdx, [rsp + 0x70]
call fcn.1400261b0
nop
xor ebx, ebx
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400262ea
lea rdx, str.EndpointId
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x50], 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
or r14, 0xffffffffffffffff
cmp dword [rsp + 0x50], ebx
jne 0x140026a5b
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x120]
call fcn.14005db90
mov r8d, 0x104
lea rdx, [rbp + 0x120]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rbp - 0x10], 0xf
mov qword [rbp - 0x18], rbx
mov byte [rbp - 0x28], bl
lea r8d, [r14 + 0xe]
lea rdx, [0x14008a068]
lea rcx, [rbp - 0x28]
call fcn.140002500
nop
lea r8d, [r14 + 0x10]
lea rdx, str.WavesSvc64.exe
lea rcx, [rbp - 0x28]
call fcn.140002500
mov qword [rbp - 0x50], 0xf
mov qword [rbp - 0x58], rbx
mov byte [rbp - 0x68], 0
cmp byte [rbp + 0x120], 0
jne 0x140026392
mov r8, rbx
jmp 0x1400263aa
lea rax, [rbp + 0x120]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400263a0
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x68]
call fcn.140002500
nop
mov rcx, qword [rbp - 0x58]
cmp rcx, 1
jb 0x140026426
lea rax, [rbp - 0x68]
mov rdi, qword [rbp - 0x68]
mov r15, qword [rbp - 0x50]
cmp r15, 0x10
cmovae rax, rdi
lea rbx, [rcx - 1]
add rbx, rax
cmp byte [rbx], 0x5c
sete al
test al, al
je 0x140026402
movzx eax, byte [rbx]
cmp al, byte [0x140088ecc]
jne 0x1400263f9
xor eax, eax
jmp 0x1400263fe
sbb eax, eax
or eax, 1
test eax, eax
je 0x140026415
lea rcx, [rbp - 0x68]
call fcn.140002440
cmp rbx, rax
je 0x140026426
dec rbx
jmp 0x1400263e0
lea rax, [rbp - 0x68]
cmp r15, 0x10
cmovae rax, rdi
sub rbx, rax
jmp 0x140026429
mov rbx, r14
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp + 0xf8]
lea rcx, [rbp - 0x68]
call fcn.14001ae20
nop
lea r8, [rbp - 0x28]
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.14002d5b0
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14000bfd0
mov rax, qword [rbp + 0x10]
cmp rax, 0x10
jb 0x1400264b2
inc rax
mov rcx, qword [rbp - 8]
cmp rax, 0x1000
jb 0x1400264ad
test cl, 0x1f
je 0x140026480
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002648f
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002649e
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x1400264aa
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
mov qword [rbp + 0x10], 0xf
xor r15d, r15d
mov qword [rbp + 8], r15
mov byte [rbp - 8], r15b
mov rax, qword [rbp + 0x110]
cmp rax, 0x10
jb 0x140026521
inc rax
mov rcx, qword [rbp + 0xf8]
cmp rax, 0x1000
jb 0x14002651c
test cl, 0x1f
je 0x1400264ef
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400264fe
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002650d
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x140026519
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
mov edx, r13d
lea rcx, [rbp + 0xd8]
call fcn.140025310
mov rdi, rax
mov edx, r12d
lea rcx, [rbp + 0xb8]
call fcn.140025310
mov rbx, rax
mov edx, dword [rsi + 0x50]
lea rcx, [rbp + 0x98]
call fcn.140025330
nop
mov r8, rax
lea rdx, str._Retask
lea rcx, [rbp + 0x78]
call fcn.14002d600
nop
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.14002d660
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.14002d520
nop
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.14002d660
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14002d520
nop
mov rax, qword [rbp + 0x30]
cmp rax, 0x10
jb 0x1400265f9
inc rax
mov rcx, qword [rbp + 0x18]
cmp rax, 0x1000
jb 0x1400265f4
test cl, 0x1f
je 0x1400265c7
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400265d6
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400265e5
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x1400265f1
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
mov qword [rbp + 0x30], 0xf
mov qword [rbp + 0x28], r15
mov byte [rbp + 0x18], 0
mov rax, qword [rbp + 0x50]
cmp rax, 0x10
jb 0x14002665f
inc rax
mov rcx, qword [rbp + 0x38]
cmp rax, 0x1000
jb 0x14002665a
test cl, 0x1f
je 0x14002662d
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002663c
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002664b
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x140026657
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], r15
mov byte [rbp + 0x38], 0
mov rax, qword [rbp + 0x70]
cmp rax, 0x10
jb 0x1400266c5
inc rax
mov rcx, qword [rbp + 0x58]
cmp rax, 0x1000
jb 0x1400266c0
test cl, 0x1f
je 0x140026693
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400266a2
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400266b1
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x1400266bd
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
mov qword [rbp + 0x70], 0xf
mov qword [rbp + 0x68], r15
mov byte [rbp + 0x58], 0
mov rax, qword [rbp + 0x90]
cmp rax, 0x10
jb 0x14002672e
inc rax
mov rcx, qword [rbp + 0x78]
cmp rax, 0x1000
jb 0x140026729
test cl, 0x1f
je 0x1400266fc
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002670b
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002671a
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x140026726
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
mov qword [rbp + 0x90], 0xf
mov qword [rbp + 0x88], r15
mov byte [rbp + 0x78], 0
mov rax, qword [rbp + 0xb0]
cmp rax, 0x10
jb 0x1400267a0
inc rax
mov rcx, qword [rbp + 0x98]
cmp rax, 0x1000
jb 0x14002679b
test cl, 0x1f
je 0x14002676e
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002677d
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002678c
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x140026798
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
mov qword [rbp + 0xb0], 0xf
mov qword [rbp + 0xa8], r15
mov byte [rbp + 0x98], 0
mov rax, qword [rbp + 0xd0]
cmp rax, 0x10
jb 0x140026815
inc rax
mov rcx, qword [rbp + 0xb8]
cmp rax, 0x1000
jb 0x140026810
test cl, 0x1f
je 0x1400267e3
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400267f2
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x140026801
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x14002680d
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
mov qword [rbp + 0xd0], 0xf
mov qword [rbp + 0xc8], r15
mov byte [rbp + 0xb8], 0
mov rax, qword [rbp + 0xf0]
cmp rax, 0x10
jb 0x14002688a
inc rax
mov rcx, qword [rbp + 0xd8]
cmp rax, 0x1000
jb 0x140026885
test cl, 0x1f
je 0x140026858
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140026867
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x140026876
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x140026882
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
mov qword [rbp + 0xf0], 0xf
mov qword [rbp + 0xe8], r15
mov byte [rbp + 0xd8], 0
lea rax, [rsp + 0x60]
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x54], 1
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
call fcn.140011880
mov rbx, rax
mov qword [rsp + 0x60], rax
lea rdi, [rsp + 0x54]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140011a60
lea r9, [rax + 0x1c]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x60]
call fcn.140011a90
add rdi, 4
lea rax, [rsp + 0x58]
cmp rdi, rax
je 0x14002690c
mov rbx, qword [rsp + 0x60]
jmp 0x1400268d0
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rcx, qword [rbp - 0x68]
lea r8, [rsp + 0x60]
call fcn.1400317a0
nop
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x140026989
inc rax
mov rcx, qword [rbp - 0x48]
cmp rax, 0x1000
jb 0x140026984
test cl, 0x1f
je 0x140026957
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140026966
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x140026975
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x140026981
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
mov qword [rbp - 0x30], 0xf
mov qword [rbp - 0x38], r15
mov byte [rbp - 0x48], 0
mov rax, qword [rbp - 0x50]
cmp rax, 0x10
jb 0x1400269ef
inc rax
mov rcx, qword [rbp - 0x68]
cmp rax, 0x1000
jb 0x1400269ea
test cl, 0x1f
je 0x1400269bd
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400269cc
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400269db
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x1400269e7
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
mov qword [rbp - 0x50], 0xf
mov qword [rbp - 0x58], r15
mov byte [rbp - 0x68], 0
mov rax, qword [rbp - 0x10]
cmp rax, 0x10
jb 0x140026ac4
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, 0x1000
jb 0x140026a54
test cl, 0x1f
je 0x140026a27
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140026a36
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x140026a45
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x140026a51
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
jmp 0x140026ac4
mov rcx, qword [rsi + 0x2d0]
test rcx, rcx
je 0x140026a78
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140026a78
mov qword [rsi + 0x2d0], rbx
cmp qword [rsi + 0x2d0], rbx
jne 0x140026aa5
lea r9, str.RealtekAudioBackgroundProcessClass
lea r8, str.RealtekAudioBackgroundProcessClass
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExA]
mov qword [rsi + 0x2d0], rax
cmp rax, rbx
je 0x140026ab5
mov r8d, r13d
mov edx, r12d
mov rcx, rsi
call fcn.140026b10
jmp 0x140026ac4
mov r8d, r13d
mov edx, r12d
mov rcx, rsi
call fcn.140026d80
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x140026ae2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14003cd10
mov rbx, qword [rsp + 0x398]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret