Function at 0x46fade
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x470
mov eax, 0x494ade
call fcn.0048e6b2
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x41c]
push 0x208
xor esi, esi
mov dword [ebp - 0x474], ebx
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x46c], 0x104
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x464], esi
push 0x60
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x45c], esi
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], esi
call dword [sym.imp.MFC42u.dll_operatornew]
pop ecx
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x46fb68
lea ecx, [edi + 0x1c]
push ecx
mov ecx, eax
call fcn.0046f8ef
mov edi, eax
jmp 0x46fb6a
mov edi, esi
lea eax, [ebp - 0x47c]
or dword [ebp - 4], 0xffffffff
push eax
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x440]
push eax
push esi
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x41c]
push eax
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x46fd50
cmp dword [ebp - 0x440], eax
je 0x46fd4d
call fcn.00471b82
mov dword [ebp - 0x448], eax
mov byte [eax + 0x2d], 1
mov eax, dword [ebp - 0x448]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x448]
mov dword [eax], eax
mov eax, dword [ebp - 0x448]
mov dword [eax + 8], eax
mov dword [ebp - 0x444], esi
mov eax, esi
mov dword [ebp - 4], 1
mov ebx, esi
mov dword [ebp - 0x450], esi
cmp dword [ebp - 0x440], eax
jbe 0x46fcdd
lea ecx, [ebp - 0x47c]
mov dword [ebp - 0x470], 0xff
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x470]
push ecx
lea ecx, [ebp - 0x214]
push ecx
push eax
push dword [ebp - 0x474]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x46fcc4
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x438]
call fcn.004180ac
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.004700ed
push esi
push 1
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 1
call fcn.0041ab08
mov ecx, edi
call fcn.0047061e
test eax, eax
je 0x46fc9b
mov ecx, edi
call fcn.0046f9d2
test eax, eax
je 0x46fcc4
lea eax, [ebp - 0x214]
mov dword [ebp - 0x43c], ebx
push eax
push ecx
lea eax, [ebp - 0x43c]
inc ebx
push eax
lea ecx, [ebp - 0x44c]
call fcn.00470a38
pop ecx
mov ecx, eax
call fcn.00470d0c
mov eax, dword [ebp - 0x450]
inc eax
mov dword [ebp - 0x450], eax
cmp eax, dword [ebp - 0x440]
jb 0x46fc1c
mov dword [ebp - 0x43c], esi
test ebx, ebx
je 0x46fd15
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x43c], esi
push eax
lea ecx, [ebp - 0x44c]
call fcn.00470a38
push eax
mov ecx, edi
call fcn.004700ed
mov ecx, edi
call fcn.004708ee
inc esi
cmp esi, ebx
jb 0x46fce7
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
mov eax, dword [ebp - 0x448]
push eax
push dword [eax]
lea eax, [ebp - 0x43c]
push eax
call fcn.004713f2
push dword [ebp - 0x448]
call dword [sym.imp.MFC42u.dll_operatordelete]
pop ecx
mov dword [ebp - 0x448], esi
mov dword [ebp - 0x444], esi
xor esi, esi
inc esi
test edi, edi
je 0x46fd5c
push ecx
mov ecx, edi
call fcn.0046fd83
mov eax, esi
call fcn.0048e652
ret 4