Function at 0x180003e8c
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.1800c5c10
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x180122010]
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.18000310c
test eax, eax
mov ebx, eax
js 0x1800044d0
cmp word [rdi], 0x7d
je 0x1800044d0
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 0x180003f47
test esi, esi
je 0x18000401f
mov rdx, rdi
mov rcx, r12
call fcn.18000310c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1800044d0
cmp dword [rsp + 0x60], edx
je 0x18000401d
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x58], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x180003f8e
cmp ax, 0x5c
je 0x180003f95
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x180003f7c
jmp 0x180003f9e
test rcx, rcx
jne 0x180004530
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180003fe4
add rbx, 8
lea rax, [0x1800e87b0]
cmp rbx, rax
jl 0x180003fa5
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.180002908
mov qword [rbp - 0x68], rbx
jmp 0x180003fe6
xor ebx, ebx
test esi, esi
je 0x18000401f
mov rdx, rdi
mov rcx, r12
call fcn.18000310c
mov ebx, eax
test eax, eax
js 0x1800044d0
mov rdx, rdi
mov rcx, r12
call fcn.180003814
mov ebx, eax
test eax, eax
js 0x1800044d0
mov esi, dword [rsp + 0x60]
jmp 0x180004213
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x18000404b
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.18000310c
mov ebx, eax
test eax, eax
js 0x1800044d0
lea rdx, [0x1800e7f78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180004154
lea rdx, [rbp + 0x210]
mov rcx, r12
call fcn.18000310c
mov ebx, eax
test eax, eax
js 0x1800044d0
mov rdx, rdi
mov rcx, r12
call fcn.18000310c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1800044d0
cmp word [rdi], 0x3d
jne 0x180004530
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x1800040e1
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.1800032c4
mov ebx, eax
xor edx, edx
mov qword [rbp - 0x50], rdx
test eax, eax
js 0x1800044d0
jmp 0x180004213
cmp dword [rbp + 0x2290], edx
jne 0x180004144
test r13d, r13d
je 0x180004144
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.180002820
test eax, eax
jne 0x180004516
lea rdx, [rbp + 0x210]
mov rsi, qword [rbp - 0x38]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x180004503
test rsi, rsi
je 0x180004144
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.180003814
jmp 0x180003ef5
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x18000416e
cmp ax, 0x5c
je 0x180004175
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x18000415c
jmp 0x18000417e
test rcx, rcx
jne 0x180004530
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x18000425f
mov r9d, 0x2001f
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002820
test eax, eax
je 0x1800041d6
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002820
test eax, eax
je 0x1800041d6
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002768
test eax, eax
jne 0x180004537
mov rdx, rdi
mov rcx, r12
call fcn.18000310c
mov ebx, eax
test eax, eax
js 0x180004540
cmp word [rdi], 0x3d
jne 0x18000420e
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.1800032c4
mov ebx, eax
test eax, eax
js 0x180004540
mov r14, qword [rsp + 0x78]
cmp word [rdi], 0x7b
jne 0x180003eff
mov rcx, rdi
call fcn.1800a31e4
mov ecx, 1
cmp rax, rcx
jne 0x180003eff
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, esi
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180003e8c
mov ebx, eax
test eax, eax
js 0x1800044d0
mov rdx, rdi
mov rcx, r12
jmp 0x180003ef0
mov ebx, dword [rbp + 0x2290]
test ebx, ebx
jne 0x180004288
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002820
mov esi, eax
mov r14, qword [rsp + 0x78]
jmp 0x18000428d
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.1800a3208
test eax, eax
je 0x1800042d8
cmp eax, 0xc
je 0x180004552
cmp eax, 0x16
je 0x180004547
cmp eax, 0x22
je 0x180004547
cmp eax, 0x50
jne 0x18000455d
mov rdx, rdi
mov rcx, r12
call fcn.18000310c
mov ebx, eax
test eax, eax
js 0x1800044d0
mov rdx, rdi
mov rcx, r12
call fcn.180003814
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1800044d0
cmp word [rdi], 0x7b
jne 0x18000435c
mov rcx, rdi
call fcn.1800a31e4
mov ecx, 1
cmp rax, rcx
jne 0x18000435a
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180003e8c
mov ebx, eax
test eax, eax
jns 0x180004341
test r15d, r15d
je 0x1800044d0
mov rdx, rdi
mov rcx, r12
call fcn.18000310c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1800044d0
jmp 0x18000435c
xor edx, edx
cmp esi, 2
je 0x180004413
test esi, esi
je 0x18000437c
cmp dword [rbp + 0x2290], edx
jne 0x180004413
mov ecx, esi
jmp 0x1800044c9
cmp dword [rbp + 0x2290], edx
je 0x18000441d
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 0x18000441d
cmp dword [rbp - 0x70], edx
jbe 0x18000441d
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180004413
add rsi, 8
lea rax, [0x1800e87b0]
cmp rsi, rax
jl 0x1800043da
test r13d, r13d
je 0x180004413
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.180002908
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x68]
jmp 0x180003eff
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 0x18000446c
cmp dword [rbp - 0x70], edx
seta sil
mov eax, edx
test r14, r14
je 0x180004486
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 0x1800044c7
test r13d, r13d
je 0x180004413
mov r15, qword [rsp + 0x68]
test esi, esi
jne 0x180003eff
and qword [rbp - 0x18], 0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], rdx
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.1800026d8
xor edx, edx
mov qword [rbp - 0x20], rdx
test eax, eax
je 0x180003eff
mov ecx, eax
call fcn.180002424
mov ebx, eax
test r14, r14
je 0x1800044de
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x2210]
xor rcx, rsp
call fcn.18009c630
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.180002424
mov ebx, eax
test rsi, rsi
je 0x1800044d0
mov rcx, rsi
jmp 0x180004528
mov ecx, eax
call fcn.180002424
mov ebx, eax
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1800044d0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1800044d0
mov ebx, 0x80020009
jmp 0x1800044d0
mov ecx, eax
call fcn.180002424
mov ebx, eax
mov r14, qword [rsp + 0x78]
jmp 0x1800044d0
mov ecx, 0x80070057
call fcn.1800023d8
int3
mov ecx, 0x8007000e
call fcn.1800023d8
int3
mov ecx, 0x80004005
call fcn.1800023d8
int3