Function at 0x14000bdc0
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x21f8]
mov eax, 0x22f8
call fcn.140014650
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x140068080]
xor rax, rsp
mov qword [rbp + 0x21e0], rax
mov dword [rsp + 0x50], r9d
mov qword [rsp + 0x48], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x68], rcx
mov rcx, rax
call fcn.14000a960
mov ebx, eax
test eax, eax
js 0x14000c575
cmp word [rsi], 0x7d
je 0x14000c575
mov ecx, 1
mov dword [rsp + 0x54], ecx
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
xor edi, edi
test eax, eax
sete dil
lea rdx, [0x14004a540]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x14000be76
test edi, edi
je 0x14000bf54
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14000a960
mov ebx, eax
test eax, eax
js 0x14000c575
cmp dword [rsp + 0x50], 0
je 0x14000bf54
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], eax
mov qword [rbp - 0x80], rax
mov rcx, rsi
movzx eax, word [rsi]
test ax, ax
je 0x14000bed9
cmp ax, 0x5c
je 0x14000bed0
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14000beb7
jmp 0x14000bed9
test rcx, rcx
jne 0x14000c540
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x14000bf26
add rbx, 8
lea rax, [0x14004b640]
cmp rbx, rax
jl 0x14000bee0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
xor ebx, ebx
mov dword [rsp + 0x78], ebx
mov qword [rbp - 0x80], rbx
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.14000b450
mov qword [rsp + 0x70], rbx
test edi, edi
je 0x14000bf54
mov rdx, rsi
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14000a960
mov ebx, eax
test eax, eax
js 0x14000c575
mov rdx, rsi
mov rcx, rdi
call fcn.14000cc80
jmp 0x14000c23f
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
mov rdi, qword [rsp + 0x40]
test eax, eax
jne 0x14000bf86
mov dword [rsp + 0x54], eax
mov rdx, rsi
mov rcx, rdi
call fcn.14000a960
mov ebx, eax
test eax, eax
js 0x14000c575
lea rdx, [0x14004a538]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
jne 0x14000c09b
lea rdx, [rbp + 0x1e0]
mov rcx, rdi
call fcn.14000a960
mov ebx, eax
test eax, eax
js 0x14000c575
mov rdx, rsi
mov rcx, rdi
call fcn.14000a960
mov ebx, eax
test eax, eax
js 0x14000c575
cmp word [rsi], 0x3d
jne 0x14000c540
cmp dword [rsp + 0x50], 0
je 0x14000c01a
xor eax, eax
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x78], rax
xor eax, eax
mov dword [rbp - 0x70], eax
mov qword [rbp - 0x68], rax
mov r9, rsi
lea r8, [rbp + 0x1e0]
lea rdx, [rbp - 0x78]
mov rcx, rdi
call fcn.140008430
mov ebx, eax
mov qword [rbp - 0x78], 0
jmp 0x14000c241
cmp dword [rbp + 0x2240], 0
jne 0x14000c08b
cmp dword [rsp + 0x54], 0
je 0x14000c08b
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c56c
lea rdx, [rbp + 0x1e0]
mov rdi, qword [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14000c527
test rdi, rdi
je 0x14000c086
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdi, qword [rsp + 0x40]
mov rdx, rsi
mov rcx, rdi
call fcn.14000cc80
jmp 0x14000be25
mov rcx, rsi
movzx eax, word [rsi]
test ax, ax
je 0x14000c0c8
cmp ax, 0x5c
je 0x14000c0bf
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14000c0a6
jmp 0x14000c0c8
test rcx, rcx
jne 0x14000c540
cmp dword [rsp + 0x50], 0
je 0x14000c2a6
mov qword [rbp - 0x40], 0
mov rbx, qword [rsp + 0x68]
lea rax, [rbp - 0x40]
test rbx, rbx
je 0x14000c10b
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2001f
xor r9d, r9d
mov r8, rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.14000b7e0
jmp 0x14000c127
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c156
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000c13b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdi, qword [rbp - 0x40]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], 0
test eax, eax
je 0x14000c20c
jmp 0x14000c15b
mov rdi, qword [rsp + 0x58]
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
test rbx, rbx
je 0x14000c193
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
mov r8, rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.14000b7e0
mov rbx, qword [rsp + 0x48]
jmp 0x14000c1b2
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c1d9
test rdi, rdi
je 0x14000c1c4
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdi, qword [rbp - 0x40]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], 0
test eax, eax
je 0x14000c20c
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140009970
test eax, eax
jne 0x14000c56c
mov rdx, rsi
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14000a960
mov ebx, eax
test eax, eax
js 0x14000c575
cmp word [rsi], 0x3d
jne 0x14000c249
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140008430
mov ebx, eax
test eax, eax
js 0x14000c575
cmp word [rsi], 0x7b
jne 0x14000be2f
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x14000c260
cmp rax, 1
jne 0x14000be2f
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, rsi
mov rcx, rdi
call fcn.14000bdc0
mov ebx, eax
test eax, eax
js 0x14000c575
mov rdx, rsi
mov rcx, rdi
jmp 0x14000be20
mov ebx, dword [rbp + 0x2240]
test ebx, ebx
jne 0x14000c33a
mov qword [rbp - 0x40], 0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14000c2ec
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
mov r8, rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.14000b7e0
jmp 0x14000c30c
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14000c33f
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14000c327
mov rcx, rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, eax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0
jmp 0x14000c33f
mov edi, 2
mov eax, ebx
test edi, edi
mov ecx, 1
cmovne eax, ecx
mov dword [rbp - 0x40], eax
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.14001bfbc
test eax, eax
je 0x14000c38b
cmp eax, 0xc
je 0x14000c55d
cmp eax, 0x16
je 0x14000c552
cmp eax, 0x22
je 0x14000c552
cmp eax, 0x50
jne 0x14000c547
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14000a960
mov ebx, eax
test eax, eax
js 0x14000c575
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14000cc80
mov ebx, eax
test eax, eax
js 0x14000c575
cmp word [rsi], 0x7b
jne 0x14000c416
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], 0
jne 0x14000c3c3
cmp rax, 1
jne 0x14000c416
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x58]
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14000bdc0
mov ebx, eax
test eax, eax
jns 0x14000c3ff
cmp dword [rbp - 0x40], 0
je 0x14000c575
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14000a960
mov ebx, eax
test eax, eax
js 0x14000c575
cmp edi, 2
je 0x14000be2f
test edi, edi
je 0x14000c435
cmp dword [rbp + 0x2240], 0
je 0x14000c568
jmp 0x14000be2f
cmp dword [rbp + 0x2240], 0
je 0x14000c4a3
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call fcn.140009e20
test eax, eax
je 0x14000c4a3
lea rdi, str.AppID
nop dword [rax + rax]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x14000be2f
add rdi, 8
lea rax, [0x14004b640]
cmp rdi, rax
jl 0x14000c460
cmp dword [rsp + 0x54], 0
je 0x14000be2f
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x58]
call fcn.14000b450
jmp 0x14000be2f
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call fcn.140009e20
mov edi, eax
xor eax, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000c4cd
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], 0
test eax, eax
jne 0x14000c56c
cmp dword [rsp + 0x54], eax
je 0x14000be2f
test edi, edi
jne 0x14000be2f
xor eax, eax
mov qword [rbp - 0x58], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], edi
mov qword [rbp - 0x50], 0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x60]
call fcn.140009a80
mov qword [rbp - 0x60], 0
test eax, eax
jne 0x14000c56c
jmp 0x14000be2f
mov ecx, eax
call fcn.140008b60
mov ebx, eax
test rdi, rdi
je 0x14000c575
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x14000c575
mov ebx, 0x80020009
jmp 0x14000c575
mov ecx, 0x80004005
call fcn.1400062d0
int3
mov ecx, 0x80070057
call fcn.1400062d0
int3
mov ecx, 0x8007000e
call fcn.1400062d0
int3
mov ecx, edi
jmp 0x14000c56e
mov ecx, eax
call fcn.140008b60
mov ebx, eax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14000c588
mov rcx, rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21e0]
xor rcx, rsp
call fcn.140013c00
add rsp, 0x22f8
pop rdi
pop rsi
pop rbx
pop rbp
ret