Function at 0x180004fcc
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x22f8
call fcn.18003f390
sub rsp, rax
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x22e0], rax
mov dword [rsp + 0x70], r9d
mov qword [rsp + 0x88], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x68], rcx
xor ecx, ecx
mov rdi, rcx
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x80], ecx
mov ecx, dword [rsp + 0x2340]
mov dword [rsp + 0xa0], ecx
mov rcx, rax
call fcn.1800037f0
mov ebx, eax
xor edx, edx
cmp eax, edx
jge 0x180005048
jmp 0x180005936
cmp word [rsi], 0x7d
je 0x180005926
mov eax, 1
mov dword [rsp + 0x74], eax
lea rdx, [0x180043930]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
mov ebp, ebx
cmp eax, ebx
sete bpl
lea rdx, [0x1800438f0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
je 0x180005091
cmp ebp, ebx
je 0x1800051a3
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.1800037f0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x180005926
cmp dword [rsp + 0x70], edx
je 0x1800051a1
mov qword [rsp + 0x90], rdx
mov dword [rsp + 0x98], edx
mov rcx, rsi
movzx eax, word [rsi]
cmp ax, dx
je 0x1800050f2
cmp ax, 0x5c
je 0x1800050e9
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
xor edx, edx
cmp ax, dx
jne 0x1800050ce
jmp 0x1800050f2
cmp rcx, rdx
jne 0x180005819
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180005153
add rbx, 8
lea rax, [0x18004c650]
cmp rbx, rax
jl 0x1800050f9
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
xor ebx, ebx
mov dword [rsp + 0x98], ebx
mov rdx, rsi
lea rcx, [rsp + 0x90]
call fcn.180003cec
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0x98], ebx
jmp 0x180005155
xor ebx, ebx
cmp ebp, ebx
je 0x180005198
mov rdx, rsi
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.1800037f0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x180005926
mov rdx, rsi
mov rcx, rbp
call fcn.180003974
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x180005926
mov dword [rsp + 0x98], edx
jmp 0x1800057ab
mov dword [rsp + 0x98], ebx
jmp 0x1800051a3
xor ebx, ebx
lea rdx, [0x180043910]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x1800051d9
mov dword [rsp + 0x74], ebx
mov rdx, rsi
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.1800037f0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x180005926
jmp 0x1800051e0
mov rbp, qword [rsp + 0x68]
jmp 0x1800051e2
xor ebx, ebx
lea rdx, [0x1800438e0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x18000532e
lea rdx, [rsp + 0x2e0]
mov rcx, rbp
call fcn.1800037f0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x180005926
mov rdx, rsi
mov rcx, rbp
call fcn.1800037f0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x180005926
cmp word [rsi], 0x3d
jne 0x18000587a
cmp dword [rsp + 0x70], edx
je 0x180005296
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xc0], edx
mov r9, rsi
lea r8, [rsp + 0x2e0]
lea rdx, [rsp + 0xb8]
mov rcx, rbp
call fcn.180004b70
mov ebx, eax
xor edx, edx
mov qword [rsp + 0xb8], rdx
mov dword [rsp + 0xc0], edx
cmp eax, edx
jl 0x180005831
mov dword [rsp + 0xc0], edx
jmp 0x1800057ab
cmp dword [rsp + 0x2340], edx
jne 0x180005312
cmp dword [rsp + 0x74], edx
je 0x180005312
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
cmp eax, ebx
jne 0x18000586a
mov rbp, qword [rsp + 0x60]
lea rdx, [rsp + 0x2e0]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1800052f8
cmp eax, 2
jne 0x180005846
cmp rbp, rbx
je 0x18000530d
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x68]
jmp 0x180005312
mov rbp, qword [rsp + 0x68]
mov rdx, rsi
mov rcx, rbp
call fcn.180003974
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x180005926
jmp 0x180005805
mov rcx, rsi
movzx eax, word [rsi]
cmp ax, bx
je 0x18000535b
cmp ax, 0x5c
je 0x180005352
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
cmp ax, bx
jne 0x180005339
jmp 0x18000535b
cmp rcx, rbx
jne 0x180005892
cmp dword [rsp + 0x70], ebx
je 0x180005495
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 + 0x88]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
cmp eax, ecx
jne 0x1800053c2
mov eax, ecx
cmp rdi, rcx
je 0x1800053a9
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x80], ecx
cmp eax, ecx
je 0x18000544b
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 0x180005413
mov eax, ecx
cmp rdi, rcx
je 0x1800053fe
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x80], ecx
cmp eax, ecx
je 0x18000544b
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 + 0x78]
call fcn.180003444
xor edi, edi
cmp eax, edi
jne 0x1800058b1
mov rdi, qword [rsp + 0x78]
mov rdx, rsi
mov rcx, rbp
call fcn.1800037f0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x180005926
cmp word [rsi], 0x3d
jne 0x1800057ab
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rbp
call fcn.180004b70
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x1800058aa
mov rdi, qword [rsp + 0x78]
jmp 0x1800057ab
mov ebx, dword [rsp + 0x2340]
xor eax, eax
cmp ebx, eax
jne 0x1800054fa
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 + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
xor eax, eax
cmp ebp, eax
jne 0x1800054ff
mov ebp, eax
cmp rdi, rax
je 0x1800054e7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, eax
xor eax, eax
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x80], eax
jmp 0x1800054ff
mov ebp, 2
cmp ebp, eax
mov eax, 1
cmovne ebx, eax
mov dword [rsp + 0x2340], ebx
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rsp + 0xd0]
call fcn.180026114
xor ecx, ecx
cmp eax, ecx
je 0x180005553
cmp eax, 0xc
je 0x1800058e4
cmp eax, 0x16
je 0x1800058d9
cmp eax, 0x22
je 0x1800058d9
cmp eax, 0x50
jne 0x1800058ce
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.1800037f0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x180005926
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.180003974
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x180005926
cmp word [rsi], 0x7b
jne 0x1800055e9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1800055e7
mov eax, dword [rsp + 0x2340]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.180004fcc
mov ebx, eax
xor edx, edx
cmp eax, edx
jge 0x1800055cc
cmp dword [rsp + 0x2340], edx
je 0x180005926
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.1800037f0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x180005926
jmp 0x1800055e9
xor edx, edx
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x2340], eax
cmp ebp, 2
je 0x180005805
cmp ebp, edx
je 0x180005611
cmp eax, edx
je 0x1800058ef
jmp 0x180005805
cmp eax, edx
je 0x1800056c9
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 0x1800056c9
mov eax, edx
cmp dword [rsp + 0x60], edx
seta al
cmp eax, edx
je 0x1800056c9
lea rbp, str.AppID
mov rdx, qword [rbp]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
cmp eax, edx
je 0x180005805
add rbp, 8
lea rax, [0x18004c650]
cmp rbp, rax
jl 0x180005675
cmp dword [rsp + 0x74], edx
je 0x180005805
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x78]
call fcn.180003cec
mov rdi, qword [rsp + 0x78]
xor edx, edx
jmp 0x180005805
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 0x180005715
mov ebp, edx
jmp 0x18000571f
mov ebp, edx
cmp dword [rsp + 0x60], edx
seta bpl
mov eax, edx
cmp rdi, rdx
je 0x180005739
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rdi, rdx
mov qword [rsp + 0x78], rdx
mov dword [rsp + 0x80], edx
cmp eax, edx
jne 0x180005909
cmp dword [rsp + 0x74], edx
je 0x180005805
cmp ebp, edx
jne 0x180005805
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xb0], edx
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xa8]
call fcn.1800033c0
xor edx, edx
mov qword [rsp + 0xa8], rdx
mov dword [rsp + 0xb0], edx
cmp eax, edx
jne 0x1800058fc
mov dword [rsp + 0xb0], edx
mov rbp, qword [rsp + 0x68]
cmp dword [rsp + 0x70], edx
je 0x180005805
cmp word [rsi], 0x7b
jne 0x180005805
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x180005803
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x70]
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.180004fcc
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x180005926
mov rdx, rsi
mov rcx, rbp
call fcn.1800037f0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x180005926
jmp 0x180005805
xor edx, edx
cmp word [rsi], 0x7d
je 0x180005926
mov eax, 1
jmp 0x180005057
cmp rdi, rdx
je 0x180005827
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x180005936
cmp rdi, rdx
je 0x18000583f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x180005936
mov ecx, eax
call fcn.1800033a4
mov ebx, eax
xor edx, edx
cmp rbp, rdx
je 0x180005926
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
jmp 0x180005926
mov ecx, eax
call fcn.1800033a4
mov ebx, eax
xor edx, edx
jmp 0x180005926
cmp rdi, rdx
je 0x180005888
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x180005936
cmp rdi, rbx
je 0x1800058a0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x180005936
mov rdi, qword [rsp + 0x78]
jmp 0x180005926
mov ecx, eax
call fcn.1800033a4
mov ebx, eax
mov rcx, qword [rsp + 0x78]
cmp rcx, rdi
je 0x1800058ca
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x180005936
mov ecx, 0x80004005
call fcn.18000333c
int3
mov ecx, 0x80070057
call fcn.18000333c
int3
mov ecx, 0x8007000e
call fcn.18000333c
int3
mov ecx, ebp
call fcn.1800033a4
mov ebx, eax
xor edx, edx
jmp 0x180005926
mov ecx, eax
call fcn.1800033a4
mov ebx, eax
xor edx, edx
jmp 0x180005926
mov ecx, eax
call fcn.1800033a4
mov ebx, eax
xor eax, eax
cmp rdi, rax
je 0x180005922
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x180005936
cmp rdi, rdx
je 0x180005934
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x22e0]
xor rcx, rsp
call fcn.180026540
add rsp, 0x22f8
pop rdi
pop rsi
pop rbp
pop rbx
ret