Function at 0x180003fec
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2228]
mov eax, 0x2328
call fcn.1800d1140
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x180134010]
xor rax, rsp
mov qword [rbp + 0x2210], rax
mov dword [rsp + 0x60], r9d
mov r15, r8
mov qword [rsp + 0x68], r8
mov rdi, rdx
mov r12, rcx
xor eax, eax
mov qword [rbp - 0x80], rax
mov r14d, eax
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], eax
mov qword [rbp - 0x78], rax
call fcn.18000326c
test eax, eax
mov ebx, eax
js 0x180004630
cmp word [rdi], 0x7d
je 0x180004630
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 0x1800040a7
test esi, esi
je 0x18000417f
mov rdx, rdi
mov rcx, r12
call fcn.18000326c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180004630
cmp dword [rsp + 0x60], edx
je 0x18000417d
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x58], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x1800040ee
cmp ax, 0x5c
je 0x1800040f5
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x1800040dc
jmp 0x1800040fe
test rcx, rcx
jne 0x180004690
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180004144
add rbx, 8
lea rax, [0x1800f67e0]
cmp rbx, rax
jl 0x180004105
mov qword [rbp - 0x68], r15
xor ebx, ebx
mov dword [rbp - 0x60], ebx
mov qword [rbp - 0x58], rbx
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.180002a68
mov qword [rbp - 0x68], rbx
jmp 0x180004146
xor ebx, ebx
test esi, esi
je 0x18000417f
mov rdx, rdi
mov rcx, r12
call fcn.18000326c
mov ebx, eax
test eax, eax
js 0x180004630
mov rdx, rdi
mov rcx, r12
call fcn.180003974
mov ebx, eax
test eax, eax
js 0x180004630
mov esi, dword [rsp + 0x60]
jmp 0x180004373
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1800041ab
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.18000326c
mov ebx, eax
test eax, eax
js 0x180004630
lea rdx, [0x1800f5fa8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1800042b4
lea rdx, [rbp + 0x210]
mov rcx, r12
call fcn.18000326c
mov ebx, eax
test eax, eax
js 0x180004630
mov rdx, rdi
mov rcx, r12
call fcn.18000326c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180004630
cmp word [rdi], 0x3d
jne 0x180004690
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x180004241
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x48], edx
mov qword [rbp - 0x40], rdx
mov r9, rdi
lea r8, [rbp + 0x210]
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.180003424
mov ebx, eax
xor edx, edx
mov qword [rbp - 0x50], rdx
test eax, eax
js 0x180004630
jmp 0x180004373
cmp dword [rbp + 0x2290], edx
jne 0x1800042a4
test r13d, r13d
je 0x1800042a4
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x28], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x38]
call fcn.180002980
test eax, eax
jne 0x180004676
lea rdx, [rbp + 0x210]
mov rsi, qword [rbp - 0x38]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x180004663
test rsi, rsi
je 0x1800042a4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.180003974
jmp 0x180004055
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x1800042ce
cmp ax, 0x5c
je 0x1800042d5
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x1800042bc
jmp 0x1800042de
test rcx, rcx
jne 0x180004690
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x1800043bf
mov r9d, 0x2001f
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002980
test eax, eax
je 0x180004336
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002980
test eax, eax
je 0x180004336
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.1800028c8
test eax, eax
jne 0x180004697
mov rdx, rdi
mov rcx, r12
call fcn.18000326c
mov ebx, eax
test eax, eax
js 0x1800046a0
cmp word [rdi], 0x3d
jne 0x18000436e
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.180003424
mov ebx, eax
test eax, eax
js 0x1800046a0
mov r14, qword [rsp + 0x78]
cmp word [rdi], 0x7b
jne 0x18000405f
mov rcx, rdi
call fcn.1800adf34
mov ecx, 1
cmp rax, rcx
jne 0x18000405f
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, esi
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180003fec
mov ebx, eax
test eax, eax
js 0x180004630
mov rdx, rdi
mov rcx, r12
jmp 0x180004050
mov ebx, dword [rbp + 0x2290]
test ebx, ebx
jne 0x1800043e8
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002980
mov esi, eax
mov r14, qword [rsp + 0x78]
jmp 0x1800043ed
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]
call fcn.1800adf58
test eax, eax
je 0x180004438
cmp eax, 0xc
je 0x1800046b2
cmp eax, 0x16
je 0x1800046a7
cmp eax, 0x22
je 0x1800046a7
cmp eax, 0x50
jne 0x1800046bd
mov rdx, rdi
mov rcx, r12
call fcn.18000326c
mov ebx, eax
test eax, eax
js 0x180004630
mov rdx, rdi
mov rcx, r12
call fcn.180003974
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180004630
cmp word [rdi], 0x7b
jne 0x1800044bc
mov rcx, rdi
call fcn.1800adf34
mov ecx, 1
cmp rax, rcx
jne 0x1800044ba
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180003fec
mov ebx, eax
test eax, eax
jns 0x1800044a1
test r15d, r15d
je 0x180004630
mov rdx, rdi
mov rcx, r12
call fcn.18000326c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180004630
jmp 0x1800044bc
xor edx, edx
cmp esi, 2
je 0x180004573
test esi, esi
je 0x1800044dc
cmp dword [rbp + 0x2290], edx
jne 0x180004573
mov ecx, esi
jmp 0x180004629
cmp dword [rbp + 0x2290], edx
je 0x18000457d
mov dword [rbp - 0x70], 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, [rbp - 0x70]
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 0x18000457d
cmp dword [rbp - 0x70], edx
jbe 0x18000457d
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180004573
add rsi, 8
lea rax, [0x1800f67e0]
cmp rsi, rax
jl 0x18000453a
test r13d, r13d
je 0x180004573
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.180002a68
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x68]
jmp 0x18000405f
mov dword [rbp - 0x70], 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, [rbp - 0x70]
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 0x1800045cc
cmp dword [rbp - 0x70], edx
seta sil
mov eax, edx
test r14, r14
je 0x1800045e6
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r14d, edx
mov qword [rsp + 0x78], rdx
mov dword [rbp - 0x80], edx
test eax, eax
jne 0x180004627
test r13d, r13d
je 0x180004573
mov r15, qword [rsp + 0x68]
test esi, esi
jne 0x18000405f
and qword [rbp - 0x18], 0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], rdx
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.180002838
xor edx, edx
mov qword [rbp - 0x20], rdx
test eax, eax
je 0x18000405f
mov ecx, eax
call fcn.180002584
mov ebx, eax
test r14, r14
je 0x18000463e
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x2210]
xor rcx, rsp
call fcn.1800a7380
add rsp, 0x2328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.180002584
mov ebx, eax
test rsi, rsi
je 0x180004630
mov rcx, rsi
jmp 0x180004688
mov ecx, eax
call fcn.180002584
mov ebx, eax
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x180004630
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180004630
mov ebx, 0x80020009
jmp 0x180004630
mov ecx, eax
call fcn.180002584
mov ebx, eax
mov r14, qword [rsp + 0x78]
jmp 0x180004630
mov ecx, 0x80070057
call fcn.180002538
int3
mov ecx, 0x8007000e
call fcn.180002538
int3
mov ecx, 0x80004005
call fcn.180002538
int3