Function at 0x72a6fa90
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test byte [0x72a768f0], 8
jne 0x72a6fb30
cmp ebx, 1
jne 0x72a6fb10
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x72a6fc20
test esi, esi
je 0x72a6fc20
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x18]
xor edi, edi
call sym.__OpenEnvironment
mov ebx, eax
test eax, eax
je 0x72a6fbc0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x72a6faf7
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x72a6fb17
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
jmp 0x72a6fb17
mov ebx, 0x7c
xor edi, edi
mov dword [esp], ebx
call sym._SetLastError_4
mov eax, edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], str.LocalEnumPrintProcessors__S___S___lu___p___lu___p___p__n
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], 0x1e5
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], str.LocalEnumPrintProcessors
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0x72a7a691
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0x72a768f0
mov dword [esp], 3
call sym._ros_dbg_log
cmp ebx, 1
jne 0x72a6fbb0
test esi, esi
je 0x72a6fba3
mov edx, dword [ebp + 0x20]
test edx, edx
jne 0x72a6face
xor edi, edi
mov ebx, 0x57
jmp 0x72a6fae5
xor edi, edi
mov ebx, 0x7c
jmp 0x72a6fae5
lea eax, [ebp - 0x14]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], 0
mov dword [esp + 4], str.Print_Processors
mov dword [esp], eax
call sym._RegOpenKeyExW_20
sub esp, 0x14
mov ebx, eax
test eax, eax
je 0x72a6fc30
test byte [0x72a768f0], 2
je 0x72a6fae5
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.RegOpenKeyExW_failed_with_status__lu__n
mov dword [esp + 0x10], 0x1ff
jmp 0x72a6fcbb
xor edi, edi
mov ebx, 0x57
jmp 0x72a6faf7
lea eax, [ebp - 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._RegQueryInfoKeyW_48
sub esp, 0x30
mov ebx, eax
test eax, eax
je 0x72a6fce4
test byte [0x72a768f0], 2
je 0x72a6fae5
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.RegQueryInfoKeyW_failed_with_status__lu__n
mov dword [esp + 0x10], 0x207
mov dword [esp + 0xc], str.LocalEnumPrintProcessors
mov dword [esp + 8], 0x72a7a691
mov dword [esp + 4], 0x72a768f0
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x72a6fae5
mov eax, dword [ebp - 0x24]
lea eax, [eax + eax + 2]
mov dword [esp], eax
call sym._DllAllocSplMem_4
sub esp, 4
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x72a6fe83
mov eax, dword [ebp - 0x1c]
mov dword [esi], 0
test eax, eax
je 0x72a6fece
xor edi, edi
jmp 0x72a6fd35
mov eax, dword [esi]
mov ecx, dword [ebp - 0x20]
add edi, 1
lea ecx, [eax + ecx*2 + 6]
mov eax, dword [ebp - 0x1c]
mov dword [esi], ecx
cmp eax, edi
jbe 0x72a6fdb0
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
add eax, 1
mov dword [esp + 0x14], 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._RegEnumKeyExW_32
sub esp, 0x20
mov ebx, eax
test eax, eax
je 0x72a6fd20
xor edi, edi
test byte [0x72a768f0], 2
jne 0x72a6feeb
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._DllFreeSplMem_4
sub esp, 4
jmp 0x72a6fae5
cmp ecx, dword [ebp + 0x18]
ja 0x72a6fedf
mov edx, dword [ebp + 0x14]
lea esi, [edx + eax*4]
test eax, eax
jne 0x72a6fdeb
jmp 0x72a6fece
mov eax, dword [ebp + 0x14]
mov dword [eax + ebx*4], esi
mov eax, dword [ebp - 0x20]
add ebx, 1
lea esi, [esi + eax*2 + 2]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jbe 0x72a6fece
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
add eax, 1
mov dword [esp + 0x14], 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x10], 0
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._RegEnumKeyExW_32
sub esp, 0x20
test eax, eax
je 0x72a6fdd0
mov ebx, eax
xor edi, edi
test byte [0x72a768f0], 2
je 0x72a6fd93
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.RegEnumKeyExW_failed_with_status__lu__n
mov dword [esp + 0x10], 0x23b
mov dword [esp + 0xc], str.LocalEnumPrintProcessors
mov dword [esp + 8], 0x72a7a691
mov dword [esp + 4], 0x72a768f0
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x72a6fd93
mov ebx, 8
test byte [0x72a768f0], 2
je 0x72a6fae5
mov dword [esp + 0x14], 0x72a7a640
mov dword [esp + 0x10], 0x210
mov dword [esp + 0xc], str.LocalEnumPrintProcessors
mov dword [esp + 8], 0x72a7a691
mov dword [esp + 4], 0x72a768f0
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x72a6fae5
mov edx, dword [ebp + 0x20]
xor ebx, ebx
mov edi, 1
mov dword [edx], eax
jmp 0x72a6fd93
xor edi, edi
mov ebx, 0x7a
jmp 0x72a6fd93
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.RegEnumKeyExW_failed_with_status__lu__n
mov dword [esp + 0x10], 0x21f
jmp 0x72a6fe5a