Function at 0x1006cc30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e526
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x10112018]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x40], eax
cmp eax, ebx
ja 0x1006ccb2
xor eax, eax
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.1009acfd
mov esp, ebp
pop ebp
ret 8
xor ebx, ebx
mov eax, dword [esi + 4]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x58], 0x105
mov eax, dword [eax]
mov eax, dword [eax]
lea edx, [esp + 0x60]
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x1006ce50
mov eax, 1
add dword [esi + 8], eax
sub dword [ebp + 8], eax
cmp dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_], ebx
jne 0x1006cd26
call sym.ACE.dll_public:_static_class_ACE_Recursive_Thread_Mutex____cdecl_ACE_Static_Object_Lock::instance_void_
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_], ebx
jne 0x1006cd1f
mov dword [0x10115e5c], vtable.ACE_New_Allocator.0
mov dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_], 0x10115e5c
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_]
lea eax, [esp + 0x4c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1006cd47
sub eax, edx
push 1
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
call sym.ACE.dll_public:_void___thiscall_ACE_String_Base_char_::set_char_const___unsigned_int__bool_
mov dword [esp + 0x168], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x1006cdae
cmp dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_], ebx
jne 0x1006cda9
call sym.ACE.dll_public:_static_class_ACE_Recursive_Thread_Mutex____cdecl_ACE_Static_Object_Lock::instance_void_
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_], ebx
jne 0x1006cda2
mov dword [0x10115e5c], vtable.ACE_New_Allocator.0
mov dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_], 0x10115e5c
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
push 1
push ecx
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x44], bl
call sym.ACE.dll_public:_void___thiscall_ACE_String_Base_char_::set_char_const___unsigned_int__bool_
mov eax, 2
mov dword [esp + 0x3c], eax
mov byte [esp + 0x168], al
cmp dword [esp + 0x1c], ebx
je 0x1006cdff
cmp byte [esp + 0x24], bl
je 0x1006cdff
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push edi
call eax
mov edi, dword [esp + 0x48]
push edi
lea ebx, [esp + 0x2c]
call fcn.1006d6c0
test eax, eax
je 0x1006ce18
mov ecx, ebx
call fcn.1006d5c0
mov dword [esp + 0x168], 0xffffffff
cmp dword [esp + 0x30], 0
je 0x1006ce41
cmp byte [esp + 0x38], 0
je 0x1006ce41
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [esp + 0x34]
mov edx, dword [edx + 0x10]
push eax
call edx
cmp dword [ebp + 8], 0
ja 0x1006ccb0
jmp 0x1006cc86
mov eax, dword [esi + 4]
mov edx, dword [ebp + 8]
lea ecx, [eax + 0x1c]
mov dword [esi + 8], ebx
mov dword [eax + 0x28], ecx
xor eax, eax
cmp dword [esp + 0x40], edx
setne al
dec eax
jmp 0x1006cc88