Function at 0x425cc0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb393
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
add dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], 2
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa8], eax
xor eax, eax
mov dword [ebp - 0x4c], vtable.LString.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 0x30], vtable.LString.0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x54], al
push 0x2001f
push ebx
push eax
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], eax
call sym.XNewLook.exe_public:_bool___thiscall_LRegEdit::OpenDir_class_LString_const___bool__struct_HKEY_____unsigned_long_int_
mov dword [ebp - 0x58], 0
test al, al
jne 0x425d96
cmp byte [ebp - 0x54], al
je 0x425d7c
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x54], 0
lea ecx, [ebp - 0x30]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x4c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, 0xffffff9b
jmp 0x425edb
cmp byte [ebp - 0x54], 0
je 0x425db0
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x54], 0
lea ecx, [ebp - 0x30]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x4c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, dword [ebp - 0xa8]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x425dd1
mov eax, dword [eax]
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], 2
xor eax, eax
mov dword [ebp - 0x94], vtable.LString.0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 0x78], vtable.LString.0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x9c], al
push 0x2001f
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 1
push 1
push dword [ebp - 0xa8]
call sym.XNewLook.exe_public:_bool___thiscall_LRegEdit::OpenDir_class_LString_const___bool__struct_HKEY_____unsigned_long_int_
test al, al
je 0x425e91
add esi, 4
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x425e60
mov eax, dword [esi]
push 0
push dword [ebp - 0x98]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_SHCopyKeyW]
test eax, eax
jne 0x425e8c
cmp dword [esi + 0x14], 8
jb 0x425e7c
mov esi, dword [esi]
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x425e8c
xor esi, esi
jmp 0x425e96
or esi, 0xffffffff
jmp 0x425e96
mov esi, 0xfffffffe
cmp byte [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
je 0x425ec6
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0x9c], 0
lea ecx, [ebp - 0x78]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x94]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475880
mov esp, ebp
pop ebp
ret