Function at 0x1006ac10
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x140
mov eax, 0x100a8fea
call fcn.1009cc24
mov dword [ebp - 0x128], edx
mov esi, ecx
mov dword [ebp - 0x124], esi
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
test edx, edx
je 0x1006af92
mov edx, 0x100af39c
call fcn.1001e938
test eax, eax
jne 0x1006af92
lea eax, [ebp - 0x12c]
push eax
push 0x100bf4f8
push ecx
mov ecx, 0x100af3bc
call fcn.1006ba2b
test eax, eax
js 0x1006af92
mov eax, dword [ebp - 0x128]
jmp 0x1006ace9
lea edi, [ebp - 0x120]
mov esi, dword [eax + 4]
lea edx, [ebp - 0x120]
push edx
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 8], ebx
je 0x1006acbd
cmp dword [eax], 1
mov eax, dword [ebp - 0x12c]
push dword [ebp - 0x124]
push eax
mov ecx, dword [eax]
jne 0x1006acaa
call dword [ecx + 0x14]
jmp 0x1006acad
call dword [ecx + 0x1c]
test eax, eax
js 0x1006af94
mov esi, dword [ebp - 0x124]
jmp 0x1006acda
cmp dword [eax], 1
mov eax, dword [ebp - 0x12c]
mov esi, dword [ebp - 0x124]
push esi
push eax
mov ecx, dword [eax]
jne 0x1006acd7
call dword [ecx + 0x18]
jmp 0x1006acda
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x128]
add eax, 8
mov dword [ebp - 0x128], eax
cmp dword [eax], ebx
jne 0x1006ac76
cmp dword [ebp + 8], ebx
jne 0x1006af96
push 0x40
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x1006ad12
push 0xd
pop eax
jmp 0x1006af94
lea edx, [ebp - 0x110]
mov dword [ebp - 0x140], ebx
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x1006ad21
sub edx, ecx
sar edx, 1
inc edx
push ecx
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x128], edx
call fcn.1006c7b5
test eax, eax
js 0x1006af85
mov esi, dword [ebp - 0x128]
cmp esi, 0x400
jg 0x1006ad6f
mov ecx, esi
call fcn.1006c818
test al, al
je 0x1006ad6f
mov eax, esi
call fcn.1009cd15
mov eax, esp
jmp 0x1006ad7b
push esi
lea ecx, [ebp - 0x140]
call fcn.1006ba2b
push 3
push esi
lea edx, [ebp - 0x110]
mov ecx, eax
call fcn.1006ba2b
mov edi, eax
mov dword [ebp - 0x130], edi
test edi, edi
je 0x1006af85
push str.CLSID_
lea eax, [ebp - 0x90]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
mov ecx, eax
call fcn.1006cdee
push edi
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea eax, [ebp - 0x90]
push 0x80
push eax
call edi
add esp, 0xc
mov ecx, eax
call fcn.1006cdee
push 0x100bf508
lea eax, [ebp - 0x90]
push 0x80
push eax
call edi
add esp, 0xc
mov ecx, eax
call fcn.1006cdee
push 0x20019
lea eax, [ebp - 0x90]
mov dword [ebp - 0x148], ebx
mov ecx, 0x80000000
mov dword [ebp - 0x144], ebx
push eax
mov dword [ebp - 0x14c], ecx
push ecx
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x124], ebx
call fcn.1006ba2b
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1006aea4
push ebx
mov esi, dword [ebp - 0x13c]
lea eax, [ebp - 0x124]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0x128], eax
test esi, esi
je 0x1006ae80
push esi
call edi
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], ebx
test eax, eax
jne 0x1006aea4
cmp dword [ebp - 0x124], ebx
jne 0x1006aea4
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x14c]
call fcn.1006ba2b
push str.CLSID_
lea eax, [ebp - 0x90]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
mov ecx, eax
call fcn.1006cdee
push dword [ebp - 0x130]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea eax, [ebp - 0x90]
push 0x80
push eax
call esi
add esp, 0xc
mov ecx, eax
call fcn.1006cdee
push str.Implemented_Categories
lea eax, [ebp - 0x90]
push 0x80
push eax
call esi
add esp, 0xc
mov ecx, eax
call fcn.1006cdee
push 0x20019
lea eax, [ebp - 0x90]
push eax
push 0x80000000
lea ecx, [ebp - 0x13c]
call fcn.1006ba2b
mov esi, dword [ebp - 0x13c]
test eax, eax
jne 0x1006af77
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x124]
push eax
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0x130], eax
test esi, esi
je 0x1006af59
push esi
call edi
mov eax, dword [ebp - 0x130]
mov esi, ebx
test eax, eax
jne 0x1006af77
cmp dword [ebp - 0x124], ebx
jne 0x1006af77
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x14c]
call fcn.1006ba2b
test esi, esi
je 0x1006af7e
push esi
call edi
push 0x80000000
call edi
lea ecx, [ebp - 0x140]
call fcn.1006c79b
jmp 0x1006af96
mov eax, ebx
mov ebx, eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x12c]
test ecx, ecx
je 0x1006afad
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
lea esp, [ebp - 0x15c]
call fcn.1009cbd6
ret 4