Function at 0x1001654d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x7c8]
sub esp, 0x848
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x7c4], eax
push ebx
push esi
push edi
call fcn.10014d87
xor ebx, ebx
mov esi, 0x20019
push esi
push 0x1003b160
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.10025948
test eax, eax
jne 0x100165bd
push esi
push 0x1003b16c
push dword [ebp - 0x80]
lea ecx, [ebp - 0x74]
call fcn.10025948
lea ecx, [ebp - 0x68]
test eax, eax
jne 0x100165c0
push esi
push 0x1003b178
push dword [ebp - 0x74]
call fcn.10025948
test eax, eax
jne 0x100165bd
mov esi, 0x3ff
push esi
lea eax, [ebp + 0x3c5]
push ebx
push eax
mov dword [ebp - 0x5c], ebx
mov byte [ebp + 0x3c4], bl
call fcn.1001d760
push esi
lea eax, [ebp - 0x3b]
push ebx
push eax
mov byte [ebp - 0x3c], bl
call fcn.1001d760
add esp, 0x18
lea edi, [esi + 1]
push edi
lea eax, [ebp + 0x3c4]
push eax
push ebx
jmp 0x100165ac
lea eax, [ebp + 0x3c4]
mov dword [ebp - 0x58], ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10016495
sub eax, esi
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x58]
mov dl, byte [ebp + edx + 0x3c4]
cmp dl, 0x2e
je 0x100164b3
mov byte [ecx], dl
inc ecx
inc dword [ebp - 0x58]
cmp dword [ebp - 0x58], eax
jbe 0x100164a1
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x54], str.NODOTVERSION
call dword [sym.imp.kernel32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x100164e2
xor eax, eax
jmp 0x100164f9
lea eax, [esi + esi]
call fcn.1001e000
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.10025948
push 0x1003abac
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], str.CLSID_STRING
call dword [sym.imp.kernel32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x1001651d
xor eax, eax
jmp 0x10016535
lea eax, [esi + esi]
call fcn.1001e000
mov eax, esp
push 3
push esi
push 0x1003abac
push eax
call fcn.10025948
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call fcn.10025948
test eax, eax
je 0x10016559
lea eax, [ebp - 0x54]
push eax
push 1
push 0x67
push 0x100489f8
call fcn.1000d8ab
call fcn.10025948
test eax, eax
je 0x1001656a
cmp dword [ebp + 0x7d0], ebx
je 0x1001657c
lea eax, [ebp - 0x54]
push eax
push 1
push 0x68
push 0x100489f8
call fcn.1000d8ab
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
lea eax, [ebp + 0x3c4]
push ebx
push eax
call fcn.1001d760
push edi
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.1001d760
add esp, 0x18
inc dword [ebp - 0x5c]
push edi
lea eax, [ebp + 0x3c4]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x10016489
lea ecx, [ebp - 0x68]
call fcn.1000135a
lea ecx, [ebp - 0x74]
call fcn.1000135a
lea ecx, [ebp - 0x80]
call fcn.1000135a
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7c4]
xor ecx, ebp
call fcn.1001d742
add ebp, 0x7c8
leave
ret