Function at 0x180003eec
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.1800af860
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x180106010]
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.18000316c
test eax, eax
mov ebx, eax
js 0x180004530
cmp word [rdi], 0x7d
je 0x180004530
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 0x180003fa7
test esi, esi
je 0x18000407f
mov rdx, rdi
mov rcx, r12
call fcn.18000316c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180004530
cmp dword [rsp + 0x60], edx
je 0x18000407d
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x58], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x180003fee
cmp ax, 0x5c
je 0x180003ff5
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x180003fdc
jmp 0x180003ffe
test rcx, rcx
jne 0x180004590
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180004044
add rbx, 8
lea rax, [0x1800ce7c0]
cmp rbx, rax
jl 0x180004005
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.180002968
mov qword [rbp - 0x68], rbx
jmp 0x180004046
xor ebx, ebx
test esi, esi
je 0x18000407f
mov rdx, rdi
mov rcx, r12
call fcn.18000316c
mov ebx, eax
test eax, eax
js 0x180004530
mov rdx, rdi
mov rcx, r12
call fcn.180003874
mov ebx, eax
test eax, eax
js 0x180004530
mov esi, dword [rsp + 0x60]
jmp 0x180004273
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1800040ab
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.18000316c
mov ebx, eax
test eax, eax
js 0x180004530
lea rdx, [0x1800cdf88]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1800041b4
lea rdx, [rbp + 0x210]
mov rcx, r12
call fcn.18000316c
mov ebx, eax
test eax, eax
js 0x180004530
mov rdx, rdi
mov rcx, r12
call fcn.18000316c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180004530
cmp word [rdi], 0x3d
jne 0x180004590
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x180004141
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.180003324
mov ebx, eax
xor edx, edx
mov qword [rbp - 0x50], rdx
test eax, eax
js 0x180004530
jmp 0x180004273
cmp dword [rbp + 0x2290], edx
jne 0x1800041a4
test r13d, r13d
je 0x1800041a4
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.180002880
test eax, eax
jne 0x180004576
lea rdx, [rbp + 0x210]
mov rsi, qword [rbp - 0x38]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x180004563
test rsi, rsi
je 0x1800041a4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.180003874
jmp 0x180003f55
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x1800041ce
cmp ax, 0x5c
je 0x1800041d5
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x1800041bc
jmp 0x1800041de
test rcx, rcx
jne 0x180004590
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x1800042bf
mov r9d, 0x2001f
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002880
test eax, eax
je 0x180004236
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002880
test eax, eax
je 0x180004236
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.1800027c8
test eax, eax
jne 0x180004597
mov rdx, rdi
mov rcx, r12
call fcn.18000316c
mov ebx, eax
test eax, eax
js 0x1800045a0
cmp word [rdi], 0x3d
jne 0x18000426e
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.180003324
mov ebx, eax
test eax, eax
js 0x1800045a0
mov r14, qword [rsp + 0x78]
cmp word [rdi], 0x7b
jne 0x180003f5f
mov rcx, rdi
call fcn.18008ce34
mov ecx, 1
cmp rax, rcx
jne 0x180003f5f
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, esi
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180003eec
mov ebx, eax
test eax, eax
js 0x180004530
mov rdx, rdi
mov rcx, r12
jmp 0x180003f50
mov ebx, dword [rbp + 0x2290]
test ebx, ebx
jne 0x1800042e8
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002880
mov esi, eax
mov r14, qword [rsp + 0x78]
jmp 0x1800042ed
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.18008ce58
test eax, eax
je 0x180004338
cmp eax, 0xc
je 0x1800045b2
cmp eax, 0x16
je 0x1800045a7
cmp eax, 0x22
je 0x1800045a7
cmp eax, 0x50
jne 0x1800045bd
mov rdx, rdi
mov rcx, r12
call fcn.18000316c
mov ebx, eax
test eax, eax
js 0x180004530
mov rdx, rdi
mov rcx, r12
call fcn.180003874
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180004530
cmp word [rdi], 0x7b
jne 0x1800043bc
mov rcx, rdi
call fcn.18008ce34
mov ecx, 1
cmp rax, rcx
jne 0x1800043ba
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180003eec
mov ebx, eax
test eax, eax
jns 0x1800043a1
test r15d, r15d
je 0x180004530
mov rdx, rdi
mov rcx, r12
call fcn.18000316c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180004530
jmp 0x1800043bc
xor edx, edx
cmp esi, 2
je 0x180004473
test esi, esi
je 0x1800043dc
cmp dword [rbp + 0x2290], edx
jne 0x180004473
mov ecx, esi
jmp 0x180004529
cmp dword [rbp + 0x2290], edx
je 0x18000447d
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 0x18000447d
cmp dword [rbp - 0x70], edx
jbe 0x18000447d
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180004473
add rsi, 8
lea rax, [0x1800ce7c0]
cmp rsi, rax
jl 0x18000443a
test r13d, r13d
je 0x180004473
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.180002968
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x68]
jmp 0x180003f5f
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 0x1800044cc
cmp dword [rbp - 0x70], edx
seta sil
mov eax, edx
test r14, r14
je 0x1800044e6
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 0x180004527
test r13d, r13d
je 0x180004473
mov r15, qword [rsp + 0x68]
test esi, esi
jne 0x180003f5f
and qword [rbp - 0x18], 0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], rdx
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.180002738
xor edx, edx
mov qword [rbp - 0x20], rdx
test eax, eax
je 0x180003f5f
mov ecx, eax
call fcn.180002484
mov ebx, eax
test r14, r14
je 0x18000453e
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x2210]
xor rcx, rsp
call fcn.180086280
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.180002484
mov ebx, eax
test rsi, rsi
je 0x180004530
mov rcx, rsi
jmp 0x180004588
mov ecx, eax
call fcn.180002484
mov ebx, eax
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x180004530
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180004530
mov ebx, 0x80020009
jmp 0x180004530
mov ecx, eax
call fcn.180002484
mov ebx, eax
mov r14, qword [rsp + 0x78]
jmp 0x180004530
mov ecx, 0x80070057
call fcn.180002438
int3
mov ecx, 0x8007000e
call fcn.180002438
int3
mov ecx, 0x80004005
call fcn.180002438
int3