Function at 0x10094b8
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x100e6d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x210], eax
mov al, byte [0x10011dc]
push 0x103
mov byte [ebp - 0x1f4], al
xor ebx, ebx
lea eax, [ebp - 0x1f3]
push ebx
push eax
mov dword [ebp - 0x200], 0x64
call fcn.0100b214
add esp, 0xc
push 8
pop ecx
mov esi, 0x1006864
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x204]
push eax
push 9
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x80000002
mov dword [ebp - 0x214], 0x104
mov dword [ebp - 0x1fc], ebx
movsw word es:[edi], word [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1009551
xor eax, eax
jmp 0x100970f
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x1fc]
push eax
push ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f4]
push eax
push dword [ebp - 0x204]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [ebp - 0x1f8]
mov esi, dword [sym.imp.msvcrt.dll_malloc]
mov dword [ecx], eax
shl eax, 2
push eax
call esi
xor edi, edi
cmp dword [ebp - 0x1fc], ebx
pop ecx
mov dword [ebp - 0x1f8], eax
jle 0x10095e6
push 0x64
call esi
pop ecx
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [ebp - 0x1fc]
jl 0x10095cf
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x8c]
push eax
push ebx
push dword [ebp - 0x204]
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x200], 0x64
mov dword [ebp - 0x208], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edi, 0x103
jmp 0x10096e7
cmp byte [ebp - 0x8c], bl
je 0x10096b3
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.msvcrt.dll__mbsupr]
pop ecx
xor esi, esi
mov eax, dword [esi*4 + 0x100d840]
lea edx, [ebp - 0xf0]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x1009650
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.msvcrt.dll__mbsupr]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.msvcrt.dll__mbsstr]
add esp, 0xc
test eax, eax
jne 0x100968d
inc esi
cmp esi, 0x308
jb 0x1009641
jmp 0x10096b3
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ebp - 0x208]
mov eax, dword [esi*4 + 0x100d840]
mov esi, dword [ecx + edx*4]
mov cl, byte [eax]
inc eax
mov byte [esi], cl
inc esi
cmp cl, bl
jne 0x10096a3
inc dword [ebp - 0x208]
inc dword [ebp - 0x20c]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x20c]
mov dword [ebp - 0x200], 0x64
push dword [ebp - 0x204]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, edi
jne 0x1009625
push dword [ebp - 0x204]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x208]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100b1ff
leave
ret 8