Function at 0x140102030
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14d, r8d
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x140102072
lea rax, [0x1401cddf0]
lea r9d, [rdx + 0x25]
jmp 0x14010230d
xor r15d, r15d
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
lea r8d, [r15 + 3]
lea rdx, [0x1401ccdf8]
lea rcx, [rbp - 0x40]
call fcn.1400260f0
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.14002b2c0
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1401020ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401020e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010234f
call fcn.14014f900
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov r8d, 4
lea rdx, [0x1401e66c8]
lea rcx, [rbp - 0x40]
call fcn.1400260f0
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.14002b2c0
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140102167
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140102162
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010234f
call fcn.14014f900
mov rax, qword [rbx]
mov rdi, qword [rbp - 0x20]
cmp rdi, rax
je 0x140102300
mov rbx, qword [rbp - 0x18]
cmp rbx, rax
je 0x140102300
lea rdx, [rdi + 0x40]
mov rcx, rsi
call fcn.1400e43f0
test al, al
je 0x1401022f1
lea rdx, [rbx + 0x40]
mov rcx, rsi
call fcn.1400e43f0
test al, al
je 0x1401022f1
mov qword [rbp - 0x10], r15
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140102203
mov dword [rsp + 0x28], eax
lea rax, str.Error_opening_HKLM_registry_key:__d
mov qword [rsp + 0x20], rax
mov r9d, 0x3c
lea r8, str.NWebAdvisor::NXmlUpdater::parse_and_execute
lea rdx, str.c:jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterdelete_registry_value_command.cpp
lea ecx, [r9 - 0x3b]
call fcn.1400ebbc0
xor bl, bl
jmp 0x14010227f
lea r8, [rbx + 0x40]
cmp qword [r8 + 0x18], 8
jb 0x140102211
mov r8, qword [r8]
lea rdx, [rdi + 0x40]
cmp qword [rdx + 0x18], 8
jb 0x14010221f
mov rdx, qword [rdx]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
cmp eax, 2
jne 0x140102296
add rbx, 0x40
cmp qword [rbx + 0x18], 8
jb 0x14010223c
mov rbx, qword [rbx]
add rdi, 0x40
cmp qword [rdi + 0x18], 8
jb 0x14010224a
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rdi
lea rax, str.Cannnot_delete_registry_value._Key_or_value_not_found._Key:__s_Value:__s
mov qword [rsp + 0x20], rax
mov r9d, 0x45
lea r8, str.NWebAdvisor::NXmlUpdater::parse_and_execute
lea rdx, str.c:jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterdelete_registry_value_command.cpp
lea ecx, [r9 - 0x41]
call fcn.1400ebbc0
mov bl, 1
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14010228e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
jmp 0x14010232c
test eax, eax
je 0x14010227d
add rdi, 0x40
cmp qword [rdi + 0x18], 8
jb 0x1401022a8
mov rdi, qword [rdi]
add rbx, 0x40
cmp qword [rbx + 0x18], 8
jb 0x1401022b6
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
lea rax, str.Error___d__deleting_registry_value___s__in_key:__s
mov qword [rsp + 0x20], rax
mov r9d, 0x4a
lea r8, str.NWebAdvisor::NXmlUpdater::parse_and_execute
lea rdx, str.c:jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterdelete_registry_value_command.cpp
lea ecx, [r9 - 0x49]
call fcn.1400ebbc0
xor bl, bl
jmp 0x14010227f
lea rax, str.Unable_to_substitute_variables_for_the_DEL_REG_VALUE_command
mov r9d, 0x34
jmp 0x14010230d
lea rax, str.Unable_to_read_Key_or_Name_for_DEL_REG_VALUE_command
mov r9d, 0x2e
mov qword [rsp + 0x20], rax
lea r8, str.NWebAdvisor::NXmlUpdater::parse_and_execute
lea rdx, str.c:jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterdelete_registry_value_command.cpp
mov ecx, 1
call fcn.1400ebbc0
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14014f8e0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140156b00
int3