Function at 0x10001fd1c
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x22e8
call fcn.1000105f0
sub rsp, rax
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x1000400a0]
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.10001fb90
mov ebx, eax
xor edx, edx
cmp eax, edx
jge 0x10001fda1
jmp 0x100020629
cmp word [rsi], 0x7d
je 0x100020619
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 0x10001fdea
cmp ebp, ebx
je 0x10001fed8
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.10001fb90
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020619
cmp dword [rsp + 0x74], edx
je 0x10001fed6
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 0x10001fe54
cmp ax, 0x5c
je 0x10001fe4b
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
xor edx, edx
cmp ax, dx
jne 0x10001fe30
jmp 0x10001fe54
cmp rcx, rdx
jne 0x10002051e
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10001fe98
add rbx, 8
lea rax, str.TypeLib
cmp rbx, rax
jl 0x10001fe5b
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x98], rax
mov rdx, rsi
lea rcx, [rsp + 0x98]
call fcn.10001f968
xor ebx, ebx
cmp ebp, ebx
je 0x10001fed8
mov rdx, rsi
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.10001fb90
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020619
mov rdx, rsi
mov rcx, rbp
call fcn.10001f8c0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020619
jmp 0x1000201af
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x10001ff0e
mov dword [rsp + 0x70], ebx
mov rdx, rsi
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.10001fb90
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020619
jmp 0x10001ff15
mov rbp, qword [rsp + 0x68]
jmp 0x10001ff17
xor ebx, ebx
lea rdx, [0x100032a20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x100020050
lea rdx, [rsp + 0x2d0]
mov rcx, rbp
call fcn.10001fb90
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020619
mov rdx, rsi
mov rcx, rbp
call fcn.10001fb90
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020619
cmp word [rsi], 0x3d
jne 0x10002057f
cmp dword [rsp + 0x74], edx
je 0x10001ffbb
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.10001f410
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020536
jmp 0x1000201af
cmp dword [rsp + 0x2330], edx
jne 0x100020034
cmp dword [rsp + 0x70], edx
je 0x100020034
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 0x10002056f
mov rbp, qword [rsp + 0x60]
lea rdx, [rsp + 0x2d0]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x10002001a
cmp eax, 2
jne 0x10002054b
cmp rbp, rbx
je 0x10002002f
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x68]
jmp 0x100020034
mov rbp, qword [rsp + 0x68]
mov rdx, rsi
mov rcx, rbp
call fcn.10001f8c0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020619
jmp 0x10002050a
mov rcx, rsi
movzx eax, word [rsi]
cmp ax, bx
je 0x10002007d
cmp ax, 0x5c
je 0x100020074
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
cmp ax, bx
jne 0x10002005b
jmp 0x10002007d
cmp rcx, rbx
jne 0x100020597
cmp dword [rsp + 0x74], ebx
je 0x100020210
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 0x1000200dd
mov eax, ecx
cmp rdi, rcx
je 0x1000200c8
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 0x100020168
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 0x10002012a
mov eax, ecx
cmp rdi, rcx
je 0x100020119
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 0x100020168
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.10000faa0
xor edi, edi
cmp eax, edi
jne 0x1000205b6
mov rdi, qword [rsp + 0x80]
mov rdx, rsi
mov rcx, rbp
call fcn.10001fb90
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020619
cmp word [rsi], 0x3d
jne 0x1000201af
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, rbp
call fcn.10001f410
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x1000205ac
mov rdi, qword [rsp + 0x80]
cmp word [rsi], 0x7b
jne 0x10002050a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x100020508
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x74]
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.10001fd1c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020619
mov rdx, rsi
mov rcx, rbp
call fcn.10001fb90
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020619
jmp 0x10002050a
mov ebx, dword [rsp + 0x2330]
xor eax, eax
cmp ebx, eax
jne 0x10002026e
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 0x100020273
mov ebp, eax
cmp rdi, rax
je 0x10002025f
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 0x100020273
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 0x1000202c7
cmp eax, 0xc
je 0x1000205ec
cmp eax, 0x16
je 0x1000205e1
cmp eax, 0x22
je 0x1000205e1
cmp eax, 0x50
jne 0x1000205d6
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.10001fb90
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020619
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.10001f8c0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020619
cmp word [rsi], 0x7b
jne 0x100020361
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x10002035f
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.10001fd1c
mov ebx, eax
xor edx, edx
cmp eax, edx
jge 0x100020344
cmp dword [rsp + 0x2330], edx
je 0x100020619
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.10001fb90
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100020619
jmp 0x100020361
xor edx, edx
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x2330], eax
cmp ebp, 2
je 0x10002050a
cmp ebp, edx
je 0x100020389
cmp eax, edx
je 0x1000205f7
jmp 0x10002050a
cmp eax, edx
je 0x100020447
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 0x100020447
mov eax, edx
cmp dword [rsp + 0x60], edx
seta al
cmp eax, edx
je 0x100020447
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 0x10002050a
add rbp, 8
lea rax, str.TypeLib
cmp rbp, rax
jl 0x1000203ed
cmp dword [rsp + 0x70], edx
je 0x10002050a
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x80]
call fcn.10001f968
mov rdi, qword [rsp + 0x80]
xor edx, edx
jmp 0x10002050a
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 0x100020493
mov ebp, edx
jmp 0x10002049d
mov ebp, edx
cmp dword [rsp + 0x60], edx
seta bpl
cmp rdi, rdx
je 0x1000204c0
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 0x100020604
cmp dword [rsp + 0x70], edx
je 0x10002050a
cmp ebp, edx
jne 0x10002050a
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.10001facc
xor edx, edx
cmp eax, edx
jne 0x10002060e
jmp 0x10002050a
xor edx, edx
cmp word [rsi], 0x7d
je 0x100020619
mov eax, 1
jmp 0x10001fdb0
cmp rdi, rdx
je 0x10002052c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x100020629
cmp rdi, rdx
je 0x100020544
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x100020629
mov ecx, eax
call fcn.10001fb7c
mov ebx, eax
xor edx, edx
cmp rbp, rdx
je 0x100020619
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
jmp 0x100020619
mov ecx, eax
call fcn.10001fb7c
mov ebx, eax
xor edx, edx
jmp 0x100020619
cmp rdi, rdx
je 0x10002058d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x100020629
cmp rdi, rbx
je 0x1000205a5
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x100020629
mov rdi, qword [rsp + 0x80]
jmp 0x100020619
mov ecx, eax
call fcn.10001fb7c
mov ebx, eax
mov rcx, qword [rsp + 0x80]
cmp rcx, rdi
je 0x1000205d2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x100020629
mov ecx, 0x80004005
call fcn.100018078
int3
mov ecx, 0x80070057
call fcn.100018078
int3
mov ecx, 0x8007000e
call fcn.100018078
int3
mov ecx, ebp
call fcn.10001fb7c
mov ebx, eax
xor edx, edx
jmp 0x100020619
mov ecx, eax
call fcn.10001fb7c
nop
jmp 0x100020629
mov ecx, eax
call fcn.10001fb7c
mov ebx, eax
xor edx, edx
cmp rdi, rdx
je 0x100020627
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x22d0]
xor rcx, rsp
call fcn.1000012f0
add rsp, 0x22e8
pop rdi
pop rsi
pop rbp
pop rbx
ret