Function at 0x1006c9b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e576
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x10112018]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], edi
cmp edi, ebx
ja 0x1006ca35
xor eax, eax
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.1009acfd
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [esi + 4]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x5c], 0x200
mov eax, dword [eax]
mov eax, dword [eax]
lea edx, [esp + 0x60]
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x1006cbd9
inc dword [esi + 8]
dec edi
mov dword [ebp + 8], edi
cmp dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_], ebx
jne 0x1006caa5
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 0x1006ca9e
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 + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1006cac6
sub eax, edx
push 1
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x24]
call sym.ACE.dll_public:_void___thiscall_ACE_String_Base_char_::set_char_const___unsigned_int__bool_
mov dword [esp + 0x260], ebx
mov edi, dword [esp + 0x18]
cmp edi, ebx
je 0x1006caf3
mov eax, edi
jmp 0x1006cb35
cmp dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_], ebx
jne 0x1006cb30
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 0x1006cb25
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 edi, dword [esp + 0x18]
mov eax, dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push 1
push ecx
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x48], bl
call sym.ACE.dll_public:_void___thiscall_ACE_String_Base_char_::set_char_const___unsigned_int__bool_
mov dword [esp + 0x40], 1
mov byte [esp + 0x260], 2
cmp dword [esp + 0x20], ebx
je 0x1006cb88
cmp byte [esp + 0x28], bl
je 0x1006cb88
mov ecx, dword [esp + 0x24]
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, edi
call edx
mov edi, dword [esp + 0x14]
push edi
lea ebx, [esp + 0x30]
call fcn.1006d6c0
test eax, eax
je 0x1006cba1
mov ecx, ebx
call fcn.1006d5c0
mov dword [esp + 0x260], 0xffffffff
cmp dword [esp + 0x34], 0
je 0x1006cbca
cmp byte [esp + 0x3c], 0
je 0x1006cbca
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 0x10]
push edx
call eax
cmp dword [ebp + 8], 0
ja 0x1006ca30
jmp 0x1006ca06
mov dword [esi + 8], ebx
cmp eax, 0x103
je 0x1006cbf4
mov esi, dword [esi + 4]
lea ecx, [esi + 0x1c]
mov dword [esi + 0x28], ecx
or eax, 0xffffffff
jmp 0x1006ca08
mov eax, dword [esi + 4]
lea edx, [eax + 0x10]
mov dword [eax + 0x28], edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x28]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
push edi
call edx
xor ecx, ecx
cmp dword [esp + 0x44], edi
setne cl
dec ecx
and eax, ecx
jmp 0x1006ca08