Function at 0x10002ed9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x290
mov eax, 0x1001f144
call fcn.1001d218
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x23c]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x214], ebx
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], edi
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call sub.mfc140u.dll_CStringArray::CStringArray
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 2
call sub.mfc140u.dll_CWordArray::CWordArray
push 0xffffffffffffffff
push edi
mov ecx, esi
mov byte [ebp - 4], 3
call sub.mfc140u.dll_CStringArray::SetSize
push 0xffffffffffffffff
push edi
mov ecx, ebx
call sub.mfc140u.dll_CWordArray::SetSize
lea eax, [ebp - 0x230]
push eax
push 1
push edi
push 0x10023dcc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000315e
lea eax, [ebp - 0x228]
mov dword [ebp - 0x218], edi
push eax
lea eax, [ebp - 0x110]
mov esi, edi
push eax
lea eax, [ebp - 0x234]
push eax
push edi
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
jmp 0x1000312a
cmp dword [ebp - 0x234], 1
jne 0x10003152
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc140u.dll_Ordinal_5884]
cmp eax, 3
jle 0x100030fe
push 3
push edi
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
pop ecx
lea edi, [eax - 1]
cmp edi, 0xffffffff
je 0x100030fc
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
push edi
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 4
push 0x10023e08
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
pop ecx
pop ecx
lea eax, [ebp - 0x110]
mov dword [ebp - 0x238], esp
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
push ecx
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 5
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__2]
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 4
call fcn.1001aa30
cmp byte [ebp + 0x14], 0
mov byte [ebp - 4], 6
jne 0x1000336f
call fcn.1001a750
push 1
mov esi, eax
lea eax, [ebp - 0x29c]
push eax
push ecx
mov ecx, esp
push 0x10023c64
mov dword [ebp - 0x240], ecx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__1]
mov ecx, esi
call fcn.1001a790
test al, al
jne 0x100030a4
cmp edi, dword [ebp + 0x10]
jne 0x100030ce
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x260]
lea ecx, [ebp - 0x268]
call sub.mfc140u.dll_CStringArray::SetAtGrow
push edi
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x254]
call sub.mfc140u.dll_CWordArray::SetAtGrow
mov esi, dword [ebp - 0x218]
lea ecx, [ebp - 0x294]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x298]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
xor edi, edi
lea eax, [ebp - 0x228]
inc esi
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x218], esi
push eax
lea eax, [ebp - 0x234]
push eax
push edi
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x230]
mov dword [ebp - 0x22c], 0x80
mov dword [ebp - 0x228], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10002fa1
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x27c]
call fcn.10002aa9
mov dword [ebp - method.CArray_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____const__.virtual_0], 0x10023c48
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 7
call sub.mfc140u.dll_CWordArray::CWordArray
mov byte [ebp - 4], 8
call fcn.1001b1f0
mov esi, eax
call fcn.1001a750
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [eax]
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10003984
call fcn.1001b1f0
mov esi, eax
call fcn.1001a750
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [eax]
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.100038d2
add esp, 0x30
cmp byte [ebp + 0x14], 0
je 0x10003211
cmp dword [ebp - 0x24c], 0
jne 0x10003211
push 0x10023e0c
push dword [ebp - 0x260]
lea ecx, [ebp - 0x268]
call sub.mfc140u.dll_CStringArray::SetAtGrow
push 1
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x254]
call sub.mfc140u.dll_CWordArray::SetAtGrow
cmp dword [ebp - 0x260], 0
jle 0x10003293
cmp edi, dword [ebp - 0x24c]
jge 0x10003293
mov eax, dword [ebp - 0x220]
mov eax, dword [eax + 8]
cmp eax, dword [ebx + 8]
cmovge eax, dword [ebx + 8]
xor ebx, ebx
mov dword [ebp - 0x21c], eax
lea ecx, [eax + 1]
mov dword [ebp - 0x218], ecx
test ecx, ecx
jle 0x10003284
cmp ebx, eax
je 0x1000339e
mov ecx, dword [ebp - 0x214]
push ebx
call fcn.10002c71
push edi
lea ecx, [ebp - 0x254]
mov esi, eax
call fcn.10002c71
mov cx, word [eax]
cmp cx, word [esi]
jb 0x1000339e
mov eax, dword [ebp - 0x21c]
inc ebx
cmp ebx, dword [ebp - 0x218]
jl 0x10003247
mov ebx, dword [ebp - 0x214]
inc edi
cmp edi, dword [ebp - 0x260]
jl 0x1000321a
xor edi, edi
cmp dword [ebp - 0x274], edi
jle 0x10003316
cmp edi, dword [ebp - 0x288]
jge 0x10003316
mov eax, dword [ebp - 0x220]
mov eax, dword [eax + 8]
cmp eax, dword [ebx + 8]
cmovge eax, dword [ebx + 8]
xor ebx, ebx
mov dword [ebp - 0x238], eax
lea ecx, [eax + 1]
mov dword [ebp - 0x21c], ecx
test ecx, ecx
jle 0x10003307
cmp ebx, eax
je 0x100033de
mov ecx, dword [ebp - 0x214]
push ebx
call fcn.10002c71
push edi
lea ecx, [ebp - 0x290]
mov esi, eax
call fcn.10002c71
mov cx, word [eax]
cmp cx, word [esi]
jb 0x100033de
mov eax, dword [ebp - 0x238]
inc ebx
cmp ebx, dword [ebp - 0x21c]
jl 0x100032ca
mov ebx, dword [ebp - 0x214]
inc edi
cmp edi, dword [ebp - 0x274]
jl 0x1000329d
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x290]
cmp dword [eax + 8], 0
setg bl
call fcn.1001ce0a
lea ecx, [ebp - 0x27c]
call fcn.10002b1d
lea ecx, [ebp - 0x254]
call fcn.1001ce0a
lea ecx, [ebp - 0x268]
call fcn.1001ce28
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x23c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov al, bl
call fcn.1001d1c7
ret
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x260]
lea ecx, [ebp - 0x268]
call sub.mfc140u.dll_CStringArray::SetAtGrow
push edi
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x254]
call sub.mfc140u.dll_CWordArray::SetAtGrow
jmp 0x100030d4
push 1
push edi
lea ecx, [ebp - 0x268]
call fcn.10002c52
mov ecx, dword [ebp - 0x220]
push eax
push ebx
call sub.mfc140u.dll_CStringArray::InsertAt
push edi
lea ecx, [ebp - 0x254]
call fcn.10002c71
push 1
movzx eax, word [eax]
push eax
push ebx
mov ebx, dword [ebp - 0x214]
mov ecx, ebx
call sub.mfc140u.dll_CWordArray::InsertAt
jmp 0x1000328a
push edi
lea ecx, [ebp - 0x27c]
call fcn.10002c52
mov ecx, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1665]
push eax
lea ecx, [ebp - 0x218]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push 1
push eax
push ebx
mov byte [ebp - 4], 9
call sub.mfc140u.dll_CStringArray::InsertAt
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push edi
lea ecx, [ebp - 0x290]
call fcn.10002c71
push 1
movzx eax, word [eax]
push eax
push ebx
mov ebx, dword [ebp - 0x214]
mov ecx, ebx
call sub.mfc140u.dll_CWordArray::InsertAt
jmp 0x1000330d