Function at 0x1008f8b
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x10191f4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x220], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push 0x10
call dword [sym.imp.COMCTL32.dll_DPA_CreateEx]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x214], eax
je 0x10094a6
push esi
mov esi, dword [0x1019060]
push edi
push 1
mov dword [ebp - 0x208], esi
call fcn.010050ae
push ebx
push ebx
push 0xb
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push ebx
push 9
mov edi, 0x110a
push edi
push dword [ebp - 0x208]
call esi
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x204]
push ebx
mov dword [ebp - 0x274], 1
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], 0x100
mov dword [ebp - 0x248], 0x48
mov dword [ebp - 0x23c], ebx
push ebx
push edi
push dword [ebp - 0x208]
call esi
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x248]
push eax
push ebx
push 0x113e
push dword [ebp - 0x208]
call esi
push ebx
push 0x100
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x244]
push dword [ebp - 0x208]
call fcn.01008402
test byte [ebp - 0x240], 0x20
mov dword [ebp - 0x218], eax
je 0x10093d5
cmp eax, ebx
je 0x10093c8
lea ecx, [ebp - 0x21c]
push ecx
push 8
push ebx
lea ecx, [ebp - 0x204]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10093c8
push dword [ebp - 0x244]
push ebx
push 0x1113
push dword [ebp - 0x208]
call esi
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0xff
sub ecx, eax
push ecx
lea eax, [ebp - 0x204]
push eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x20c], ebx
push ebx
jmp 0x1009139
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x210], ebx
call dword [sym.imp.COMCTL32.dll_Str_SetPtrW]
push dword [ebp - 0x210]
push dword [ebp - 0x20c]
push dword [ebp - 0x214]
call dword [sym.imp.COMCTL32.dll_DPA_InsertPtr]
push dword [ebp - 0x218]
inc dword [ebp - 0x20c]
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10090ee
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 0x10080b8
push dword [ebp - 0x214]
call dword [sym.imp.COMCTL32.dll_DPA_Sort]
cmp dword [ebp - 0x20c], ebx
jne 0x100919e
push dword [ebp - 0x214]
call dword [sym.imp.COMCTL32.dll_DPA_DeleteAllPtrs]
push dword [ebp - 0x244]
push 0x8001
push 0x1102
push dword [ebp - 0x208]
call esi
mov dword [ebp - 0x228], ebx
jmp 0x1009409
push dword [ebp - 0x244]
dec dword [ebp - 0x20c]
mov eax, dword [ebp - 0x214]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x20c]
mov eax, dword [eax + ecx*4]
push 4
push edi
push dword [ebp - 0x208]
mov dword [ebp - 0x210], eax
call esi
cmp eax, ebx
mov dword [ebp - 0x270], eax
je 0x10091ec
lea eax, [ebp - 0x274]
push eax
push ebx
push 0x113e
push dword [ebp - 0x208]
call esi
cmp dword [ebp - 0x20c], ebx
jl 0x1009379
cmp dword [ebp - 0x270], ebx
je 0x100930e
push dword [ebp - 0x210]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x100924d
push dword [ebp - 0x270]
push 1
push edi
push dword [ebp - 0x208]
call esi
cmp eax, ebx
mov dword [ebp - 0x270], eax
je 0x100927e
lea eax, [ebp - 0x274]
push eax
push ebx
push 0x113e
push dword [ebp - 0x208]
call esi
jmp 0x100927e
jle 0x10092b5
push ebx
push dword [ebp - 0x210]
push dword [ebp - 0x21c]
call fcn.01008191
push eax
push dword [ebp - 0x210]
push 0xffff0003
push dword [ebp - 0x244]
push dword [ebp - 0x208]
call fcn.01008139
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.COMCTL32.dll_Str_SetPtrW]
dec dword [ebp - 0x20c]
js 0x1009379
mov eax, dword [ebp - 0x214]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x20c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x210], eax
jmp 0x10091f8
push dword [ebp - 0x270]
push 1
push edi
push dword [ebp - 0x208]
call esi
push dword [ebp - 0x270]
mov dword [ebp - 0x218], eax
push ebx
push 0x1101
push dword [ebp - 0x208]
call esi
mov eax, dword [ebp - 0x218]
cmp eax, ebx
mov dword [ebp - 0x270], eax
je 0x10091f8
lea eax, [ebp - 0x274]
push eax
push ebx
push 0x113e
push dword [ebp - 0x208]
call esi
jmp 0x10091f8
cmp dword [ebp - 0x20c], ebx
jl 0x1009379
push ebx
push dword [ebp - 0x210]
jmp 0x1009339
mov eax, dword [ebp - 0x214]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x20c]
mov eax, dword [eax + ecx*4]
push ebx
mov dword [ebp - 0x210], eax
push eax
push dword [ebp - 0x21c]
call fcn.01008191
push eax
push dword [ebp - 0x210]
push 0xffff0003
push dword [ebp - 0x244]
push dword [ebp - 0x208]
call fcn.01008139
lea eax, [ebp - 0x210]
push ebx
push eax
call dword [sym.imp.COMCTL32.dll_Str_SetPtrW]
dec dword [ebp - 0x20c]
jns 0x100931f
jmp 0x10093bc
cmp dword [ebp - 0x270], ebx
je 0x10093bc
push dword [ebp - 0x270]
push 1
push edi
push dword [ebp - 0x208]
call esi
push dword [ebp - 0x270]
mov dword [ebp - 0x218], eax
push ebx
push 0x1101
push dword [ebp - 0x208]
call esi
mov eax, dword [ebp - 0x218]
cmp eax, ebx
mov dword [ebp - 0x270], eax
jne 0x1009381
push dword [ebp - 0x214]
call dword [sym.imp.COMCTL32.dll_DPA_DeleteAllPtrs]
push dword [ebp - 0x244]
push 4
jmp 0x1009032
cmp eax, ebx
je 0x100941e
push dword [ebp - 0x244]
push 0x8001
push 0x1102
push dword [ebp - 0x208]
call esi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x218]
call fcn.01008191
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x248]
push eax
push ebx
push 0x113f
push dword [ebp - 0x208]
call esi
push dword [ebp - 0x244]
jmp 0x1009442
push dword [ebp - 0x244]
push 3
push edi
push dword [ebp - 0x208]
call esi
cmp eax, ebx
mov dword [ebp - 0x244], eax
je 0x1009456
push eax
push 1
push edi
push dword [ebp - 0x208]
call esi
cmp eax, ebx
je 0x1009426
jmp 0x100903b
push dword [ebp - 0x214]
call dword [sym.imp.COMCTL32.dll_DPA_Destroy]
push ebx
push 1
push 0xb
push dword [ebp - 0x208]
call esi
push ebx
push 9
push edi
push dword [ebp - 0x208]
call esi
cmp eax, dword [ebp - 0x24c]
pop edi
pop esi
jne 0x1009494
push dword [ebp - 0x220]
call fcn.0100eab7
test eax, eax
je 0x10094a0
push ebx
push dword [ebp - 0x220]
call fcn.01008f1f
push ebx
call fcn.010050ae
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01016b82
leave
ret 4