Function at 0x100233c0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2183
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x101120a8]
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.XNewLookSch.dll_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.XNewLookSch.dll_public:_bool___thiscall_LRegEdit::OpenDir_class_LString_const___bool__struct_HKEY_____unsigned_long_int_
mov dword [ebp - 0x58], 0
test al, al
jne 0x10023496
cmp byte [ebp - 0x54], al
je 0x1002347c
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.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x4c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, 0xffffff9b
jmp 0x100235db
cmp byte [ebp - 0x54], 0
je 0x100234b0
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.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x4c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, dword [ebp - 0xa8]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x100234d1
mov eax, dword [eax]
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add dword [sym.XNewLookSch.dll_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.XNewLookSch.dll_public:_bool___thiscall_LRegEdit::OpenDir_class_LString_const___bool__struct_HKEY_____unsigned_long_int_
test al, al
je 0x10023591
add esi, 4
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10023560
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 0x1002358c
cmp dword [esi + 0x14], 8
jb 0x1002357c
mov esi, dword [esi]
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x1002358c
xor esi, esi
jmp 0x10023596
or esi, 0xffffffff
jmp 0x10023596
mov esi, 0xfffffffe
cmp byte [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
je 0x100235c6
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.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x94]
call sym.XNewLookSch.dll_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.1008bffe
mov esp, ebp
pop ebp
ret