Function at 0x100be3d
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x224], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push 0x10
call dword [sym.imp.COMCTL32.dll_DPA_CreateEx]
xor ebx, ebx
mov dword [ebp - 0x214], eax
cmp eax, ebx
je 0x100c35b
push esi
mov esi, dword [0x101d090]
push edi
push 1
mov dword [ebp - 0x208], esi
call fcn.01003bef
push ebx
push ebx
push 0xb
push esi
mov esi, dword [sym.imp.USER32.dll__q_yqzvt__JNggR__S_Oj___y2___T6_BUejm_V_]
call esi
push ebx
push 9
mov edi, 0x110a
push edi
push dword [ebp - 0x208]
call esi
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x204]
push ebx
mov dword [ebp - 0x278], 1
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 0x100
mov dword [ebp - 0x24c], 0x48
mov dword [ebp - 0x240], ebx
push ebx
push edi
push dword [ebp - 0x208]
call esi
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x24c]
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 - 0x248]
push dword [ebp - 0x208]
call fcn.01002c60
test byte [ebp - 0x244], 0x20
mov dword [ebp - 0x21c], eax
je 0x100c289
cmp eax, ebx
je 0x100c27c
lea ecx, [ebp - 0x220]
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 0x100c27c
push dword [ebp - 0x248]
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 0x100bfed
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 - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x100bfa2
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 0x100b100
push dword [ebp - 0x214]
call dword [sym.imp.COMCTL32.dll_DPA_Sort]
cmp dword [ebp - 0x20c], ebx
jne 0x100c052
push dword [ebp - 0x214]
call dword [sym.imp.COMCTL32.dll_DPA_DeleteAllPtrs]
push dword [ebp - 0x248]
push 0x8001
push 0x1102
push dword [ebp - 0x208]
call esi
mov dword [ebp - 0x22c], ebx
jmp 0x100c2bd
push dword [ebp - 0x248]
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
mov dword [ebp - 0x274], eax
cmp eax, ebx
je 0x100c0a0
lea eax, [ebp - 0x278]
push eax
push ebx
push 0x113e
push dword [ebp - 0x208]
call esi
cmp dword [ebp - 0x20c], ebx
jl 0x100c22d
cmp dword [ebp - 0x274], ebx
je 0x100c1c2
push dword [ebp - 0x210]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x100c101
push dword [ebp - 0x274]
push 1
push edi
push dword [ebp - 0x208]
call esi
mov dword [ebp - 0x274], eax
cmp eax, ebx
je 0x100c132
lea eax, [ebp - 0x278]
push eax
push ebx
push 0x113e
push dword [ebp - 0x208]
call esi
jmp 0x100c132
jle 0x100c169
push ebx
push dword [ebp - 0x210]
push dword [ebp - 0x21c]
call fcn.0100b1da
push eax
push dword [ebp - 0x210]
push 0xffff0003
push dword [ebp - 0x248]
push dword [ebp - 0x208]
call fcn.0100b182
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.COMCTL32.dll_Str_SetPtrW]
dec dword [ebp - 0x20c]
js 0x100c22d
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 0x100c0ac
push dword [ebp - 0x274]
push 1
push edi
push dword [ebp - 0x208]
call esi
push dword [ebp - 0x274]
mov dword [ebp - 0x218], eax
push ebx
push 0x1101
push dword [ebp - 0x208]
call esi
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x274], eax
cmp eax, ebx
je 0x100c0ac
lea eax, [ebp - 0x278]
push eax
push ebx
push 0x113e
push dword [ebp - 0x208]
call esi
jmp 0x100c0ac
cmp dword [ebp - 0x20c], ebx
jl 0x100c22d
push ebx
push dword [ebp - 0x210]
jmp 0x100c1ed
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.0100b1da
push eax
push dword [ebp - 0x210]
push 0xffff0003
push dword [ebp - 0x248]
push dword [ebp - 0x208]
call fcn.0100b182
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.COMCTL32.dll_Str_SetPtrW]
dec dword [ebp - 0x20c]
js 0x100c270
jmp 0x100c1d3
cmp dword [ebp - 0x274], ebx
je 0x100c270
push dword [ebp - 0x274]
push 1
push edi
push dword [ebp - 0x208]
call esi
push dword [ebp - 0x274]
mov dword [ebp - 0x218], eax
push ebx
push 0x1101
push dword [ebp - 0x208]
call esi
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x274], eax
cmp eax, ebx
jne 0x100c235
push dword [ebp - 0x214]
call dword [sym.imp.COMCTL32.dll_DPA_DeleteAllPtrs]
push dword [ebp - 0x248]
push 4
jmp 0x100bee6
cmp eax, ebx
je 0x100c2d2
push dword [ebp - 0x248]
push 0x8001
push 0x1102
push dword [ebp - 0x208]
call esi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x21c]
call fcn.0100b1da
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x24c]
push eax
push ebx
push 0x113f
push dword [ebp - 0x208]
call esi
push dword [ebp - 0x248]
jmp 0x100c2f6
push dword [ebp - 0x248]
push 3
push edi
push dword [ebp - 0x208]
call esi
mov dword [ebp - 0x248], eax
cmp eax, ebx
je 0x100c30b
push eax
push 1
push edi
push dword [ebp - 0x208]
call esi
cmp eax, ebx
jne 0x100beef
jmp 0x100c2da
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
pop edi
pop esi
cmp eax, dword [ebp - 0x250]
jne 0x100c349
push dword [ebp - 0x224]
call fcn.01003b66
test eax, eax
je 0x100c355
push ebx
push dword [ebp - 0x224]
call fcn.01002c2d
push ebx
call fcn.01003bef
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0100160d
leave
ret 4