Function at 0x14005cf44
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21a8]
mov eax, 0x22a8
call fcn.140027610
sub rsp, rax
mov rax, qword [0x1400dc7b8]
xor rax, rsp
mov qword [rbp + 0x2190], rax
mov r15d, r9d
mov dword [rsp + 0x40], r9d
mov r13, r8
mov rdi, rdx
mov r14, rcx
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
call fcn.14005af7c
mov ebx, eax
test eax, eax
js 0x14005d4b9
cmp word [rdi], 0x7d
je 0x14005d4b9
mov r12d, 1
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
sete sil
lea rdx, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
je 0x14005cff6
test esi, esi
je 0x14005d0a5
mov rdx, rdi
mov rcx, r14
call fcn.14005af7c
mov ebx, eax
test eax, eax
js 0x14005d4b9
xor ebx, ebx
test r15d, r15d
je 0x14005d0a5
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
lea edx, [rbx + 0x5c]
mov rcx, rdi
call fcn.14005e274
test rax, rax
jne 0x14005d4aa
mov rdx, rdi
call fcn.140057e70
test eax, eax
je 0x14005d05c
mov qword [rsp + 0x48], r13
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14005c8f8
mov qword [rsp + 0x48], rbx
test esi, esi
je 0x14005d09b
mov rdx, rdi
mov rcx, r14
call fcn.14005af7c
mov ebx, eax
xor esi, esi
test eax, eax
js 0x14005d4f2
mov rdx, rdi
mov rcx, r14
call fcn.14005dec4
mov ebx, eax
test eax, eax
lea rcx, [rsp + 0x48]
js 0x14005d4f7
call fcn.140058130
jmp 0x14005d28a
lea rcx, [rsp + 0x48]
call fcn.140058130
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
nop dword [rax + rax]
xor esi, esi
test eax, eax
jne 0x14005d0d9
mov r12d, esi
mov rdx, rdi
mov rcx, r14
call fcn.14005af7c
mov ebx, eax
test eax, eax
js 0x14005d4b9
lea rdx, [0x1400b9850]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
jne 0x14005d1e7
lea rdx, [rbp + 0x190]
mov rcx, r14
call fcn.14005af7c
mov ebx, eax
test eax, eax
js 0x14005d4b9
mov rdx, rdi
mov rcx, r14
call fcn.14005af7c
mov ebx, eax
test eax, eax
js 0x14005d4b9
cmp word [rdi], 0x3d
jne 0x14005d4b4
test r15d, r15d
je 0x14005d166
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x48], r13
mov r9, rdi
lea r8, [rbp + 0x190]
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.1400575b4
mov ebx, eax
mov qword [rsp + 0x48], rsi
jmp 0x14005d084
cmp dword [rbp + 0x2210], esi
jne 0x14005d1cd
test r12d, r12d
je 0x14005d1cd
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.14005b1b8
test eax, eax
jne 0x14005d4e9
lea rdx, [rbp + 0x190]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, 0xfffffffd
jne 0x14005d4e9
lea rcx, [rsp + 0x48]
call fcn.140058130
mov rdx, rdi
mov rcx, r14
call fcn.14005dec4
mov ebx, eax
test eax, eax
js 0x14005d4b9
jmp 0x14005d49d
mov edx, 0x5c
mov rcx, rdi
call fcn.14005e274
test rax, rax
jne 0x14005d4b4
test r15d, r15d
je 0x14005d2dc
mov r9d, 0x2001f
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14005b1b8
test eax, eax
je 0x14005d252
mov r9d, 0x20019
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14005b1b8
test eax, eax
je 0x14005d252
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.140058318
test eax, eax
jne 0x14005d4fe
mov rdx, rdi
mov rcx, r14
call fcn.14005af7c
mov ebx, eax
test eax, eax
js 0x14005d4b9
cmp word [rdi], 0x3d
jne 0x14005d28a
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.1400575b4
mov ebx, eax
test eax, eax
js 0x14005d4b9
cmp word [rdi], 0x7b
jne 0x14005d49d
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], si
jne 0x14005d298
cmp rax, 1
jne 0x14005d49d
mov dword [rsp + 0x20], esi
mov r9d, r15d
mov r8, qword [rsp + 0x60]
mov rdx, rdi
mov rcx, r14
call fcn.14005cf44
mov ebx, eax
test eax, eax
js 0x14005d4b9
mov rdx, rdi
mov rcx, r14
call fcn.14005af7c
jmp 0x14005d1d8
cmp dword [rbp + 0x2210], esi
jne 0x14005d2fe
mov r9d, 0x20019
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14005b1b8
mov esi, eax
jmp 0x14005d303
mov esi, 2
mov r15d, 1
test esi, esi
cmove r15d, dword [rbp + 0x2210]
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_wcsncpy_s]
nop dword [rax + rax]
test eax, eax
je 0x14005d357
cmp eax, 0xc
je 0x14005d51b
cmp eax, 0x16
je 0x14005d510
cmp eax, 0x22
je 0x14005d510
cmp eax, 0x50
jne 0x14005d505
mov rdx, rdi
mov rcx, r14
call fcn.14005af7c
mov ebx, eax
test eax, eax
js 0x14005d4b9
mov rdx, rdi
mov rcx, r14
call fcn.14005dec4
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x14005d4b9
cmp word [rdi], 0x7b
jne 0x14005d3dd
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], cx
jne 0x14005d38d
cmp rax, 1
jne 0x14005d3dd
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, qword [rsp + 0x60]
mov rdx, rdi
mov rcx, r14
call fcn.14005cf44
mov ebx, eax
test eax, eax
jns 0x14005d3c3
test r15d, r15d
je 0x14005d4b9
mov rdx, rdi
mov rcx, r14
call fcn.14005af7c
mov ebx, eax
xor r15d, r15d
test eax, eax
js 0x14005d4b9
jmp 0x14005d3e0
xor r15d, r15d
cmp esi, 2
je 0x14005d498
test esi, esi
je 0x14005d408
cmp dword [rbp + 0x2210], r15d
jne 0x14005d498
mov ecx, esi
call fcn.140027178
mov ebx, eax
jmp 0x14005d4b9
cmp dword [rbp + 0x2210], r15d
je 0x14005d441
mov rdx, qword [rsp + 0x60]
call fcn.140059d94
test eax, eax
je 0x14005d441
lea rdx, [rbp - 0x80]
call fcn.140057e70
test eax, eax
je 0x14005d498
test r12d, r12d
je 0x14005d498
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.14005c8f8
jmp 0x14005d498
mov rdx, qword [rsp + 0x60]
call fcn.140059d94
mov esi, eax
lea rcx, [rsp + 0x60]
call fcn.140058130
test eax, eax
jne 0x14005d4fe
test r12d, r12d
je 0x14005d498
test esi, esi
jne 0x14005d498
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x48], r13
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.1400592c8
mov qword [rsp + 0x48], r15
test eax, eax
jne 0x14005d4e9
lea rcx, [rsp + 0x48]
call fcn.140058130
mov r15d, dword [rsp + 0x40]
cmp word [rdi], 0x7d
je 0x14005d4b9
xor esi, esi
jmp 0x14005cfb2
lea rcx, [rsp + 0x48]
call fcn.140058130
mov ebx, 0x80020009
lea rcx, [rsp + 0x60]
call fcn.140058130
mov eax, ebx
mov rcx, qword [rbp + 0x2190]
xor rcx, rsp
call fcn.140024990
add rsp, 0x22a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.140027178
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.140058130
jmp 0x14005d4b9
mov ecx, eax
jmp 0x14005d3fc
mov ecx, 0x80004005
call fcn.14004a254
int3
mov ecx, 0x80070057
call fcn.14004a254
int3
mov ecx, 0x8007000e
call fcn.14004a254
int3