Function at 0x463ea0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bed0d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4ff684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x463ef7
push str.Invalid_substitutor
push 0x25
push str.NWebAdvisor::NXmlUpdater::parse_and_execute
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterdelete_registry_tree_command.cpp
push 1
call fcn.00449540
add esp, 0x14
xor al, al
jmp 0x4640ed
push 3
push 0x4da24c
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
call fcn.0041441e
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
mov edi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], edi
mov ebx, dword [esi + 4]
cmp byte [ebx + 0xd], 0
jne 0x463fda
mov esi, dword [ebp - 0x2c]
nop dword [eax + eax]
cmp dword [ebp - 0x28], 8
lea edi, [ebx + 0x10]
mov edx, dword [edi + 0x10]
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x1c], edx
jb 0x463f5c
mov edi, dword [edi]
cmp esi, edx
mov ecx, edx
cmovb ecx, esi
test ecx, ecx
je 0x463fa7
movzx edx, word [edi]
movzx esi, word [eax]
cmp dx, si
jb 0x463f8f
sub edi, eax
cmp dx, si
ja 0x463f97
cmp ecx, 1
je 0x463fa1
movzx edx, word [edi + eax + 2]
add eax, 2
dec ecx
movzx esi, word [eax]
cmp dx, si
jae 0x463f77
mov esi, dword [ebp - 0x2c]
or eax, 0xffffffff
jmp 0x463fb4
mov esi, dword [ebp - 0x2c]
mov eax, 1
jmp 0x463fb4
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
cmp esi, edx
jbe 0x463fb0
or eax, 0xffffffff
jmp 0x463fb4
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
je 0x463fc3
mov ebx, dword [ebx + 8]
mov edi, dword [ebp - 0x18]
jmp 0x463fca
mov edi, ebx
mov ebx, dword [ebx]
mov dword [ebp - 0x18], edi
cmp byte [ebx + 0xd], 0
je 0x463f40
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
cmp byte [edi + 0xd], 0
jne 0x463ff1
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0044c4d0
test al, al
je 0x463ff3
mov edi, esi
lea ecx, [ebp - 0x3c]
call fcn.00414870
mov eax, dword [ebp + 8]
cmp edi, dword [eax]
jne 0x464024
push str.Unable_to_read_Key_for_DEL_REG_TREE_command
push 0x2c
push str.NWebAdvisor::NXmlUpdater::parse_and_execute
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterdelete_registry_tree_command.cpp
push 1
call fcn.00449540
add esp, 0x14
xor al, al
jmp 0x4640ed
mov ecx, dword [ebp - 0x24]
lea esi, [edi + 0x28]
push esi
call fcn.0044b270
test al, al
jne 0x464056
push str.Unable_to_substitute_variables_for_the_DEL_REG_TREE_command
push 0x32
push str.NWebAdvisor::NXmlUpdater::parse_and_execute
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterdelete_registry_tree_command.cpp
push 1
call fcn.00449540
add esp, 0x14
xor al, al
jmp 0x4640ed
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0x10]
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x46409e
push eax
push str.Error_opening_HKLM_registry_key:__d
push 0x3a
push str.NWebAdvisor::NXmlUpdater::parse_and_execute
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterdelete_registry_tree_command.cpp
push 1
call fcn.00449540
add esp, 0x18
xor bl, bl
jmp 0x4640dd
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4640a8
mov eax, dword [esi]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
cmp eax, 2
jne 0x464109
cmp dword [esi + 0x14], 8
jb 0x4640bf
mov esi, dword [esi]
push esi
push str.Cannnot_delete_registry_key._Not_found:__s
push 0x42
push str.NWebAdvisor::NXmlUpdater::parse_and_execute
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterdelete_registry_tree_command.cpp
push 4
call fcn.00449540
add esp, 0x18
mov bl, 1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4640eb
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00488f07
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x4640db
cmp dword [esi + 0x14], 8
jb 0x464115
mov esi, dword [esi]
push esi
push eax
push str.Error___d__deleting_registry_key_tree:__s
push 0x46
push str.NWebAdvisor::NXmlUpdater::parse_and_execute
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterdelete_registry_tree_command.cpp
push 1
call fcn.00449540
add esp, 0x1c
xor bl, bl
jmp 0x4640dd