Function at 0x18000a580
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x2208]
mov eax, 0x2308
call fcn.1800148d0
sub rsp, rax
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rax, qword [0x18003d0b0]
xor rax, rsp
mov qword [rbp + 0x21f0], rax
mov dword [rsp + 0x48], r9d
mov qword [rsp + 0x50], r8
mov rdi, rdx
mov rax, rcx
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x68], rcx
mov rcx, rax
call fcn.1800097d0
mov ebx, eax
test eax, eax
js 0x18000ac0f
cmp word [rdi], 0x7d
je 0x18000ac0f
mov ecx, 1
mov dword [rsp + 0x4c], ecx
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
sete sil
lea rdx, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18000a636
test esi, esi
je 0x18000a713
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.1800097d0
mov ebx, eax
test eax, eax
js 0x18000ac0f
cmp dword [rsp + 0x48], 0
je 0x18000a713
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], eax
mov qword [rbp - 0x78], rax
mov rcx, rdi
movzx eax, word [rdi]
test ax, ax
je 0x18000a697
cmp ax, 0x5c
je 0x18000a68e
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x18000a675
jmp 0x18000a697
test rcx, rcx
jne 0x18000abda
lea rbx, str.AppID
nop
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18000a6e5
add rbx, 8
lea rax, [0x180026fc0]
cmp rbx, rax
jl 0x18000a6a0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov dword [rbp - 0x80], ebx
mov qword [rbp - 0x78], rbx
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.180009e50
mov qword [rsp + 0x78], rbx
test esi, esi
je 0x18000a713
mov rdx, rdi
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
call fcn.1800097d0
mov ebx, eax
test eax, eax
js 0x18000ac0f
mov rdx, rdi
mov rcx, rsi
call fcn.18000acf0
jmp 0x18000a92d
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rsi, qword [rsp + 0x40]
test eax, eax
jne 0x18000a745
mov dword [rsp + 0x4c], eax
mov rdx, rdi
mov rcx, rsi
call fcn.1800097d0
mov ebx, eax
test eax, eax
js 0x18000ac0f
lea rdx, [0x180026d58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x18000a85b
lea rdx, [rbp + 0x1f0]
mov rcx, rsi
call fcn.1800097d0
mov ebx, eax
test eax, eax
js 0x18000ac0f
mov rdx, rdi
mov rcx, rsi
call fcn.1800097d0
mov ebx, eax
test eax, eax
js 0x18000ac0f
cmp word [rdi], 0x3d
jne 0x18000abda
cmp dword [rsp + 0x48], 0
je 0x18000a7d9
xor eax, eax
mov qword [rbp - 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x58], rax
xor eax, eax
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x48], rax
mov r9, rdi
lea r8, [rbp + 0x1f0]
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.180007fe0
mov ebx, eax
mov qword [rbp - 0x58], 0
jmp 0x18000a92f
cmp dword [rbp + 0x2250], 0
jne 0x18000a84b
cmp dword [rsp + 0x4c], 0
je 0x18000a84b
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], eax
mov qword [rbp - 0x60], rax
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.1800099a0
test eax, eax
jne 0x18000abc0
lea rdx, [rbp + 0x1f0]
mov rsi, qword [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x18000aba7
test rsi, rsi
je 0x18000a846
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x40]
mov rdx, rdi
mov rcx, rsi
call fcn.18000acf0
jmp 0x18000a5e5
mov rcx, rdi
movzx eax, word [rdi]
test ax, ax
je 0x18000a888
cmp ax, 0x5c
je 0x18000a87f
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x18000a866
jmp 0x18000a888
test rcx, rcx
jne 0x18000abda
cmp dword [rsp + 0x48], 0
je 0x18000a98b
mov r9d, 0x2001f
mov r8, rdi
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1800099a0
test eax, eax
je 0x18000a8ff
mov r9d, 0x20019
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1800099a0
test eax, eax
je 0x18000a8ff
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1800092f0
test eax, eax
jne 0x18000ac06
mov rdx, rdi
mov rcx, rsi
call fcn.1800097d0
mov ebx, eax
test eax, eax
js 0x18000ac0f
cmp word [rdi], 0x3d
jne 0x18000a937
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.180007fe0
mov ebx, eax
test eax, eax
js 0x18000ac0f
cmp word [rdi], 0x7b
jne 0x18000a5ef
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], 0
jne 0x18000a945
cmp rax, 1
jne 0x18000a5ef
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rdx, rdi
mov rcx, rsi
call fcn.18000a580
mov ebx, eax
test eax, eax
js 0x18000ac0f
mov rdx, rdi
mov rcx, rsi
jmp 0x18000a5e0
mov ebx, dword [rbp + 0x2250]
test ebx, ebx
jne 0x18000a9b1
mov r9d, 0x20019
mov r8, rdi
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.1800099a0
mov esi, eax
jmp 0x18000a9b6
mov esi, 2
mov eax, ebx
test esi, esi
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x70], eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x20]
call fcn.180018f28
test eax, eax
je 0x18000aa03
cmp eax, 0xc
je 0x18000abf7
cmp eax, 0x16
je 0x18000abec
cmp eax, 0x22
je 0x18000abec
cmp eax, 0x50
jne 0x18000abe1
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.1800097d0
mov ebx, eax
test eax, eax
js 0x18000ac0f
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.18000acf0
mov ebx, eax
test eax, eax
js 0x18000ac0f
cmp word [rdi], 0x7b
jne 0x18000aa95
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x18000aa40
cmp rax, 1
jne 0x18000aa95
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x58]
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.18000a580
mov ebx, eax
test eax, eax
jns 0x18000aa7e
cmp dword [rsp + 0x70], 0
je 0x18000ac0f
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.1800097d0
mov ebx, eax
test eax, eax
js 0x18000ac0f
cmp esi, 2
je 0x18000a5ef
test esi, esi
je 0x18000aab4
cmp dword [rbp + 0x2250], 0
je 0x18000ac02
jmp 0x18000a5ef
cmp dword [rbp + 0x2250], 0
je 0x18000ab23
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call fcn.180009740
test eax, eax
je 0x18000ab23
lea rsi, str.AppID
nop word [rax + rax]
mov rdx, qword [rsi]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18000a5ef
add rsi, 8
lea rax, [0x180026fc0]
cmp rsi, rax
jl 0x18000aae0
cmp dword [rsp + 0x4c], 0
je 0x18000a5ef
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.180009e50
jmp 0x18000a5ef
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call fcn.180009740
mov esi, eax
xor eax, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18000ab4d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], 0
test eax, eax
jne 0x18000ac06
cmp dword [rsp + 0x4c], eax
je 0x18000a5ef
test esi, esi
jne 0x18000a5ef
xor eax, eax
mov qword [rbp - 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], esi
mov qword [rbp - 0x30], 0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.180009400
mov qword [rbp - 0x40], 0
test eax, eax
jne 0x18000ac06
jmp 0x18000a5ef
mov ecx, eax
call fcn.180008710
mov ebx, eax
test rsi, rsi
je 0x18000ac0f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18000ac0f
mov ecx, eax
call fcn.180008710
mov ebx, eax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x18000ac0f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18000ac0f
mov ebx, 0x80020009
jmp 0x18000ac0f
mov ecx, 0x80004005
call fcn.180009070
int3
mov ecx, 0x80070057
call fcn.180009070
int3
mov ecx, 0x8007000e
call fcn.180009070
int3
mov ecx, esi
jmp 0x18000ac08
mov ecx, eax
call fcn.180008710
mov ebx, eax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x18000ac22
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21f0]
xor rcx, rsp
call fcn.1800143b0
add rsp, 0x2308
pop rdi
pop rsi
pop rbx
pop rbp
ret