Function at 0x140009b6c
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x10e8]
mov eax, 0x11e8
call fcn.140022fa0
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x140059d90]
xor rax, rsp
mov qword [rbp + 0x10d0], rax
mov dword [rsp + 0x74], r9d
mov qword [rbp - 0x70], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x68], rcx
xor edi, edi
mov qword [rbp - 0x68], rdi
and dword [rbp - 0x60], edi
and qword [rbp - 0x58], rdi
mov ecx, dword [rbp + 0x1130]
mov dword [rbp - 0x50], ecx
mov rcx, rax
call fcn.140006430
mov ebx, eax
test eax, eax
jns 0x140009bdc
jmp 0x14000a2bb
cmp byte [rsi], 0x7d
je 0x14000a2ab
mov eax, 1
mov dword [rsp + 0x70], eax
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor ebx, ebx
test eax, eax
sete bl
mov dword [rsp + 0x60], ebx
lea rdx, str.ForceRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140009c25
test ebx, ebx
je 0x140009cfb
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140006430
mov ebx, eax
test eax, eax
js 0x14000a2ab
cmp dword [rsp + 0x74], 0
je 0x140009cfb
and qword [rsp + 0x78], 0
and dword [rbp - 0x80], 0
and qword [rbp - 0x78], 0
mov rcx, rsi
mov al, byte [rsi]
jmp 0x140009c6c
cmp al, 0x5c
je 0x140009c72
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
mov al, byte [rax]
test al, al
jne 0x140009c5d
jmp 0x140009c7b
test rcx, rcx
jne 0x14000a221
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140009cc1
add rbx, 8
lea rax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
cmp rbx, rax
jl 0x140009c82
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x78], rax
and dword [rbp - 0x80], 0
and qword [rbp - 0x78], 0
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.140007094
cmp dword [rsp + 0x60], 0
je 0x140009cfb
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140006430
mov ebx, eax
test eax, eax
js 0x14000a2ab
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000662c
mov ebx, eax
test eax, eax
js 0x14000a2ab
jmp 0x140009f1f
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140009d2a
and dword [rsp + 0x70], eax
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140006430
mov ebx, eax
test eax, eax
js 0x14000a2ab
lea rdx, [0x1400458b4]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140009e48
lea rdx, [rbp + 0xd0]
mov rcx, qword [rsp + 0x68]
call fcn.140006430
mov ebx, eax
test eax, eax
js 0x14000a2ab
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140006430
mov ebx, eax
test eax, eax
js 0x14000a2ab
cmp byte [rsi], 0x3d
jne 0x14000a256
cmp dword [rsp + 0x74], 0
je 0x140009dbe
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x78], rax
and dword [rbp - 0x80], 0
and qword [rbp - 0x78], 0
mov r9, rsi
lea r8, [rbp + 0xd0]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
call fcn.140009638
mov ebx, eax
test eax, eax
js 0x14000a239
jmp 0x140009f1f
cmp dword [rbp + 0x1130], 0
jne 0x140009e2c
cmp dword [rsp + 0x70], 0
je 0x140009e2c
and qword [rsp + 0x78], 0
and dword [rbp - 0x80], 0
and qword [rbp - 0x78], 0
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.140005e78
test eax, eax
jne 0x14000a23b
lea rdx, [rbp + 0xd0]
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x140009e1e
cmp eax, 2
jne 0x14000a23b
test rbx, rbx
je 0x140009e2c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000662c
mov ebx, eax
test eax, eax
js 0x14000a2ab
jmp 0x140009bdc
mov rcx, rsi
mov al, byte [rsi]
jmp 0x140009e5e
cmp al, 0x5c
je 0x140009e64
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
mov al, byte [rax]
test al, al
jne 0x140009e4f
jmp 0x140009e6d
test rcx, rcx
jne 0x14000a258
cmp dword [rsp + 0x74], 0
je 0x140009f74
mov r9d, 0x2001f
mov r8, rsi
mov rbx, qword [rbp - 0x70]
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140005e78
xor edi, edi
test eax, eax
je 0x140009ee0
mov r9d, 0x20019
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140005e78
test eax, eax
je 0x140009ee0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140005d84
test eax, eax
jne 0x14000a25a
mov rdx, rsi
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
call fcn.140006430
mov ebx, eax
test eax, eax
js 0x14000a26e
cmp byte [rsi], 0x3d
jne 0x140009f1b
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.140009638
mov ebx, eax
test eax, eax
js 0x14000a26e
mov rdi, qword [rbp - 0x68]
cmp byte [rsi], 0x7b
jne 0x140009bdc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 1
cmp eax, ecx
jne 0x140009bdc
and dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009b6c
mov ebx, eax
test eax, eax
js 0x14000a2ab
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140006430
jmp 0x140009e39
mov ebx, dword [rbp + 0x1130]
test ebx, ebx
jne 0x140009f9a
mov r9d, 0x20019
mov r8, rsi
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x68]
call fcn.140005e78
mov rdi, qword [rbp - 0x68]
jmp 0x140009f9f
mov eax, 2
mov dword [rsp + 0x60], eax
test eax, eax
mov eax, 1
cmovne ebx, eax
mov dword [rbp + 0x1130], ebx
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.14002276c
test eax, eax
je 0x140009ff0
cmp eax, 0xc
je 0x14000a28a
cmp eax, 0x16
je 0x14000a27f
cmp eax, 0x22
je 0x14000a27f
cmp eax, 0x50
jne 0x14000a274
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140006430
mov ebx, eax
test eax, eax
js 0x14000a2ab
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000662c
mov ebx, eax
test eax, eax
js 0x14000a2ab
cmp byte [rsi], 0x7b
jne 0x14000a07c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 1
cmp eax, ecx
jne 0x14000a07c
mov eax, dword [rbp + 0x1130]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009b6c
mov ebx, eax
test eax, eax
jns 0x14000a065
cmp dword [rbp + 0x1130], 0
je 0x14000a2ab
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140006430
mov ebx, eax
test eax, eax
js 0x14000a2ab
mov ecx, dword [rbp - 0x50]
mov dword [rbp + 0x1130], ecx
mov eax, dword [rsp + 0x60]
cmp eax, 2
je 0x140009bdc
test eax, eax
je 0x14000a0a3
test ecx, ecx
je 0x14000a295
jmp 0x140009bdc
test ecx, ecx
je 0x14000a160
and dword [rsp + 0x60], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14000a160
cmp dword [rsp + 0x60], eax
seta al
test eax, eax
je 0x14000a160
lea rax, str.AppID
mov qword [rsp + 0x60], rax
mov rdx, qword [rax]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140009bdc
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x60], rax
lea rcx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
cmp rax, rcx
jl 0x14000a110
cmp dword [rsp + 0x70], 0
je 0x140009bdc
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.140007094
mov rdi, qword [rbp - 0x68]
jmp 0x140009bdc
and dword [rsp + 0x60], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14000a1b5
and dword [rsp + 0x60], 0
jmp 0x14000a1c2
xor ecx, ecx
cmp dword [rsp + 0x60], ecx
seta cl
mov dword [rsp + 0x60], ecx
xor eax, eax
test rdi, rdi
je 0x14000a1d8
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov qword [rbp - 0x68], rdi
and dword [rbp - 0x60], 0
test eax, eax
jne 0x14000a2a0
cmp dword [rsp + 0x70], eax
je 0x140009bdc
cmp dword [rsp + 0x60], eax
jne 0x140009bdc
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x78], rax
and dword [rbp - 0x80], 0
and qword [rbp - 0x78], 0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call fcn.140005cb8
test eax, eax
jne 0x14000a295
jmp 0x140009bdc
test rdi, rdi
je 0x14000a22f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14000a2bb
jmp 0x14000a2ab
mov ecx, eax
call fcn.140005860
mov ebx, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000a2ab
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000a2ab
jmp 0x14000a221
jmp 0x14000a221
mov ecx, eax
call fcn.140005860
mov ebx, eax
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000a2b9
jmp 0x14000a2b3
mov rdi, qword [rbp - 0x68]
jmp 0x14000a2ab
mov ecx, 0x80004005
call fcn.1400055f8
int3
mov ecx, 0x80070057
call fcn.1400055f8
int3
mov ecx, 0x8007000e
call fcn.1400055f8
int3
mov ecx, eax
call fcn.140005860
mov ebx, eax
jmp 0x14000a2ab
mov ecx, eax
call fcn.140005860
mov ebx, eax
jmp 0x14000a2ab
test rdi, rdi
je 0x14000a2b9
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x10d0]
xor rcx, rsp
call fcn.140021570
add rsp, 0x11e8
pop rdi
pop rsi
pop rbx
pop rbp
ret