Function at 0x10009a7c
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
neg esi
lea eax, [ebp - 0x104]
sbb esi, esi
push str.SOFTWAREPublic_DomainBlat
push eax
mov dword [ebp - 4], edi
add esi, 0x80000002
call sub.MSVCRT.dll_strcpy
mov ebx, dword [ebp + 8]
push 0x50017b54
push ebx
call fcn.100123a8
add esp, 0x10
test eax, eax
jne 0x10009b69
lea eax, [ebp - 4]
push eax
push 0xf003f
push edi
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
je 0x10009afc
cmp byte [0x10023708], 0
jne 0x10009ca3
push str.Error_in_finding_blat_default_profile_in_the_registry_n
call sub.MSVCRT.dll_printf
jmp 0x10009ca2
xor ebx, ebx
mov esi, 0x10024570
push edi
push edi
push edi
push edi
lea eax, [ebp + 0xc]
push eax
push esi
push ebx
push dword [ebp - 4]
mov dword [ebp + 0xc], 0x101
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
inc ebx
cmp eax, 0x103
je 0x10009b59
cmp eax, edi
jne 0x10009b59
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, edi
jne 0x10009b3a
dec ebx
jmp 0x10009b03
cmp byte [0x10023708], 0
jne 0x10009b72
push dword [ebp + 8]
push str.Error_in_deleting_profile__s_in_the_registry_n
call sub.MSVCRT.dll_printf
pop ecx
pop ecx
push 0xb
jmp 0x10009ca5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, edx
pop edi
pop esi
pop ebx
leave
ret
push str._all_
push ebx
call fcn.100123a8
add byte [eax], al
test eax, eax
pop ecx
pop ecx
jne 0x10009c02
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.1000998c
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
mov ebx, 0x200f003f
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x104]
push esp
push esi
call edi
test eax, eax
jne 0x10009b62
push 0x10016317
push dword [ebp - 4]
call dword [0x10683010]
jg 0x10009c31
cld
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x104]
push 0x5c
push eax
call sub.MSVCRT.dll_strrchr
pop ecx
pop ecx
mov byte [eax], 0
lea eax, [ebp - 4]
push eax
push ebx
push 0
lea eax, [ebp - 0x104]
push eax
push esi
call edi
test eax, eax
jne 0x10009b62
push 0x10016317
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x10009b59
cmp byte [ebx], 0
je 0x10009b62
lea eax, [ebp - 0x104]
push 0x10017810
inc eax
call fcn.100123b4
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.100123b4
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.1000998c
add esp, 0x18
test eax, eax
je 0x10009c50
cmp byte [0x10023708], 0
jne 0x10009b52
push ebx
jmp 0x10009b46
lea eax, [ebp - 4]
push eax
push 0xf003f
lea ecx, [ebp - 0x1037b]
call dword [eax + 0x56]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x10009c8d
push 0x10016317
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 4]
retf
invalid
adc al, 0x30
add dword [eax], edx
jnp 0x10009c7e
je 0x10009b62
cmp byte [ebp + 8], 0x37
add dl, byte [eax]
add byte [ebp + 0xd], dh
push ebx
js 0x10009c81
jp 0x10009c9c
adc al, ch
xor dword [edi + 0x59590000], eax
call sub.MSVCRT.dll_printf
pop ecx
pop ecx
push 0xa
pop eax
jmp 0x10009b64