Function at 0x1400b81cc
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140109328]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r13, rdx
mov r12, rcx
mov qword [rbp - 0x58], rcx
lea rsi, [0x140106190]
mov ebx, 5
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400b8243
test byte [rcx + 0x1c], 1
je 0x1400b8243
cmp byte [rcx + 0x19], bl
jb 0x1400b8243
lea edx, [rbx + 0x16]
mov dword [rsp + 0x20], 1
mov r9, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400b769c
xor r14d, r14d
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
mov rax, qword [0x140108fd0]
lea rcx, [0x140108fd0]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x58], rdi
mov r15d, r14d
mov dword [rsp + 0x20], r14d
or r9d, 0xffffffff
mov r8, r13
or edx, r9d
lea rcx, str.00_00_00_00_00_00
call qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
je 0x1400b8ba1
test r13, r13
jne 0x1400b82a5
mov eax, r14d
jmp 0x1400b82b4
or rax, 0xffffffffffffffff
inc rax
cmp word [r13 + rax*2], r14w
jne 0x1400b82a9
mov r8d, eax
mov rdx, r13
lea rcx, [rsp + 0x58]
call fcn.140004f58
lea rcx, [rsp + 0x58]
call fcn.140034130
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.1400ba5f4
mov r15d, eax
mov bl, 4
mov r10, qword [0x140106190]
cmp r10, rsi
je 0x1400b831a
test byte [r10 + 0x1c], 2
je 0x1400b831a
cmp byte [r10 + 0x19], bl
jb 0x1400b831a
mov edx, 0x1c
mov r9d, eax
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.140003634
mov r10, qword [0x140106190]
mov rdi, qword [rsp + 0x58]
test r15d, r15d
jne 0x1400b8baa
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1400b3b90
mov r15d, eax
mov dword [rsp + 0x40], eax
mov r10, qword [0x140106190]
cmp r10, rsi
je 0x1400b8377
test byte [r10 + 0x1c], 2
je 0x1400b8377
cmp byte [r10 + 0x19], bl
jb 0x1400b8377
mov edx, 0x1d
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.14000541c
mov r10, qword [0x140106190]
cmp r15d, 2
jne 0x1400b83c2
mov r15d, 0x490
mov dword [rsp + 0x40], r15d
cmp r10, rsi
je 0x1400b8be9
test byte [r10 + 0x1c], 2
je 0x1400b8baa
cmp byte [r10 + 0x19], bl
jb 0x1400b8baa
mov edx, 0x1e
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.140003574
mov r10, qword [0x140106190]
test r15d, r15d
jne 0x1400b8baa
mov rdx, rdi
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400b840a
test byte [rcx + 0x1c], 2
je 0x1400b840a
cmp byte [rcx + 0x19], bl
jb 0x1400b840a
lea edx, [r15 + 0x1f]
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1400e7b20]
mov rcx, qword [rcx + 0x10]
call fcn.14000541c
mov rax, qword [r12]
mov rcx, r12
mov rax, qword [rax + 0x58]
call qword [case.0x14006e230.0]
test rax, rax
je 0x1400b8697
mov rax, qword [r12]
mov rcx, r12
mov rax, qword [rax + 0x58]
call qword [case.0x14006e230.0]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140004b74
nop
mov r15, r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x70], r14
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x2011f
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400b8495
mov ebx, r14d
mov r15, qword [rbp - 0x70]
mov qword [rbp - 0x38], r15
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400b84cb
test byte [rcx + 0x1c], 2
je 0x1400b84cb
cmp byte [rcx + 0x19], 4
jb 0x1400b84cb
mov edx, 0x20
mov dword [rsp + 0x20], ebx
mov r9, qword [rsp + 0x78]
lea r8, [0x1400e7b20]
mov rcx, qword [rcx + 0x10]
call fcn.14000541c
test ebx, ebx
jne 0x1400b864d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.1400b3638
mov ebx, eax
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400b8513
test byte [rcx + 0x1c], 2
je 0x1400b8513
cmp byte [rcx + 0x19], 4
jb 0x1400b8513
mov edx, 0x21
mov r9d, eax
lea r8, [0x1400e7b20]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
test ebx, ebx
jne 0x1400b864d
mov ebx, r14d
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x1400b864d
mov rsi, r14
test ebx, ebx
js 0x1400b8642
cmp ebx, eax
jge 0x1400b8642
movsxd r12, ebx
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x68], r14
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2011f
xor r8d, r8d
mov rdx, qword [rax + r12*8]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r14d, eax
test eax, eax
jne 0x1400b8573
mov rsi, qword [rbp - 0x68]
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x1400b85bf
test byte [rcx + 0x1c], 2
je 0x1400b85bf
cmp byte [rcx + 0x19], 4
jb 0x1400b85bf
cmp ebx, dword [rsp + 0x70]
jge 0x1400b862a
mov rax, qword [rsp + 0x68]
mov edx, 0x22
mov dword [rsp + 0x20], r14d
mov r9, qword [rax + r12*8]
lea r8, [0x1400e7b20]
mov rcx, qword [rcx + 0x10]
call fcn.14000541c
test r14d, r14d
jne 0x1400b860a
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x140106190]
lea rdx, [0x140106190]
cmp rcx, rdx
je 0x1400b860a
test byte [rcx + 0x1c], 2
je 0x1400b860a
cmp byte [rcx + 0x19], 4
jb 0x1400b860a
lea edx, [r14 + 0x23]
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1400e7b20]
mov rcx, qword [rcx + 0x10]
call fcn.14000541c
xor r14d, r14d
test rsi, rsi
je 0x1400b861b
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
mov eax, dword [rsp + 0x70]
cmp ebx, eax
jae 0x1400b8635
jmp 0x1400b852a
mov ecx, 0xc000008c
call fcn.140005064
int3
mov r12, qword [rbp - 0x58]
lea rsi, [0x140106190]
jmp 0x1400b864d
mov ecx, 0xc000008c
call fcn.140005064
nop
lea rcx, [rsp + 0x68]
call fcn.1400185e8
nop
test r15, r15
je 0x1400b8667
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400b868d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
mov r15d, dword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1400b8b0a
call fcn.1400cb4ec
test al, al
jne 0x1400b8b0a
mov rbx, r14
mov qword [rbp - 0x60], rbx
mov esi, 0x80004001
cmp qword [0x14010bb48], r14
je 0x1400b86d6
lea rdx, [rbp - 0x60]
call fcn.14000d200
mov esi, eax
mov rbx, qword [rbp - 0x60]
mov r10, qword [0x140106190]
lea rax, [0x140106190]
mov r13d, 2
cmp r10, rax
je 0x1400b8726
test byte [r10 + 0x1c], r13b
je 0x1400b8726
mov ecx, r13d
test esi, esi
lea eax, [r13 + 3]
cmovns ecx, eax
movzx eax, byte [r10 + 0x19]
cmp eax, ecx
jl 0x1400b8726
lea edx, [r13 + 0x23]
mov qword [rsp + 0x20], rbx
mov r9d, esi
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.14000acd0
test esi, esi
js 0x1400b8af3
mov qword [rsp + 0x48], r14
lea rcx, str.WMCID
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
mov qword [rbp - 0x18], rax
test rax, rax
jne 0x1400b8757
mov ecx, 0x8007000e
call fcn.14000507c
nop
mov rax, qword [rbx]
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x14006e230.0]
mov r14d, eax
mov r10, qword [0x140106190]
lea rax, [0x140106190]
cmp r10, rax
je 0x1400b87c1
test byte [r10 + 0x1c], r13b
je 0x1400b87c1
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test r14d, r14d
mov eax, 5
cmovns ecx, eax
cmp edx, ecx
jl 0x1400b87c1
lea edx, [rax + 0x21]
mov r9d, r14d
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.140003634
mov r10, qword [0x140106190]
test r14d, r14d
jne 0x1400b8ad1
xor r14d, r14d
lea r12, [0x140106190]
lea r15d, [r14 + 5]
cmp r10, r12
je 0x1400b8803
test byte [r10 + 0x1c], r13b
je 0x1400b8803
cmp byte [r10 + 0x19], r15b
jb 0x1400b8803
mov edx, 0x27
mov r9, qword [rsp + 0x48]
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.140003670
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400b8aa3
mov qword [rsp + 0x60], r14
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
mov rdx, rsi
mov rax, qword [rax + 0x40]
call qword [case.0x14006e230.0]
mov r14d, eax
mov r10, qword [0x140106190]
cmp r10, r12
je 0x1400b8875
test byte [r10 + 0x1c], 8
je 0x1400b8875
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jl 0x1400b8875
mov edx, 0x28
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.14000a51c
test r14d, r14d
js 0x1400b8a84
or dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], rdi
or r9d, 0xffffffff
mov r8, qword [rsp + 0x60]
lea edx, [r9 + 2]
lea ecx, [rdx + 0x7e]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, r13d
jne 0x1400b8a79
and qword [rbp - 0x78], 0
mov byte [rbp], 0
xor eax, eax
mov qword [rbp + 1], rax
mov dword [rbp + 9], eax
mov word [rbp + 0xd], ax
mov byte [rbp + 0xf], al
and qword [rbp - 0x80], rax
and dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rbp - 0x78]
mov rax, qword [rax + 0x20]
call qword [case.0x14006e230.0]
mov r14d, eax
mov r10, qword [0x140106190]
cmp r10, r12
je 0x1400b8922
test byte [r10 + 0x1c], r13b
je 0x1400b8922
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jl 0x1400b8922
mov edx, 0x29
mov qword [rsp + 0x20], rdi
mov r9d, eax
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.14000a51c
test r14d, r14d
js 0x1400b8a63
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rbp]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
mov r14d, eax
mov r10, qword [0x140106190]
cmp r10, r12
je 0x1400b8985
test byte [r10 + 0x1c], r13b
je 0x1400b8985
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jl 0x1400b8985
mov edx, 0x2a
mov qword [rsp + 0x20], rdi
mov r9d, eax
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.14000a51c
test r14d, r14d
js 0x1400b8a63
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x80]
mov rax, qword [rax + 0x38]
call qword [case.0x14006e230.0]
mov r14d, eax
mov r8, qword [0x140106190]
cmp r8, r12
je 0x1400b89f1
test byte [r8 + 0x1c], r13b
je 0x1400b89f1
movzx edx, byte [r8 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jl 0x1400b89f1
mov qword [rsp + 0x30], rdi
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov rcx, qword [r8 + 0x10]
call fcn.1400b7a34
test r14d, r14d
js 0x1400b8a63
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp - 0x10], xmm0
mov rax, qword [rbx]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x50]
mov r8, qword [rbp - 0x80]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x14006e230.0]
mov r10, qword [0x140106190]
cmp r10, r12
je 0x1400b8a63
test byte [r10 + 0x1c], r13b
je 0x1400b8a63
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jl 0x1400b8a63
mov edx, 0x2c
mov r9d, eax
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.140003634
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400b8a79
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x48]
xor r14d, r14d
test rcx, rcx
je 0x1400b8aa3
mov qword [rsp + 0x48], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov rax, qword [rax + 0x38]
call qword [case.0x14006e230.0]
test eax, eax
jne 0x1400b8ac8
mov r10, qword [0x140106190]
jmp 0x1400b87d8
mov r15d, dword [rsp + 0x40]
mov r12, qword [rbp - 0x58]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400b8af3
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
test rbx, rbx
je 0x1400b8b3c
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
jmp 0x1400b8b3c
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400b8b43
test byte [rcx + 0x1c], 2
je 0x1400b8b43
cmp byte [rcx + 0x19], 2
jb 0x1400b8b43
mov edx, 0x24
mov r9, r13
lea r8, [0x1400e7b20]
mov rcx, qword [rcx + 0x10]
call fcn.140003598
jmp 0x1400b8b43
lea rsi, [0x140106190]
mov rax, qword [r12]
mov edx, 0x3ea
mov rcx, r12
mov rax, qword [rax + 0x48]
call qword [case.0x14006e230.0]
mov ecx, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call fcn.1400bcb30
mov r10, qword [0x140106190]
cmp r10, rsi
je 0x1400b8be9
test byte [r10 + 0x1c], 2
je 0x1400b8baa
cmp byte [r10 + 0x19], 4
jb 0x1400b8baa
mov edx, 0x2d
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.140003574
mov r10, qword [0x140106190]
jmp 0x1400b8baa
mov r10, qword [0x140106190]
jmp 0x1400b8baf
mov ebx, 5
cmp r10, rsi
je 0x1400b8be9
test byte [r10 + 0x1c], 1
je 0x1400b8be9
movzx edx, byte [r10 + 0x19]
mov eax, r15d
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, ebx
cmp edx, ecx
jl 0x1400b8be9
mov edx, 0x2e
mov r9d, r15d
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.140003634
nop
lea rdx, [rdi - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400b8c0b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400b8c1a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r15d
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400cc650
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret