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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10009f3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x574
mov dword [ebp - 0x574], 0
mov dword [ebp - 4], 1
push 0x100fd6e0
lea ecx, [ebp - 0x12c]
call fcn.10008f9c
mov byte [ebp - 4], 2
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x13c], 0
push 0x100fd6e4
lea ecx, [ebp - 0x124]
call fcn.10008f9c
mov byte [ebp - 4], 3
push 0x100fd6e8
lea ecx, [ebp - 0x138]
call fcn.10008f9c
mov byte [ebp - 4], 4
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x14], 0
push 0x100fd6ec
lea ecx, [ebp - 0x35c]
call fcn.10008f9c
mov byte [ebp - 4], 5
push 0x100fd6f0
lea ecx, [ebp - 0x10]
call fcn.10008f9c
mov byte [ebp - 4], 6
push 0x100fd6f4
push 0x100fa6b0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::Replace
mov eax, dword [ebp + 0xc]
push eax
push str._s_samSAMDomainsAccountUsersNames
lea ecx, [ebp - 0x10]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.10007960
push eax
lea edx, [ebp - 0x354]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x24c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x354]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x10006caa
lea edx, [ebp - 0x12c]
push edx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp - 0x574]
or al, 1
mov dword [ebp - 0x574], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x35c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x124]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
jmp 0x10006efb
mov ecx, 1
test ecx, ecx
je 0x10006e87
mov dword [ebp - 0x134], 0x104
lea edx, [ebp - 0x144]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x358]
mov dword [ebp - 0x578], edx
mov eax, dword [ebp - 0x578]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x358]
add edx, 1
mov dword [ebp - 0x358], edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x10006d2c
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10006e87
lea ecx, [ebp - 0x354]
push ecx
lea edx, [ebp - 0x118]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x100fa6dc
lea eax, [ebp - 0x118]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x118]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x118]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x10006dad
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10006e87
mov dword [ebp - 0x568], 0x104
mov dword [ebp - 0x56c], 0x104
lea eax, [ebp - 0x56c]
push eax
lea ecx, [ebp - 0x460]
push ecx
lea edx, [ebp - 0x120]
push edx
push 0
lea eax, [ebp - 0x568]
push eax
lea ecx, [ebp - 0x564]
push ecx
push 0
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x570]
push ecx
call fcn.100068f8
add esp, 8
mov dword [ebp - 0x57c], eax
mov edx, dword [ebp - 0x57c]
mov dword [ebp - 0x580], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x580]
push eax
lea ecx, [ebp - 0x124]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x570]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x124]
push edx
call fcn.10007b70
and eax, 0xff
test eax, eax
je 0x10006e82
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x12c]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CString::operator_1
jmp 0x10006caa
lea edx, [ebp - 0x12c]
push edx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp - 0x574]
or al, 1
mov dword [ebp - 0x574], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x35c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x124]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret