Function at 0x443350
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x443358
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x443687
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x443608
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor ecx, ecx
mov edx, 0x4436a4
mov eax, dword [ebp - 0x14]
call fcn.0043ef78
mov esi, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov ecx, dword [ecx]
mov edx, 0x4436c0
mov eax, dword [ebp - 0x14]
call fcn.0043efec
xor ecx, ecx
mov edx, 0x4436d4
mov eax, dword [ebp - 0x14]
call fcn.0043ef78
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00443824
mov edi, eax
cmp esi, 5
ja case.0x4433d8.0
jmp dword [esi*4 + 0x4433df]
push 0
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
mov edx, eax
lea eax, [ebp - 0x24]
call sub.rtl160.bpl__System__UStrFromPWChar_qqrr20System_UnicodeStringpb
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, edi
call sub.AxComponentsRTL.bpl__Auslogics_Winapi_Advapi32_AdvApi32_RegDeleteKeyEx_qqrp6HKEY__x20System_UnicodeStringuiui
test eax, eax
je case.0x4433d8.0
cmp eax, 2
je case.0x4433d8.0
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 eax
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.00443114
jmp case.0x4433d8.0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 0x20]
or eax, 0xf003f
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push edi
call sub.advapi32.dll_RegCreateKeyExW
test eax, eax
jne 0x44348d
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
jmp case.0x4433d8.0
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 eax
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.00443114
jmp case.0x4433d8.0
lea eax, [ebp - 8]
push eax
mov ecx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov ecx, dword [ecx]
mov edx, 0x4436f0
mov eax, dword [ebp - 0x14]
call fcn.0043efec
mov eax, dword [ebp - 8]
mov edx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov edx, dword [edx]
call sub.rtl160.bpl__System__UStrEqual_qqrv
je case.0x4433d8.0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
or eax, 0xf003f
push eax
push 0
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x44356f
xor edx, edx
push ebp
push 0x443568
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegDeleteValueW
test eax, eax
je 0x443551
cmp eax, 2
je 0x443551
mov edx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov edx, dword [edx]
push edx
mov edx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov edx, dword [edx]
push edx
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00443114
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push case.0x4433d8.0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
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 eax
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.00443114
jmp case.0x4433d8.0
lea eax, [ebp - 8]
push eax
mov ecx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov ecx, dword [ecx]
mov edx, 0x4436f0
mov eax, dword [ebp - 0x14]
call fcn.0043efec
xor ecx, ecx
mov edx, 0x443708
mov eax, dword [ebp - 0x14]
call fcn.0043ef78
mov esi, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov ecx, dword [ecx]
mov edx, 0x443728
mov eax, dword [ebp - 0x14]
call fcn.0043efec
mov eax, dword [ebp - 8]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push esi
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
mov ecx, eax
mov edx, edi
mov eax, ebx
call fcn.004455b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x443664
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44368e
lea eax, [ebp - 0x24]
call sub.rtl160.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x10]
mov edx, 4
call sub.rtl160.bpl__System__UStrArrayClr_qqrpvi
ret