Function at 0x180004058
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2218]
mov eax, 0x2318
call fcn.180038bd0
sub rsp, rax
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rax, qword [0x18008d0c0]
xor rax, rsp
mov qword [rbp + 0x2200], rax
mov dword [rsp + 0x64], r9d
mov r15, r8
mov qword [rbp - 0x20], r8
mov rdi, rdx
mov r12, rcx
xor eax, eax
mov r14d, eax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x78], rax
call fcn.180003338
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000478d
cmp word [rdi], 0x7d
je 0x18000478d
mov eax, 1
mov r13d, eax
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
mov esi, ebx
test eax, eax
sete sil
lea rdx, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180004111
test esi, esi
je 0x1800041f9
mov rdx, rdi
mov rcx, r12
call fcn.180003338
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000478d
cmp dword [rsp + 0x64], edx
je 0x1800041f7
mov qword [rbp - 0x80], rdx
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x180004159
cmp ax, 0x5c
je 0x180004160
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
xor edx, edx
test ax, ax
jne 0x180004145
jmp 0x180004169
test rcx, rcx
jne 0x18000471f
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1800041b6
add rbx, 8
lea rax, [0x1800744a0]
cmp rbx, rax
jl 0x180004170
mov qword [rbp - 0x80], r15
xor ebx, ebx
mov dword [rbp - 0x78], ebx
mov qword [rbp - 0x70], rbx
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.180002ad8
mov qword [rbp - 0x80], rbx
mov dword [rbp - 0x78], ebx
mov qword [rbp - 0x70], rbx
jmp 0x1800041b8
xor ebx, ebx
test esi, esi
je 0x1800041f2
mov rdx, rdi
mov rcx, r12
call fcn.180003338
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180004729
mov rdx, rdi
mov rcx, r12
call fcn.1800039e8
mov ebx, eax
xor edx, edx
mov dword [rbp - 0x78], edx
test eax, eax
js 0x18000478d
jmp 0x1800046c6
mov dword [rbp - 0x78], ebx
jmp 0x1800041f9
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180004227
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.180003338
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000478d
lea rdx, [0x180073e08]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
jne 0x18000434f
lea rdx, [rbp + 0x200]
mov rcx, r12
call fcn.180003338
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000478d
mov rdx, rdi
mov rcx, r12
call fcn.180003338
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000478d
cmp word [rdi], 0x3d
jne 0x180004722
cmp dword [rsp + 0x64], edx
je 0x1800042c6
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x68], r15
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
mov r9, rdi
lea r8, [rbp + 0x200]
lea rdx, [rbp - 0x68]
mov rcx, r12
call fcn.1800034f0
mov ebx, eax
xor edx, edx
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
mov dword [rbp - 0x60], edx
jmp 0x1800041e5
cmp dword [rbp + 0x2280], edx
jne 0x180004333
test r13d, r13d
je 0x180004333
mov qword [rbp - 0x50], rdx
mov dword [rbp - 0x48], edx
mov qword [rbp - 0x40], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.180002990
xor edx, edx
test eax, eax
jne 0x180004743
lea rdx, [rbp + 0x200]
mov rsi, qword [rbp - 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x18000472e
xor ebx, ebx
test rsi, rsi
je 0x180004330
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x48], ebx
mov rdx, rdi
mov rcx, r12
call fcn.1800039e8
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000478d
jmp 0x1800045eb
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x18000436b
cmp ax, 0x5c
je 0x180004372
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
xor edx, edx
test ax, ax
jne 0x180004357
jmp 0x18000437b
test rcx, rcx
jne 0x180004722
cmp dword [rsp + 0x64], edx
je 0x180004430
mov esi, 0x2001f
mov r9d, esi
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.180002990
xor ebx, ebx
test eax, eax
je 0x1800043ea
lea r9d, [rsi - 6]
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.180002990
test eax, eax
je 0x1800043ea
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.1800028ac
xor edx, edx
test eax, eax
jne 0x180004766
mov rdx, rdi
mov rcx, r12
call fcn.180003338
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000476f
cmp word [rdi], 0x3d
jne 0x180004426
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, r12
call fcn.1800034f0
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000476f
mov r14, qword [rsp + 0x68]
jmp 0x1800046c6
mov ebx, dword [rbp + 0x2280]
test ebx, ebx
jne 0x180004459
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.180002990
mov esi, eax
mov r14, qword [rsp + 0x68]
jmp 0x18000445e
mov esi, 2
mov r15d, ebx
test esi, esi
mov eax, 1
cmovne r15d, eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x10]
call fcn.180043228
test eax, eax
je 0x1800044a9
cmp eax, 0xc
je 0x1800047cb
cmp eax, 0x16
je 0x1800047e1
cmp eax, 0x22
je 0x1800047e1
cmp eax, 0x50
jne 0x1800047d6
mov rdx, rdi
mov rcx, r12
call fcn.180003338
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000478d
mov rdx, rdi
mov rcx, r12
call fcn.1800039e8
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000478d
cmp word [rdi], 0x7b
jne 0x18000452d
mov rcx, rdi
call fcn.180042f9c
cmp rax, 1
jne 0x18000452b
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180004058
mov ebx, eax
xor edx, edx
test eax, eax
jns 0x180004512
test r15d, r15d
je 0x18000478d
mov rdx, rdi
mov rcx, r12
call fcn.180003338
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000478d
jmp 0x18000452d
xor edx, edx
cmp esi, 2
je 0x1800045eb
test esi, esi
je 0x18000454d
cmp dword [rbp + 0x2280], edx
jne 0x1800045eb
mov ecx, esi
jmp 0x180004786
cmp dword [rbp + 0x2280], edx
je 0x1800045fe
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x1800045fe
cmp dword [rsp + 0x60], edx
jbe 0x1800045fe
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
je 0x1800045eb
add rsi, 8
lea rax, [0x1800744a0]
cmp rsi, rax
jl 0x1800045ae
test r13d, r13d
je 0x1800045eb
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x68]
call fcn.180002ad8
mov r14, qword [rsp + 0x68]
xor edx, edx
cmp word [rdi], 0x7d
je 0x18000478d
mov r15, qword [rbp - 0x20]
jmp 0x1800040d3
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
mov esi, edx
test eax, eax
jne 0x180004650
cmp dword [rsp + 0x60], edx
seta sil
mov eax, edx
test r14, r14
je 0x18000466a
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r14d, edx
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x70], edx
test eax, eax
jne 0x180004784
test r13d, r13d
je 0x1800045eb
test esi, esi
jne 0x1800045eb
mov qword [rbp - 0x38], rdx
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x28], rdx
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x28], rdx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call fcn.1800027e8
xor edx, edx
mov qword [rbp - 0x38], rdx
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x28], rdx
test eax, eax
jne 0x180004776
mov dword [rbp - 0x30], edx
mov r15d, dword [rsp + 0x64]
test r15d, r15d
je 0x1800045eb
cmp word [rdi], 0x7b
jne 0x1800045eb
mov rcx, rdi
call fcn.180042f9c
cmp rax, 1
jne 0x1800045e9
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, r15d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180004058
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000478d
mov rdx, rdi
mov rcx, r12
call fcn.180003338
jmp 0x18000433e
mov dword [rbp - 0x78], edx
mov ebx, 0x80020009
jmp 0x18000478d
mov dword [rbp - 0x78], edx
jmp 0x18000478d
mov ecx, eax
call fcn.180002418
mov ebx, eax
xor edx, edx
test rsi, rsi
je 0x180004761
mov rcx, rsi
jmp 0x180004755
mov ecx, eax
call fcn.180002418
mov ebx, eax
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180004761
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov qword [rbp - 0x50], rdx
mov dword [rbp - 0x48], edx
jmp 0x18000478d
mov ecx, eax
call fcn.180002418
mov ebx, eax
mov r14, qword [rsp + 0x68]
jmp 0x18000478d
mov ecx, eax
call fcn.180002418
mov ebx, eax
mov dword [rbp - 0x30], edx
jmp 0x18000478d
mov ecx, eax
call fcn.180002418
mov ebx, eax
test r14, r14
je 0x1800047a2
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x70], edx
mov eax, ebx
mov rcx, qword [rbp + 0x2200]
xor rcx, rsp
call fcn.180037bd0
add rsp, 0x2318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1800023d4
int3
mov ecx, 0x80004005
call fcn.1800023d4
int3
mov ecx, 0x80070057
call fcn.1800023d4
int3