Function at 0x100b8f8
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x101d9c1
call fcn.0101caf8
sub esp, 0x228
mov eax, dword [0x1023fb4]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x228], ebx
push 0x1002540
mov dword [ebp - 4], ebx
call fcn.01018b1d
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x228], edi
je 0x100ba5c
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100ba51
cmp dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
jbe 0x100ba51
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
mov dword [ebp - 0x22c], 0x104
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100ba39
mov dword [ebp - 0x21c], ebx
push 0x20019
lea eax, [ebp - 0x218]
push eax
push edi
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.0100985e
test eax, eax
jne 0x100ba2b
push 0x24
call sub.MFC42u.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x234], ecx
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x100b9e8
call fcn.01008e21
mov esi, eax
jmp 0x100b9ea
xor esi, esi
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0100aa2c
test eax, eax
je 0x100ba14
mov ecx, dword [ebp - 0x230]
push esi
call fcn.01009a4a
jmp 0x100ba20
cmp esi, ebx
je 0x100ba20
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [ebp - 0x21c]
call fcn.0100650c
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], bl
call fcn.0100650c
inc dword [ebp - 0x220]
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x224]
jb 0x100b970
lea ecx, [ebp - 0x228]
call fcn.0100650c
push 0x1002594
call fcn.01018b1d
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x228], edi
je 0x100bb94
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100bb89
cmp dword [ebp - 0x224], ebx
mov dword [ebp - 0x21c], ebx
jbe 0x100bb89
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
mov dword [ebp - 0x22c], 0x104
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100bb71
mov dword [ebp - 0x220], ebx
push 0x20019
lea eax, [ebp - 0x218]
push eax
push edi
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.0100985e
test eax, eax
jne 0x100bb63
push 0x1c
call sub.MFC42u.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x234], ecx
cmp ecx, ebx
mov byte [ebp - 4], 4
je 0x100bb20
call fcn.010090c1
mov esi, eax
jmp 0x100bb22
xor esi, esi
push dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0100adec
test eax, eax
je 0x100bb4c
mov ecx, dword [ebp - 0x230]
push esi
call fcn.01009a4a
jmp 0x100bb58
cmp esi, ebx
je 0x100bb58
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [ebp - 0x220]
call fcn.0100650c
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], bl
call fcn.0100650c
inc dword [ebp - 0x21c]
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x224]
jb 0x100baa8
lea ecx, [ebp - 0x228]
call fcn.0100650c
lea ecx, [ebp - 0x228]
call fcn.0100650c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0101bddf
leave
ret