Function at 0x5272c0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x268
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
mov ebp, dword [esp + 0x274]
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x21]
push ebx
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x28], bl
call fcn.005dfd60
mov ecx, 0x13
mov esi, str.SOFTWAREMicroWorldeScan_for_WindowsManagementConsoleMMCManaged_Computers
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 8
push ebx
lea edx, [esp + 0x12c]
push edx
movsw word es:[edi], word [esi]
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5274c5
mov edx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
push edx
xor ebp, ebp
mov dword [esp + 0x38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x527486
jmp 0x527370
push 0x103
lea eax, [esp + 0x175]
push ebx
push eax
mov byte [esp + 0x17c], bl
call fcn.005dfd60
add esp, 0xc
xor eax, eax
nop
mov cl, byte [esp + eax + 0x120]
mov byte [esp + eax + 0x170], cl
inc eax
cmp cl, bl
jne 0x527390
lea ecx, [esp + 0x170]
push ecx
call fcn.004e24e0
lea eax, [esp + 0x20]
add esp, 4
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5273c0
lea edi, [esp + 0x170]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x5273d1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x1c]
and ecx, 3
push 0x64f600
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.005f095a
add esp, 8
test eax, eax
je 0x52745b
lea eax, [esp + 0x1c]
push str.Group_Tasks
push eax
call fcn.005f095a
add esp, 8
test eax, eax
je 0x52745b
lea ecx, [esp + 0x1c]
push str.Policies
push ecx
call fcn.005f095a
add esp, 8
test eax, eax
je 0x52745b
lea edx, [esp + 0x1c]
push str.Criteria
push edx
call fcn.005f095a
add esp, 8
test eax, eax
je 0x52745b
lea eax, [esp + 0x1c]
push str.Administrator_Servers
push eax
call fcn.005f095a
add esp, 8
test eax, eax
jne 0x5274de
mov eax, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
inc ebp
push ebp
push eax
mov dword [esp + 0x38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x527370
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esi], bl
jne 0x5274c5
mov eax, dword [str.Managed_Computers]
mov dword [esi], eax
mov ecx, dword [0x64f5b4]
mov dword [esi + 4], ecx
mov edx, dword [0x64f5b8]
mov dword [esi + 8], edx
mov eax, dword [0x64f5bc]
mov dword [esi + 0xc], eax
mov cx, word [0x64f5c0]
mov word [esi + 0x10], cx
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0x268
ret
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x5274f0
jmp 0x52748a