Function at 0x10082f40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x25c]
sub esp, 0x25c
push 0xfffffffffffffffe
push 0x1016ddb0
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x258], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp + 0x104], bl
push 0x103
push ebx
lea eax, [ebp + 0x105]
push eax
call fcn.10116880
add esp, 0xc
mov ecx, 0x13
mov esi, str.SOFTWAREMicroWorldeScan_for_WindowsManagementConsoleMMCManaged_Computers
lea edi, [ebp + 0x208]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov byte [0x101949b0], bl
lea ecx, [ebp - 0x20]
push ecx
push 8
push ebx
lea edx, [ebp + 0x208]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x10083174
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], 0x104
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x104]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10083111
mov byte [ebp], bl
push 0x103
push ebx
lea ecx, [ebp + 1]
push ecx
call fcn.10116880
add esp, 0xc
lea ecx, [ebp + 0x208]
lea edx, [ebp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x10083032
lea ecx, [ebp]
call fcn.10049c40
lea eax, [ebp + 0x104]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10083050
sub eax, edx
lea edi, [ebp]
dec edi
lea ecx, [ecx]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x10083060
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.Client_Computers
lea edx, [ebp + 0x104]
push edx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x10083154
push str.Group_Tasks
lea eax, [ebp + 0x104]
push eax
call fcn.1011c280
add esp, 8
test eax, eax
je 0x10083154
push str.Policies
lea ecx, [ebp + 0x104]
push ecx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x10083154
push str.Criteria
lea edx, [ebp + 0x104]
push edx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x10083154
push str.Administrator_Servers
lea eax, [ebp + 0x104]
push eax
call fcn.1011c280
add esp, 8
test eax, eax
je 0x10083154
lea ecx, [ebp + 0x104]
mov edx, 0x101949b0
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x10083107
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x101949b0
cmp byte [eax], bl
jne 0x10083174
mov edx, dword [str.Managed_Computers]
mov dword [eax], edx
mov ecx, dword [0x1015d9d4]
mov dword [eax + 4], ecx
mov edx, dword [0x1015d9d8]
mov dword [eax + 8], edx
mov ecx, dword [0x1015d9dc]
mov dword [eax + 0xc], ecx
mov dx, word [0x1015d9e0]
mov word [eax + 0x10], dx
jmp 0x10083174
inc dword [ebp - 0x1c]
jmp 0x10082fe8
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x258]
xor ecx, ebp
call fcn.1010d699
add ebp, 0x25c
mov esp, ebp
pop ebp
ret