Function at 0x1400b8b34
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 [0x140109388]
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 0x1400b8bab
test byte [rcx + 0x1c], 1
je 0x1400b8bab
cmp byte [rcx + 0x19], bl
jb 0x1400b8bab
lea edx, [rbx + 0x16]
mov dword [rsp + 0x20], 1
mov r9, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400b8038
xor r14d, r14d
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
mov rax, qword [str.Xr_r_]
lea rcx, str.Xr_r_
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.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 0x1400b9583
test r13, r13
jne 0x1400b8c0d
mov eax, r14d
jmp 0x1400b8c1c
or rax, 0xffffffffffffffff
inc rax
cmp word [r13 + rax*2], r14w
jne 0x1400b8c11
mov r8d, eax
mov rdx, r13
lea rcx, [rsp + 0x58]
call fcn.140004e40
lea rcx, [rsp + 0x58]
call fcn.1400336f0
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.1400baf24
mov r15d, eax
mov bl, 4
mov r10, qword [0x140106190]
cmp r10, rsi
je 0x1400b8c82
test byte [r10 + 0x1c], 2
je 0x1400b8c82
cmp byte [r10 + 0x19], bl
jb 0x1400b8c82
mov edx, 0x1c
mov r9d, eax
lea r8, [0x1400e7210]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
mov r10, qword [0x140106190]
mov rdi, qword [rsp + 0x58]
test r15d, r15d
jne 0x1400b94a8
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1400b4670
mov r15d, eax
mov dword [rsp + 0x40], eax
mov r10, qword [0x140106190]
cmp r10, rsi
je 0x1400b8cdf
test byte [r10 + 0x1c], 2
je 0x1400b8cdf
cmp byte [r10 + 0x19], bl
jb 0x1400b8cdf
mov edx, 0x1d
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1400e7210]
mov rcx, qword [r10 + 0x10]
call fcn.140005344
mov r10, qword [0x140106190]
cmp r15d, 2
jne 0x1400b8d2a
mov r15d, 0x490
mov dword [rsp + 0x40], r15d
cmp r10, rsi
je 0x1400b94e7
test byte [r10 + 0x1c], 2
je 0x1400b94a8
cmp byte [r10 + 0x19], bl
jb 0x1400b94a8
mov edx, 0x1e
lea r8, [0x1400e7210]
mov rcx, qword [r10 + 0x10]
call fcn.140003538
mov r10, qword [0x140106190]
test r15d, r15d
jne 0x1400b94a8
mov rdx, rdi
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400b8d72
test byte [rcx + 0x1c], 2
je 0x1400b8d72
cmp byte [rcx + 0x19], bl
jb 0x1400b8d72
lea edx, [r15 + 0x1f]
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1400e7210]
mov rcx, qword [rcx + 0x10]
call fcn.140005344
mov rax, qword [r12]
mov rcx, r12
mov rax, qword [rax + 0x58]
call qword [case.0x14006d218.0]
test rax, rax
je 0x1400b8fe6
mov rax, qword [r12]
mov rcx, r12
mov rax, qword [rax + 0x58]
call qword [case.0x14006d218.0]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140004a80
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 0x1400b8dfd
mov ebx, r14d
mov r15, qword [rbp - 0x70]
mov qword [rbp - 0x38], r15
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400b8e33
test byte [rcx + 0x1c], 2
je 0x1400b8e33
cmp byte [rcx + 0x19], 4
jb 0x1400b8e33
mov edx, 0x20
mov dword [rsp + 0x20], ebx
mov r9, qword [rsp + 0x78]
lea r8, [0x1400e7210]
mov rcx, qword [rcx + 0x10]
call fcn.140005344
test ebx, ebx
jne 0x1400b8f9c
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.1400b4124
mov ebx, eax
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400b8e7b
test byte [rcx + 0x1c], 2
je 0x1400b8e7b
cmp byte [rcx + 0x19], 4
jb 0x1400b8e7b
mov edx, 0x21
mov r9d, eax
lea r8, [0x1400e7210]
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
test ebx, ebx
jne 0x1400b8f9c
mov ebx, r14d
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x1400b8f9c
mov rsi, r14
test ebx, ebx
js 0x1400b95a5
cmp ebx, eax
jge 0x1400b95a5
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 0x1400b8edb
mov rsi, qword [rbp - 0x68]
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x1400b8f27
test byte [rcx + 0x1c], 2
je 0x1400b8f27
cmp byte [rcx + 0x19], 4
jb 0x1400b8f27
cmp ebx, dword [rsp + 0x70]
jge 0x1400b959a
mov rax, qword [rsp + 0x68]
mov edx, 0x22
mov dword [rsp + 0x20], r14d
mov r9, qword [rax + r12*8]
lea r8, [0x1400e7210]
mov rcx, qword [rcx + 0x10]
call fcn.140005344
test r14d, r14d
jne 0x1400b8f72
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x140106190]
lea rdx, [0x140106190]
cmp rcx, rdx
je 0x1400b8f72
test byte [rcx + 0x1c], 2
je 0x1400b8f72
cmp byte [rcx + 0x19], 4
jb 0x1400b8f72
lea edx, [r14 + 0x23]
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1400e7210]
mov rcx, qword [rcx + 0x10]
call fcn.140005344
xor r14d, r14d
test rsi, rsi
je 0x1400b8f83
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
mov eax, dword [rsp + 0x70]
cmp ebx, eax
jb 0x1400b8e92
mov r12, qword [rbp - 0x58]
lea rsi, [0x140106190]
lea rcx, [rsp + 0x68]
call fcn.14001817c
nop
test r15, r15
je 0x1400b8fb6
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 0x1400b8fdc
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
mov r15d, dword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1400b9542
call fcn.1400cbad4
test al, al
jne 0x1400b9542
mov rbx, r14
mov qword [rbp - 0x60], rbx
mov esi, 0x80004001
cmp qword [0x14010bc08], r14
je 0x1400b9025
lea rdx, [rbp - 0x60]
call fcn.14000cdec
mov esi, eax
mov rbx, qword [rbp - 0x60]
mov r10, qword [0x140106190]
lea rax, [0x140106190]
mov r13d, 2
cmp r10, rax
je 0x1400b9074
test byte [r10 + 0x1c], r13b
je 0x1400b9074
mov ecx, esi
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, 5
movzx eax, byte [r10 + 0x19]
cmp eax, ecx
jl 0x1400b9074
lea edx, [r13 + 0x23]
mov qword [rsp + 0x20], rbx
mov r9d, esi
lea r8, [0x1400e7210]
mov rcx, qword [r10 + 0x10]
call fcn.14000a9bc
test esi, esi
js 0x1400b9430
mov qword [rsp + 0x48], r14
lea rcx, [0x1400dd830]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
mov qword [rbp - 0x18], rax
test rax, rax
je 0x1400b958f
mov rax, qword [rbx]
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x14006d218.0]
mov r14d, eax
mov r10, qword [0x140106190]
lea rax, [0x140106190]
cmp r10, rax
je 0x1400b9108
test byte [r10 + 0x1c], r13b
je 0x1400b9108
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test r14d, r14d
mov eax, 5
cmovns ecx, eax
cmp edx, ecx
jb 0x1400b9108
lea edx, [rax + 0x21]
mov r9d, r14d
lea r8, [0x1400e7210]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
mov r10, qword [0x140106190]
test r14d, r14d
jne 0x1400b940e
xor r14d, r14d
lea r12, [0x140106190]
lea r15d, [r14 + 5]
cmp r10, r12
je 0x1400b914a
test byte [r10 + 0x1c], r13b
je 0x1400b914a
cmp byte [r10 + 0x19], r15b
jb 0x1400b914a
mov edx, 0x27
mov r9, qword [rsp + 0x48]
lea r8, [0x1400e7210]
mov rcx, qword [r10 + 0x10]
call fcn.140003620
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400b93e0
mov qword [rsp + 0x60], r14
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
mov rdx, rsi
mov rax, qword [rax + 0x40]
call qword [case.0x14006d218.0]
mov r14d, eax
mov r10, qword [0x140106190]
cmp r10, r12
je 0x1400b91bc
test byte [r10 + 0x1c], 8
je 0x1400b91bc
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jb 0x1400b91bc
mov edx, 0x28
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea r8, [0x1400e7210]
mov rcx, qword [r10 + 0x10]
call fcn.14000a238
test r14d, r14d
js 0x1400b93c1
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 0x1400b93b6
and qword [rbp - 0x78], 0
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
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.0x14006d218.0]
mov r14d, eax
mov r10, qword [0x140106190]
cmp r10, r12
je 0x1400b925f
test byte [r10 + 0x1c], r13b
je 0x1400b925f
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jb 0x1400b925f
mov edx, 0x29
mov qword [rsp + 0x20], rdi
mov r9d, eax
lea r8, [0x1400e7210]
mov rcx, qword [r10 + 0x10]
call fcn.14000a238
test r14d, r14d
js 0x1400b93a0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rbp]
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
mov r14d, eax
mov r10, qword [0x140106190]
cmp r10, r12
je 0x1400b92c2
test byte [r10 + 0x1c], r13b
je 0x1400b92c2
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jb 0x1400b92c2
mov edx, 0x2a
mov qword [rsp + 0x20], rdi
mov r9d, eax
lea r8, [0x1400e7210]
mov rcx, qword [r10 + 0x10]
call fcn.14000a238
test r14d, r14d
js 0x1400b93a0
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.0x14006d218.0]
mov r14d, eax
mov r8, qword [0x140106190]
cmp r8, r12
je 0x1400b932e
test byte [r8 + 0x1c], r13b
je 0x1400b932e
movzx edx, byte [r8 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jb 0x1400b932e
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.1400b83b4
test r14d, r14d
js 0x1400b93a0
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.0x14006d218.0]
mov r10, qword [0x140106190]
cmp r10, r12
je 0x1400b93a0
test byte [r10 + 0x1c], r13b
je 0x1400b93a0
movzx edx, byte [r10 + 0x19]
mov ecx, r13d
test eax, eax
cmovns ecx, r15d
cmp edx, ecx
jb 0x1400b93a0
mov edx, 0x2c
mov r9d, eax
lea r8, [0x1400e7210]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400b93b6
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.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 0x1400b93e0
mov qword [rsp + 0x48], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov rax, qword [rax + 0x38]
call qword [case.0x14006d218.0]
test eax, eax
jne 0x1400b9405
mov r10, qword [0x140106190]
jmp 0x1400b911f
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 0x1400b9430
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
nop
test rbx, rbx
je 0x1400b9445
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14006d218.0]
lea rsi, [0x140106190]
mov rax, qword [r12]
mov edx, 0x3ea
mov rcx, r12
mov rax, qword [rax + 0x48]
call qword [case.0x14006d218.0]
mov ecx, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call fcn.1400bd430
mov r10, qword [0x140106190]
cmp r10, rsi
je 0x1400b94e7
test byte [r10 + 0x1c], 2
je 0x1400b94a8
cmp byte [r10 + 0x19], 4
jb 0x1400b94a8
mov edx, 0x2d
lea r8, [0x1400e7210]
mov rcx, qword [r10 + 0x10]
call fcn.140003538
mov r10, qword [0x140106190]
mov ebx, 5
cmp r10, rsi
je 0x1400b94e7
test byte [r10 + 0x1c], 1
je 0x1400b94e7
movzx edx, byte [r10 + 0x19]
mov eax, r15d
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, ebx
cmp edx, ecx
jb 0x1400b94e7
mov edx, 0x2e
mov r9d, r15d
lea r8, [0x1400e7210]
mov rcx, qword [r10 + 0x10]
call fcn.1400035ec
nop
lea rdx, [rdi - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400b9509
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400b9518
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r15d
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400cc8d0
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400b944c
test byte [rcx + 0x1c], 2
je 0x1400b944c
cmp byte [rcx + 0x19], 2
jb 0x1400b944c
mov edx, 0x24
mov r9, r13
lea r8, [0x1400e7210]
mov rcx, qword [rcx + 0x10]
call fcn.140003558
jmp 0x1400b944c
mov r10, qword [0x140106190]
jmp 0x1400b94ad
mov ecx, 0x8007000e
call fcn.140004f64
nop
mov ecx, 0xc000008c
call fcn.140004f50
int3
mov ecx, 0xc000008c
call fcn.140004f50
int3