Function at 0x100b110
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x101b399
call fcn.0101a4c8
sub esp, 0x228
mov eax, dword [0x1020e7c]
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 0x1002530
mov dword [ebp - 4], ebx
call fcn.010164d4
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x228], edi
je 0x100b274
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 0x100b269
cmp dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
jbe 0x100b269
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 0x100b251
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.01009076
test eax, eax
jne 0x100b243
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 0x100b200
call fcn.0100862f
mov esi, eax
jmp 0x100b202
xor esi, esi
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0100a244
test eax, eax
je 0x100b22c
mov ecx, dword [ebp - 0x230]
push esi
call fcn.01009262
jmp 0x100b238
cmp esi, ebx
je 0x100b238
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [ebp - 0x21c]
call fcn.01005d1a
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], bl
call fcn.01005d1a
inc dword [ebp - 0x220]
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x224]
jb 0x100b188
lea ecx, [ebp - 0x228]
call fcn.01005d1a
push 0x1002584
call fcn.010164d4
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x228], edi
je 0x100b3ac
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 0x100b3a1
cmp dword [ebp - 0x224], ebx
mov dword [ebp - 0x21c], ebx
jbe 0x100b3a1
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 0x100b389
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.01009076
test eax, eax
jne 0x100b37b
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 0x100b338
call fcn.010088cf
mov esi, eax
jmp 0x100b33a
xor esi, esi
push dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0100a604
test eax, eax
je 0x100b364
mov ecx, dword [ebp - 0x230]
push esi
call fcn.01009262
jmp 0x100b370
cmp esi, ebx
je 0x100b370
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [ebp - 0x220]
call fcn.01005d1a
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], bl
call fcn.01005d1a
inc dword [ebp - 0x21c]
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x224]
jb 0x100b2c0
lea ecx, [ebp - 0x228]
call fcn.01005d1a
lea ecx, [ebp - 0x228]
call fcn.01005d1a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.010197bb
leave
ret