Function at 0x443da8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd14
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl170.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x443fb3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x443dea
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x443fcc
call sub.rtl170.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
jmp 0x443dfa
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x444014
call sub.rtl170.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0xc]
call sub.rtl170.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x443f95
cmp byte [ebp - 5], 0
je 0x443e41
mov eax, dword [ebp - 4]
call sub.rtl170.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
mov edx, eax
lea eax, [ebp - 0xea]
call sub.rtl170.bpl__System_Sysutils_StrCopy_qqrpbpxb
mov byte [ebp - 0x19], 1
jmp 0x443e6b
mov dword [ebp - 0x14], 0xc8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xea]
push eax
push 0
push 0
push 0x444038
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
sete byte [ebp - 0x19]
cmp byte [ebp - 0x19], 0
je 0x443f8c
mov dword [ebp - 0x14], 0x1fe
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2ea]
push eax
push 0
push 0
push 0x44405c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x443f8c
mov byte [ebp - 0x1a], 0
mov eax, dword [0x5e5794]
call sub.rtl170.bpl__System__DynArrayLength_qqrpxv
dec eax
test eax, eax
jl 0x443ef1
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*2]
mov edx, dword [0x5e5794]
mov eax, dword [edx + eax*4 + 4]
call sub.rtl170.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
lea edx, [ebp - 0xea]
call sub.rtl170.bpl__System_Sysutils_AnsiStrIComp_qqrpbt1
test eax, eax
jne 0x443ee9
mov byte [ebp - 0x1a], 1
jmp 0x443ef1
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x443ebf
cmp byte [ebp - 0x1a], 0
jne 0x443f8c
mov eax, dword [0x5e5794]
call sub.rtl170.bpl__System__DynArrayLength_qqrpxv
inc eax
push eax
mov eax, 0x5e5794
mov ecx, 1
mov edx, dword [0x443024]
call sub.rtl170.bpl__System__DynArraySetLength_qqrv
add esp, 4
mov eax, dword [0x5e5794]
call sub.rtl170.bpl__System__DynArrayLength_qqrpxv
lea eax, [eax + eax*2]
mov edx, dword [0x5e5794]
lea eax, [edx + eax*4 - 0xc]
mov edx, dword [ebp - 4]
call sub.rtl170.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [0x5e5794]
call sub.rtl170.bpl__System__DynArrayLength_qqrpxv
lea eax, [eax + eax*2]
mov edx, dword [0x5e5794]
lea eax, [edx + eax*4 - 8]
lea edx, [ebp - 0xea]
mov ecx, 0x65
call sub.rtl170.bpl__System__UStrFromWArray_qqrr20System_UnicodeStringpbi
mov eax, dword [0x5e5794]
call sub.rtl170.bpl__System__DynArrayLength_qqrpxv
lea eax, [eax + eax*2]
mov edx, dword [0x5e5794]
lea eax, [edx + eax*4 - 4]
lea edx, [ebp - 0x2ea]
mov ecx, pe_nt_image_headers32
call sub.rtl170.bpl__System__UStrFromWArray_qqrr20System_UnicodeStringpbi
mov eax, dword [ebp - 0x10]
push eax