Function at 0x446704
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x44670d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x44696e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call sub.rtl160.bpl__System_Sysutils_IntToStr_qqrj
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea eax, [ebp - 0x28]
mov edx, edi
call sub.rtl160.bpl__System__UStrFromPWChar_qqrr20System_UnicodeStringpb
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call sub.rtl160.bpl__System_Sysutils_IntToStr_qqrj
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea eax, [ebp - 0x20]
push eax
push 2
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System_TObject_ClassType_qqrv
push eax
mov eax, dword [0x463cbc]
mov eax, dword [eax]
mov ecx, 0x44698c
mov dl, 3
call fcn.004082b8
xor ecx, ecx
push ebp
push 0x44694c
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor eax, eax
mov dword [ebp - 8], eax
xor ecx, ecx
push ebp
push 0x4468e4
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
je 0x44686d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0
jne 0x44686d
mov eax, dword [ebp - 4]
call fcn.00447a14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x44686d
mov eax, dword [ebp - 8]
cmp byte [eax + 0x10], 0
je 0x446803
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call sub.rtl160.bpl__System__TryFinallyExit_qqrv
jmp 0x446953
mov ecx, 1
mov edx, 0x4469bc
mov eax, dword [ebp - 8]
call fcn.00441780
lea ecx, [ebp - 0x34]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00445c4c
push dword [ebp - 0x34]
push 0x4469d8
lea eax, [ebp - 0x38]
mov edx, edi
call sub.rtl160.bpl__System__UStrFromPWChar_qqrr20System_UnicodeStringpb
push dword [ebp - 0x38]
lea eax, [ebp - 0x30]
mov edx, 3
call sub.rtl160.bpl__System__UStrCatN_qqrv
mov ecx, dword [ebp - 0x30]
mov edx, 0x4469e8
mov eax, dword [ebp - 8]
call fcn.004417d8
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00445a4c
mov ecx, eax
mov edx, 0x4469fc
mov eax, dword [ebp - 8]
call fcn.00441780
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
mov edx, edi
call sub.rtl160.bpl__System__UStrFromPWChar_qqrr20System_UnicodeStringpb
mov edx, dword [ebp - 0x3c]
mov ecx, ebx
mov eax, esi
call sub.AxComponentsRTL.bpl__Auslogics_Winapi_Advapi32_AdvApi32_RegDeleteKeyEx_qqrp6HKEY__x20System_UnicodeStringuiui
mov ebx, eax
test ebx, ebx
je 0x446896
push edi
push esi
call sub.shlwapi.dll_SHDeleteKeyW
mov ebx, eax
test ebx, ebx
je 0x4468da
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
mov edx, edi
call sub.rtl160.bpl__System__UStrFromPWChar_qqrr20System_UnicodeStringpb
mov ecx, dword [ebp - 0x44]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00445e38
mov eax, dword [ebp - 0x40]
mov edx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov edx, dword [edx]
mov ecx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov ecx, dword [ecx]
push ecx
mov ecx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov ecx, dword [ecx]
push ecx
push ebx
xor ecx, ecx
call fcn.00445344
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44691f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446953
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System_TObject_ClassType_qqrv
push eax
mov ecx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov ecx, dword [ecx]
mov eax, dword [0x463cbc]
mov eax, dword [eax]
mov dl, 3
call fcn.00408450
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446975
lea eax, [ebp - 0x44]
mov edx, 9
call sub.rtl160.bpl__System__UStrArrayClr_qqrpvi
ret