Function at 0x10233b6
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10d2ff9
call fcn.0107a498
sub esp, 0x248
mov eax, dword [0x10e607c]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
mov edi, 0x80000002
push 0x4000
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x234], 0x2000
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], 0x80000001
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x224], ebx
call sub.MFC42u.dll_operatornew
cmp eax, ebx
pop ecx
mov dword [ebp - 0x230], eax
je 0x1023608
lea ecx, [esi + 0xba4]
mov dword [ebp - 0x238], ecx
call sub.MFC42u.dll_CStringList::RemoveAll
lea ecx, [esi + 0xbc0]
mov dword [ebp - 0x240], ecx
call sub.MFC42u.dll_CStringList::RemoveAll
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
push 0x20019
push ebx
push ebx
push ebx
push 0x10042f8
push edi
mov dword [ebp - 0x22c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10235c3
mov esi, dword [ebp - 0x230]
lea eax, [ebp - 0x234]
push eax
push esi
lea eax, [ebp - 0x244]
push eax
push ebx
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x22c]
mov dword [ebp - 0x23c], 0x104
push dword [ebp - 0x220]
mov dword [ebp - 0x234], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc dword [ebp - 0x22c]
cmp eax, ebx
jne 0x10235c3
cmp dword [ebp - 0x244], 7
jne 0x1023473
lea ecx, [ebp - 0x21c]
call sub.MFC42u.dll_CString::CString_2
lea eax, [ebp - 0x218]
push 0x10042e0
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.msvcrt.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x102350e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call sub.MFC42u.dll_CString::CString
jmp 0x1023473
cmp word [esi], bx
je 0x10234fa
mov edi, 0x10042cc
push 0x25
push esi
call dword [sym.imp.msvcrt.dll_wcschr]
test eax, eax
pop ecx
pop ecx
je 0x1023570
lea ecx, [ebp - 0x228]
call sub.MFC42u.dll_CString::CString_2
lea eax, [ebp - 0x228]
push eax
push esi
mov byte [ebp - 4], 1
call fcn.01023096
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push edi
push eax
call sub.MFC42u.dll_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CString::CString
jmp 0x1023588
lea eax, [ebp - 0x218]
push eax
push esi
lea eax, [ebp - 0x21c]
push edi
push eax
call sub.MFC42u.dll_CString::Format
add esp, 0x10
cmp dword [ebp - 0x224], 1
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x21c]
push eax
je 0x10235a4
mov ecx, dword [ebp - 0x238]
call sub.MFC42u.dll_CStringList::AddTail
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
pop ecx
jne 0x1023518
jmp 0x10234fa
cmp dword [ebp - 0x220], ebx
je 0x10235dd
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], ebx
inc dword [ebp - 0x224]
mov eax, dword [ebp - 0x224]
mov edi, dword [ebp + eax*4 - 0x250]
cmp edi, ebx
jne 0x1023442
push dword [ebp - 0x230]
call sub.MFC42u.dll_operatordelete
pop ecx
xor eax, eax
jmp 0x102360b
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01078836
leave
ret 4