Function at 0x14000e218
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x22e8
call fcn.140005f10
sub rsp, rax
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x22d0], rax
mov dword [rsp + 0x74], r9d
mov qword [rsp + 0x78], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x68], rcx
xor ecx, ecx
mov rdi, rcx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rcx
mov ecx, dword [rsp + 0x2330]
mov dword [rsp + 0xb0], ecx
mov rcx, rax
call fcn.14000e08c
mov ebx, eax
xor edx, edx
cmp eax, edx
jge 0x14000e29d
jmp 0x14000eb25
cmp word [rsi], 0x7d
je 0x14000eb15
mov eax, 1
mov dword [rsp + 0x70], eax
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
mov ebp, ebx
cmp eax, ebx
sete bpl
lea rdx, str.ForceRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
je 0x14000e2e6
cmp ebp, ebx
je 0x14000e3d4
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000e08c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eb15
cmp dword [rsp + 0x74], edx
je 0x14000e3d2
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], rdx
mov rcx, rsi
movzx eax, word [rsi]
cmp ax, dx
je 0x14000e350
cmp ax, 0x5c
je 0x14000e347
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
xor edx, edx
cmp ax, dx
jne 0x14000e32c
jmp 0x14000e350
cmp rcx, rdx
jne 0x14000ea1a
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000e394
add rbx, 8
lea rax, str.TypeLib
cmp rbx, rax
jl 0x14000e357
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x98], rax
mov rdx, rsi
lea rcx, [rsp + 0x98]
call fcn.14000de5c
xor ebx, ebx
cmp ebp, ebx
je 0x14000e3d4
mov rdx, rsi
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.14000e08c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eb15
mov rdx, rsi
mov rcx, rbp
call fcn.14000ddb4
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eb15
jmp 0x14000e6ab
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x14000e40a
mov dword [rsp + 0x70], ebx
mov rdx, rsi
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.14000e08c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eb15
jmp 0x14000e411
mov rbp, qword [rsp + 0x68]
jmp 0x14000e413
xor ebx, ebx
lea rdx, [0x140014e70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x14000e54c
lea rdx, [rsp + 0x2d0]
mov rcx, rbp
call fcn.14000e08c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eb15
mov rdx, rsi
mov rcx, rbp
call fcn.14000e08c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eb15
cmp word [rsi], 0x3d
jne 0x14000ea7b
cmp dword [rsp + 0x74], edx
je 0x14000e4b7
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], rdx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x98], rax
mov r9, rsi
lea r8, [rsp + 0x2d0]
lea rdx, [rsp + 0x98]
mov rcx, rbp
call fcn.14000d8d0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000ea32
jmp 0x14000e6ab
cmp dword [rsp + 0x2330], edx
jne 0x14000e530
cmp dword [rsp + 0x70], edx
je 0x14000e530
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
cmp eax, ebx
jne 0x14000ea6b
mov rbp, qword [rsp + 0x60]
lea rdx, [rsp + 0x2d0]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x14000e516
cmp eax, 2
jne 0x14000ea47
cmp rbp, rbx
je 0x14000e52b
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x68]
jmp 0x14000e530
mov rbp, qword [rsp + 0x68]
mov rdx, rsi
mov rcx, rbp
call fcn.14000ddb4
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eb15
jmp 0x14000ea06
mov rcx, rsi
movzx eax, word [rsi]
cmp ax, bx
je 0x14000e579
cmp ax, 0x5c
je 0x14000e570
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
cmp ax, bx
jne 0x14000e557
jmp 0x14000e579
cmp rcx, rbx
jne 0x14000ea93
cmp dword [rsp + 0x74], ebx
je 0x14000e70c
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rsi
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
cmp eax, ecx
jne 0x14000e5d9
mov eax, ecx
cmp rdi, rcx
je 0x14000e5c4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x80], rdi
cmp eax, ecx
je 0x14000e664
mov qword [rsp + 0x60], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
cmp eax, ecx
jne 0x14000e626
mov eax, ecx
cmp rdi, rcx
je 0x14000e615
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x80], rdi
cmp eax, ecx
je 0x14000e664
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.1400018d0
xor edi, edi
cmp eax, edi
jne 0x14000eab2
mov rdi, qword [rsp + 0x80]
mov rdx, rsi
mov rcx, rbp
call fcn.14000e08c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eb15
cmp word [rsi], 0x3d
jne 0x14000e6ab
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, rbp
call fcn.14000d8d0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eaa8
mov rdi, qword [rsp + 0x80]
cmp word [rsi], 0x7b
jne 0x14000ea06
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x14000ea04
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x74]
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.14000e218
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eb15
mov rdx, rsi
mov rcx, rbp
call fcn.14000e08c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eb15
jmp 0x14000ea06
mov ebx, dword [rsp + 0x2330]
xor eax, eax
cmp ebx, eax
jne 0x14000e76a
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
xor eax, eax
cmp ebp, eax
jne 0x14000e76f
mov ebp, eax
cmp rdi, rax
je 0x14000e75b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, eax
xor eax, eax
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x80], rdi
jmp 0x14000e76f
mov ebp, 2
cmp ebp, eax
mov eax, 1
cmovne ebx, eax
mov dword [rsp + 0x2330], ebx
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_wcsncpy_s
xor ecx, ecx
cmp eax, ecx
je 0x14000e7c3
cmp eax, 0xc
je 0x14000eae8
cmp eax, 0x16
je 0x14000eadd
cmp eax, 0x22
je 0x14000eadd
cmp eax, 0x50
jne 0x14000ead2
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000e08c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eb15
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000ddb4
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eb15
cmp word [rsi], 0x7b
jne 0x14000e85d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x14000e85b
mov eax, dword [rsp + 0x2330]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000e218
mov ebx, eax
xor edx, edx
cmp eax, edx
jge 0x14000e840
cmp dword [rsp + 0x2330], edx
je 0x14000eb15
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000e08c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14000eb15
jmp 0x14000e85d
xor edx, edx
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x2330], eax
cmp ebp, 2
je 0x14000ea06
cmp ebp, edx
je 0x14000e885
cmp eax, edx
je 0x14000eaf3
jmp 0x14000ea06
cmp eax, edx
je 0x14000e943
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, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
cmp eax, edx
jne 0x14000e943
mov eax, edx
cmp dword [rsp + 0x60], edx
seta al
cmp eax, edx
je 0x14000e943
lea rbp, str.AppID
mov rdx, qword [rbp]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
cmp eax, edx
je 0x14000ea06
add rbp, 8
lea rax, str.TypeLib
cmp rbp, rax
jl 0x14000e8e9
cmp dword [rsp + 0x70], edx
je 0x14000ea06
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x80]
call fcn.14000de5c
mov rdi, qword [rsp + 0x80]
xor edx, edx
jmp 0x14000ea06
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, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
cmp eax, edx
je 0x14000e98f
mov ebp, edx
jmp 0x14000e999
mov ebp, edx
cmp dword [rsp + 0x60], edx
seta bpl
cmp rdi, rdx
je 0x14000e9bc
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rdi, rdx
mov qword [rsp + 0x80], rdx
cmp eax, edx
jne 0x14000eb00
cmp dword [rsp + 0x70], edx
je 0x14000ea06
cmp ebp, edx
jne 0x14000ea06
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], rdx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x98]
call fcn.14000dfc8
xor edx, edx
cmp eax, edx
jne 0x14000eb0a
jmp 0x14000ea06
xor edx, edx
cmp word [rsi], 0x7d
je 0x14000eb15
mov eax, 1
jmp 0x14000e2ac
cmp rdi, rdx
je 0x14000ea28
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14000eb25
cmp rdi, rdx
je 0x14000ea40
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14000eb25
mov ecx, eax
call fcn.14000e078
mov ebx, eax
xor edx, edx
cmp rbp, rdx
je 0x14000eb15
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
jmp 0x14000eb15
mov ecx, eax
call fcn.14000e078
mov ebx, eax
xor edx, edx
jmp 0x14000eb15
cmp rdi, rdx
je 0x14000ea89
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14000eb25
cmp rdi, rbx
je 0x14000eaa1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14000eb25
mov rdi, qword [rsp + 0x80]
jmp 0x14000eb15
mov ecx, eax
call fcn.14000e078
mov ebx, eax
mov rcx, qword [rsp + 0x80]
cmp rcx, rdi
je 0x14000eace
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14000eb25
mov ecx, 0x80004005
call fcn.14000dd7c
int3
mov ecx, 0x80070057
call fcn.14000dd7c
int3
mov ecx, 0x8007000e
call fcn.14000dd7c
int3
mov ecx, ebp
call fcn.14000e078
mov ebx, eax
xor edx, edx
jmp 0x14000eb15
mov ecx, eax
call fcn.14000e078
nop
jmp 0x14000eb25
mov ecx, eax
call fcn.14000e078
mov ebx, eax
xor edx, edx
cmp rdi, rdx
je 0x14000eb23
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x22d0]
xor rcx, rsp
call fcn.140001710
add rsp, 0x22e8
pop rdi
pop rsi
pop rbp
pop rbx
ret