Function at 0x1009de00
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100b97bb
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x15c
cmp eax, 0x80000001
push ebx
push edi
je 0x1009de48
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
je 0x1009de48
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
add esp, 0x168
ret
mov al, byte [0x100f029c]
mov ecx, 0x40
mov byte [esp + 0x60], al
xor eax, eax
lea edi, [esp + 0x61]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x178]
mov dword [esp + 0x28], 0x104
cmp eax, ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
jne 0x1009de97
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
add esp, 0x168
ret
push ebp
push esi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov edx, dword [esp + 0x17c]
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
mov ebp, eax
push str.SoftwareOpen_Executive_4International
push edx
mov dword [esp + 0x38], ebp
xor esi, esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1009dff7
lea eax, [esp + 0x60]
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x50]
push ebx
lea eax, [esp + 0x8c]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, ebx
jne 0x1009dfdf
mov edx, dword [esp + 0x1c]
push edx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
je 0x1009dfdf
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, ebx
jbe 0x1009dfdf
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x24], eax
push esi
push edx
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x14
mov byte [esp + 0x58], bl
push ebx
lea ecx, [esp + 0x5c]
mov byte [esi], bl
mov edx, dword [esp + 0x28]
push eax
push ecx
push edi
push edx
call ebp
mov eax, dword [esp + 0x180]
lea ecx, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1009dfce
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push edx
push esi
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x184]
push eax
mov dword [esp + 0x178], ebx
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov dword [esp + 0x174], 0xffffffff
call fcn.100ae920
inc dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jb 0x1009df45
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x1009dff7
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebp
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, 1
mov ecx, dword [esp + 0x16c]
pop esi
pop ebp
pop edi
pop ebx
sete al
mov dword fs:[0], ecx
add esp, 0x168
ret