Function at 0x72a6ff10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x54
mov eax, dword [str.PRTPROCS_]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x26], eax
mov eax, dword [0x72a7a922]
mov dword [ebp - 0x22], eax
mov eax, dword [0x72a7a926]
mov dword [ebp - 0x1e], eax
mov eax, dword [0x72a7a92a]
mov dword [ebp - 0x1a], eax
mov eax, dword [0x72a7a92e]
mov dword [ebp - 0x16], eax
movzx eax, word [0x72a7a932]
mov word [ebp - 0x12], ax
test byte [0x72a768f0], 8
jne 0x72a70020
mov eax, ebx
lea edx, [ebp - 0x2c]
call sym.__OpenEnvironment
mov ebx, eax
test eax, eax
je 0x72a6ffb0
test byte [0x72a768f0], 2
jne 0x72a70080
mov esi, dword [ebp - 0x2c]
xor edi, edi
test esi, esi
je 0x72a6ff94
mov dword [esp], esi
call sym._RegCloseKey_4
sub esp, 4
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 0x18
mov eax, dword [ebp - 0x2c]
lea edi, [ebp - 0x30]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Directory
mov dword [esp], eax
call sym._RegQueryValueExW_24
sub esp, 0x18
mov ebx, eax
test eax, eax
jne 0x72a70150
mov edx, dword [0x72a7c0c0]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x2c]
lea eax, [eax + edx*2 + 0x14]
mov dword [ecx], eax
cmp eax, dword [ebp + 0x18]
jbe 0x72a700c0
xor edi, edi
mov ebx, 0x7a
jmp 0x72a6ff85
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], str.LocalGetPrintProcessorDirectory__S___S___lu___p___lu___p__n
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], 0x283
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], str.LocalGetPrintProcessorDirectory
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], 0x72a7a691
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x72a768f0
mov dword [esp + 0x18], eax
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x72a6ff63
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str._OpenEnvironment_failed_with_error__lu__n
mov dword [esp + 0x10], 0x289
mov dword [esp + 0xc], str.LocalGetPrintProcessorDirectory
mov dword [esp + 8], 0x72a7a691
mov dword [esp + 4], 0x72a768f0
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x72a6ff80
mov eax, dword [0x72a7c0c0]
mov dword [esp + 4], 0x72a7c0e0
add eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sym._memmove
mov eax, dword [0x72a7c0c0]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x26]
lea eax, [ecx + eax*2]
mov dword [eax], edx
mov edx, dword [ebp - 0x22]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x1e]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x1a]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x16]
mov dword [eax + 0x10], edx
mov eax, dword [0x72a7c0c0]
mov dword [esp + 0x14], edi
lea eax, [ecx + eax*2 + 0x14]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.Directory
mov dword [esp], esi
call sym._RegQueryValueExW_24
sub esp, 0x18
mov ebx, eax
test eax, eax
jne 0x72a70180
mov esi, dword [ebp - 0x2c]
mov edi, 1
jmp 0x72a6ff85
test byte [0x72a768f0], 2
je 0x72a6ff80
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.RegQueryValueExW_failed_with_status__lu__n
mov dword [esp + 0x10], 0x291
jmp 0x72a70094
test byte [0x72a768f0], 2
je 0x72a6ff80
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.RegQueryValueExW_failed_with_status__lu__n
mov dword [esp + 0x10], 0x2a6
jmp 0x72a70094