Function at 0x14002a7c0
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x21c8]
mov eax, 0x22c8
call fcn.140030b10
sub rsp, rax
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x21b0], rax
mov dword [rsp + 0x44], r9d
mov qword [rsp + 0x68], r8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
call fcn.14002ae58
mov ebx, eax
test eax, eax
js 0x14002a992
cmp word [rdi], 0x7d
je 0x14002a992
mov eax, 1
mov dword [rsp + 0x40], eax
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
xor ecx, ecx
mov ebx, ecx
test eax, eax
sete bl
mov dword [rsp + 0x48], ebx
lea rdx, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x140040e74
test ebx, ebx
jne 0x140040e74
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x140040f73
lea rdx, [0x140095d10]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x140040f93
mov edx, 0x5c
mov rcx, rdi
call fcn.14002b0d0
test rax, rax
jne 0x1400411f4
cmp dword [rsp + 0x44], ebx
jne 0x14004104b
mov ebx, dword [rbp + 0x2210]
test ebx, ebx
jne 0x140041143
mov r9d, 0x20019
mov r8, rdi
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.14002afe4
mov esi, eax
mov eax, ebx
test esi, esi
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x48], eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x60]
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
test eax, eax
jne 0x14004114d
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
call fcn.14002ae58
mov ebx, eax
test eax, eax
js 0x14002a992
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
call fcn.14002ad6c
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x14002a992
cmp word [rdi], 0x7b
jne 0x14002a9b9
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], cx
jne 0x14002a950
cmp rax, 1
jne 0x14002a9b9
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x78]
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
call fcn.14002a7c0
mov ebx, eax
xor eax, eax
test ebx, ebx
jns 0x14004117c
cmp dword [rsp + 0x48], eax
jne 0x14004117c
lea rcx, [rsp + 0x78]
call fcn.14002b034
mov eax, ebx
mov rcx, qword [rbp + 0x21b0]
xor rcx, rsp
call fcn.14002dd40
add rsp, 0x22c8
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp esi, 2
je 0x14004112f
test esi, esi
jne 0x14004119a
cmp dword [rbp + 0x2210], ecx
jne 0x1400411a8
mov rdx, qword [rsp + 0x78]
call fcn.14002adf4
mov esi, eax
lea rcx, [rsp + 0x78]
call fcn.14002b034
xor ecx, ecx
test eax, eax
jne 0x14002aa55
cmp dword [rsp + 0x40], ecx
je 0x14004112f
test esi, esi
jne 0x14004112f
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.14002b05c
mov esi, eax
xor eax, eax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.14002b034
test esi, esi
je 0x14002aa4b
mov ecx, esi
call fcn.14002b118
mov ebx, eax
jmp 0x14002a992
mov rsi, qword [rsp + 0x70]
jmp 0x1400410d4
mov ecx, eax
jmp 0x14002aa3f
mov rdx, rdi
mov rcx, rsi
call fcn.14002ae58
mov ebx, eax
test eax, eax
js 0x14002a992
xor ebx, ebx
cmp dword [rsp + 0x44], ebx
je 0x14002a878
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
lea edx, [rbx + 0x5c]
mov rcx, rdi
call fcn.14002b0d0
test rax, rax
jne 0x1400411ea
mov rdx, rdi
call fcn.1400549a0
test eax, eax
je 0x140040ee0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140056740
mov qword [rsp + 0x50], rbx
cmp dword [rsp + 0x48], ebx
je 0x140040f63
mov rdx, rdi
mov rcx, rsi
call fcn.14002ae58
mov ebx, eax
test eax, eax
js 0x140041207
mov rdx, rdi
mov rcx, rsi
call fcn.14002ad6c
mov ebx, eax
lea rcx, [rsp + 0x50]
call fcn.14002b034
xor edx, edx
jmp 0x140040f56
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov r9, rdi
lea r8, [rbp + 0x1b0]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140054344
mov ebx, eax
xor eax, eax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.14002b034
xor edx, edx
test ebx, ebx
js 0x14002a992
jmp 0x1400410d6
lea rcx, [rsp + 0x50]
call fcn.14002b034
nop
jmp 0x14002a878
mov dword [rsp + 0x40], ebx
mov rdx, rdi
mov rcx, rsi
call fcn.14002ae58
mov ebx, eax
test eax, eax
js 0x14002a992
xor ebx, ebx
jmp 0x14002a890
lea rdx, [rbp + 0x1b0]
mov rcx, rsi
call fcn.14002ae58
mov ebx, eax
test eax, eax
js 0x14002a992
mov rdx, rdi
mov rcx, rsi
call fcn.14002ae58
mov ebx, eax
xor eax, eax
test ebx, ebx
js 0x14002a992
cmp word [rdi], 0x3d
jne 0x1400411f4
cmp dword [rsp + 0x44], eax
jne 0x140040f16
cmp dword [rbp + 0x2210], eax
jne 0x14004103b
cmp dword [rsp + 0x40], eax
je 0x14004103b
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.14002afe4
test eax, eax
jne 0x1400411fe
lea rdx, [rbp + 0x1b0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x1400411fe
lea rcx, [rsp + 0x50]
call fcn.14002b034
mov rdx, rdi
mov rcx, rsi
call fcn.14002ad6c
jmp 0x140041125
mov r9d, 0x2001f
mov r8, rdi
mov rbx, qword [rsp + 0x68]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14002afe4
test eax, eax
je 0x14004109c
mov r9d, 0x20019
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14002afe4
test eax, eax
je 0x14004109c
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140054c28
test eax, eax
jne 0x14002aa55
mov rdx, rdi
mov rcx, rsi
call fcn.14002ae58
mov ebx, eax
test eax, eax
js 0x14002a992
cmp word [rdi], 0x3d
jne 0x1400410d4
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140054344
mov ebx, eax
test eax, eax
js 0x14002a992
xor edx, edx
mov ecx, dword [rsp + 0x44]
test ecx, ecx
je 0x14004112f
cmp word [rdi], 0x7b
jne 0x14004112f
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x1400410e8
cmp rax, 1
jne 0x14004112f
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8, qword [rsp + 0x78]
mov rdx, rdi
mov rcx, rsi
call fcn.14002a7c0
mov ebx, eax
test eax, eax
js 0x14002a992
mov rdx, rdi
mov rcx, rsi
call fcn.14002ae58
mov ebx, eax
test eax, eax
js 0x14002a992
cmp word [rdi], 0x7d
je 0x14002a992
mov rsi, qword [rsp + 0x70]
jmp 0x14002a830
mov esi, 2
jmp 0x14002a8f0
cmp eax, 0xc
je 0x140041222
cmp eax, 0x16
je 0x140041217
cmp eax, 0x22
je 0x140041217
cmp eax, 0x50
je 0x14002a91e
mov ecx, 0x80004005
call fcn.14004a0f0
int3
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
call fcn.14002ae58
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x14002a992
jmp 0x14002a9b9
cmp dword [rbp + 0x2210], ecx
je 0x14002aa3d
jmp 0x14004112f
mov rdx, qword [rsp + 0x78]
call fcn.14002adf4
test eax, eax
je 0x14002a9d6
lea rdx, [rbp - 0x60]
call fcn.1400549a0
xor ecx, ecx
test eax, eax
je 0x14004112f
cmp dword [rsp + 0x40], ecx
je 0x14004112f
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
call fcn.140056740
jmp 0x14004112f
lea rcx, [rsp + 0x50]
call fcn.14002b034
mov ebx, 0x80020009
jmp 0x14002a992
mov ecx, eax
call fcn.14002b118
mov ebx, eax
lea rcx, [rsp + 0x50]
call fcn.14002b034
nop
jmp 0x14002a992
mov ecx, 0x80070057
call fcn.14004a0f0
int3
mov ecx, 0x8007000e
call fcn.14004a0f0
int3