Function at 0x1400081b0
Capabilities:
Delete registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10d0]
mov eax, 0x11d0
call fcn.1400112c0
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1210], rbx
mov rsi, r8
mov r15, rdx
mov r14, rcx
xor r13d, r13d
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], r13d
mov qword [rsp + 0x50], r13
call fcn.140006d70
mov ebx, eax
test eax, eax
js 0x140008b26
cmp byte [r15], 0x7d
je 0x140008b26
mov ecx, 1
mov r12d, ecx
lea rdx, str.Delete
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor edi, edi
test eax, eax
sete dil
lea rdx, str.ForceRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x14000825a
test edi, edi
je 0x140008366
mov rdx, r15
mov rcx, r14
call fcn.140006d70
mov ebx, eax
test eax, eax
js 0x140008b26
cmp dword [rbp + 0x1128], 0
je 0x140008366
xor edx, edx
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x68], rdx
mov rcx, r15
movzx eax, byte [r15]
test al, al
je 0x1400082b6
cmp al, 0x5c
je 0x1400082ad
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
movzx eax, byte [rax]
test al, al
jne 0x140008297
jmp 0x1400082b6
test rcx, rcx
jne 0x140008aae
lea rbx, [0x1400185c0]
nop dword [rax]
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x14000831d
add rbx, 8
lea rax, [0x140018620]
cmp rbx, rax
jl 0x1400082c0
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.140007420
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
test edi, edi
je 0x14000835e
mov rdx, r15
mov rcx, r14
call fcn.140006d70
mov ebx, eax
test eax, eax
js 0x140008abd
mov rdx, r15
mov rcx, r14
call fcn.1400098e0
mov ebx, eax
test eax, eax
js 0x140008abd
xor r12d, r12d
mov dword [rsp + 0x60], r12d
mov edi, dword [rbp + 0x1128]
jmp 0x140008852
mov dword [rsp + 0x60], 0
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140008392
xor r12d, r12d
mov rdx, r15
mov rcx, r14
call fcn.140006d70
mov ebx, eax
test eax, eax
js 0x140008b26
lea rdx, [0x1400159fc]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000876a
lea rbx, [rbp + 0xd0]
movabs rsi, 0x100002600
nop dword [rax + rax]
mov rdi, qword [r14]
movzx ecx, byte [rdi]
movzx eax, cl
cmp cl, 0x20
ja 0x1400083e6
movsx rax, cl
bt rsi, rax
jae 0x1400083e6
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
jmp 0x1400083c0
test cl, cl
je 0x140008ab6
cmp cl, 0x27
jne 0x1400084a0
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
movzx eax, byte [rax]
test al, al
je 0x140008486
nop dword [rax]
cmp al, 0x27
jne 0x140008422
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextA]
cmp byte [rax], 0x27
jne 0x140008486
mov rdi, qword [r14]
cmp byte [rdi], 0x27
jne 0x140008439
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdi, rax
mov qword [r14], rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
mov rcx, rax
sub rcx, rdi
lea rax, [rbx + 1]
add rax, rcx
lea r8, [rbp + 0x10d0]
cmp rax, r8
jae 0x140008ab6
test ecx, ecx
jle 0x14000847f
sub rdi, rbx
mov ecx, ecx
nop
movzx eax, byte [rdi + rbx]
mov byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140008470
movzx eax, byte [rdx]
test al, al
jne 0x140008410
mov rcx, qword [r14]
cmp byte [rcx], 0
je 0x140008ab6
mov byte [rbx], 0
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
jmp 0x14000850d
movzx eax, cl
cmp cl, 0x20
ja 0x1400084b5
movsx rax, cl
mov rcx, rsi
bt rcx, rax
jb 0x14000850a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
lea rcx, [rbx + 1]
add rcx, rdx
lea rax, [rbp + 0x10d0]
cmp rcx, rax
jae 0x140008ab6
test edx, edx
jle 0x1400084ff
sub rdi, rbx
mov ecx, edx
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
mov byte [rbx], al
inc rbx
sub rcx, 1
jne 0x1400084f0
movzx ecx, byte [r8]
mov rdi, r8
test cl, cl
jne 0x1400084a0
mov byte [rbx], 0
mov rbx, r15
mov rdi, qword [r14]
movzx ecx, byte [rdi]
movzx eax, cl
cmp cl, 0x20
ja 0x140008536
movsx rax, cl
bt rsi, rax
jae 0x140008536
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
jmp 0x140008510
test cl, cl
mov rsi, qword [rbp + 0x1120]
je 0x140008ab6
cmp cl, 0x27
jne 0x140008610
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
movzx eax, byte [rax]
test al, al
je 0x1400085ed
cmp al, 0x27
jne 0x14000857a
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextA]
cmp byte [rax], 0x27
jne 0x1400085ed
mov rdi, qword [r14]
cmp byte [rdi], 0x27
jne 0x140008591
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdi, rax
mov qword [r14], rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
mov r8, rax
sub r8, rdi
lea rcx, [rbx + 1]
add rcx, r8
lea rax, [r15 + 0x1000]
cmp rcx, rax
jae 0x140008ab6
test r8d, r8d
jle 0x1400085e2
sub rdi, rbx
mov ecx, r8d
nop dword [rax + rax]
movzx eax, byte [rdi + rbx]
mov byte [rbx], al
inc rbx
sub rcx, 1
jne 0x1400085d0
mov rdx, qword [r14]
movzx eax, byte [rdx]
test al, al
jne 0x140008568
mov rax, qword [r14]
cmp byte [rax], 0
je 0x140008ab6
mov byte [rbx], 0
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
jmp 0x14000867f
movzx eax, cl
cmp cl, 0x20
ja 0x140008628
movabs rcx, 0x100002600
bt rcx, rax
jb 0x14000867c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
mov r8, rax
sub r8, rdi
lea rcx, [rbx + 1]
add rcx, r8
lea rax, [r15 + 0x1000]
cmp rcx, rax
jae 0x140008ab6
test r8d, r8d
jle 0x140008672
sub rdi, rbx
mov ecx, r8d
nop
movzx eax, byte [rdi + rbx]
mov byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140008660
mov rdx, qword [r14]
movzx ecx, byte [rdx]
mov rdi, rdx
test cl, cl
jne 0x140008610
mov byte [rbx], 0
cmp byte [r15], 0x3d
jne 0x140008ab6
mov edi, dword [rbp + 0x1128]
test edi, edi
je 0x1400086eb
xor r12d, r12d
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], r12d
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], r12d
mov qword [rbp - 0x80], r12
mov r9, r15
lea r8, [rbp + 0xd0]
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140003ce0
mov ebx, eax
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], r12d
mov qword [rbp - 0x80], r12
mov dword [rsp + 0x78], r12d
test eax, eax
js 0x140008b26
jmp 0x140008852
cmp dword [rbp + 0x1130], 0
jne 0x14000875a
test r12d, r12d
je 0x14000875a
xor r12d, r12d
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x70], r12d
mov qword [rbp - 0x68], r12
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140006f30
test eax, eax
jne 0x140008ae8
lea rdx, [rbp + 0xd0]
mov rdi, qword [rbp - 0x78]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, 0xfffffffd
jne 0x140008ac7
test rdi, rdi
je 0x140008756
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x70], r12d
mov rdx, r15
mov rcx, r14
call fcn.1400098e0
jmp 0x14000820a
mov rcx, r15
movzx eax, byte [r15]
test al, al
je 0x140008794
cmp al, 0x5c
je 0x14000878b
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
movzx eax, byte [rax]
test al, al
jne 0x140008775
jmp 0x140008794
test rcx, rcx
jne 0x140008ab6
mov edi, dword [rbp + 0x1128]
test edi, edi
je 0x14000889f
mov r9d, 0x2001f
mov r8, r15
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140006f30
test eax, eax
je 0x14000881a
mov r9d, 0x20019
mov r8, r15
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140006f30
xor r12d, r12d
test eax, eax
je 0x14000881d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8, r15
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400055a0
test eax, eax
je 0x14000881d
mov ecx, eax
call fcn.140004520
mov ebx, eax
mov r13, qword [rsp + 0x40]
jmp 0x140008b26
xor r12d, r12d
mov rdx, r15
mov rcx, r14
call fcn.140006d70
mov ebx, eax
test eax, eax
js 0x140008810
cmp byte [r15], 0x3d
jne 0x14000884d
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140003ce0
mov ebx, eax
test eax, eax
js 0x140008810
mov r13, qword [rsp + 0x40]
cmp byte [r15], 0x7b
jne 0x140008214
or rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], 0
jne 0x140008860
cmp rax, 1
jne 0x140008214
mov dword [rsp + 0x20], r12d
mov r9d, edi
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.1400081b0
mov ebx, eax
test eax, eax
js 0x140008b26
mov rdx, r15
mov rcx, r14
jmp 0x140008205
mov ebx, dword [rbp + 0x1130]
test ebx, ebx
jne 0x1400088c8
mov r9d, 0x20019
mov r8, r15
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140006f30
mov edi, eax
mov r13, qword [rsp + 0x40]
jmp 0x1400088cd
mov edi, 2
mov esi, ebx
test edi, edi
mov eax, 1
cmovne esi, eax
or r9, 0xffffffffffffffff
mov r8, r15
mov edx, 0x104
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
test eax, eax
je 0x140008917
cmp eax, 0xc
je 0x140008b78
cmp eax, 0x16
je 0x140008b6d
cmp eax, 0x22
je 0x140008b6d
cmp eax, 0x50
jne 0x140008b62
mov rdx, r15
mov rcx, r14
call fcn.140006d70
mov ebx, eax
test eax, eax
js 0x140008b26
mov rdx, r15
mov rcx, r14
call fcn.1400098e0
mov ebx, eax
test eax, eax
js 0x140008b26
cmp byte [r15], 0x7b
jne 0x140008998
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x140008950
cmp rax, 1
jne 0x140008998
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.1400081b0
mov ebx, eax
test eax, eax
jns 0x140008983
test esi, esi
je 0x140008b26
mov rdx, r15
mov rcx, r14
call fcn.140006d70
mov ebx, eax
test eax, eax
js 0x140008b26
cmp edi, 2
je 0x1400089ae
test edi, edi
je 0x1400089ba
cmp dword [rbp + 0x1130], 0
je 0x140008b0a
mov rsi, qword [rbp + 0x1120]
jmp 0x140008214
cmp dword [rbp + 0x1130], 0
je 0x140008a20
mov rdx, r13
mov rcx, r14
call fcn.1400063a0
test eax, eax
je 0x140008a20
lea rdi, [0x1400185c0]
nop dword [rax]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1400089ae
add rdi, 8
lea rax, [0x140018620]
cmp rdi, rax
jl 0x1400089e0
test r12d, r12d
je 0x1400089ae
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.140007420
mov rsi, qword [rbp + 0x1120]
jmp 0x140008214
mov rdx, r13
mov rcx, r14
call fcn.1400063a0
mov edi, eax
xor eax, eax
test r13, r13
je 0x140008a45
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r13d, r13d
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0
test eax, eax
jne 0x140008b1d
test r12d, r12d
je 0x1400089ae
test edi, edi
jne 0x1400089ae
xor r12d, r12d
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x58], r12d
mov qword [rbp - 0x50], r12
mov rsi, qword [rbp + 0x1120]
mov qword [rbp - 0x60], rsi
mov dword [rbp - 0x58], r12d
mov qword [rbp - 0x50], r12
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.140005730
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x58], r12d
mov qword [rbp - 0x50], r12
test eax, eax
jne 0x140008b0e
mov dword [rbp - 0x58], r12d
jmp 0x140008214
mov dword [rsp + 0x60], 0
mov ebx, 0x80020009
jmp 0x140008b26
mov dword [rsp + 0x60], 0
jmp 0x140008b26
mov ecx, eax
call fcn.140004520
mov ebx, eax
test rdi, rdi
je 0x140008b04
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x70], r12d
jmp 0x140008b26
mov ecx, eax
call fcn.140004520
mov ebx, eax
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140008b04
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x70], r12d
jmp 0x140008b26
mov ecx, edi
jmp 0x140008b1f
mov ecx, eax
call fcn.140004520
mov ebx, eax
mov dword [rbp - 0x58], r12d
jmp 0x140008b26
mov ecx, eax
call fcn.140004520
mov ebx, eax
test r13, r13
je 0x140008b3d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
mov eax, ebx
mov rbx, qword [rsp + 0x1210]
add rsp, 0x11d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005280
int3
mov ecx, 0x80070057
call fcn.140005280
int3
mov ecx, 0x8007000e
call fcn.140005280
int3