Function at 0x46eef0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d00b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 8]
mov dword [esp + 8], esi
cmp eax, edi
mov dword [esp + 0x10], 0x100
jne 0x46ef2b
xor eax, eax
jmp 0x46f0fe
push ebx
push ebp
mov ebp, dword [esp + 0x144]
cmp dword [ebp + 8], edi
jne 0x46ef3c
mov dword [esi + 0x10], edi
mov eax, dword [esi + 0x10]
push edi
push edi
push edi
lea ecx, [eax + 1]
lea edx, [esp + 0x24]
mov dword [esi + 0x10], ecx
push edi
lea ecx, [esp + 0x44]
push edx
mov edx, dword [esi + 4]
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, edi
mov dword [esi + 0xc], eax
je 0x46ef92
mov ecx, dword [ebp + 4]
cmp ecx, edi
jne 0x46ef71
mov ecx, 0x4d68e8
mov edx, dword [esi + 0x18]
cmp edx, edi
jne 0x46ef7d
mov edx, 0x4d68e8
push ecx
push edx
push str.RegEnumValue:__s_:__s
push eax
push 0x503ff0
call fcn.00423520
add esp, 0x14
cmp dword [esi + 0xc], edi
jne 0x46f06b
mov al, byte [esp + 0x17]
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.00406ad6
mov dword [esp + 0x13c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x20]
push ebx
call fcn.00406a51
test al, al
je 0x46f004
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
mov byte [eax + ebx], 0
mov ecx, dword [0x4d68ec]
lea edx, [esp + 0x1c]
push ecx
push 0
push edx
mov ecx, ebp
mov dword [esp + 0x148], 1
call fcn.0040b3b2
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x46f03d
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x46f0e2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x46f060
cmp al, 0xff
je 0x46f060
dec al
mov byte [ecx], al
jmp 0x46f0e2
push ecx
call fcn.004be17b
add esp, 4
jmp 0x46f0e2
mov esi, dword [ebp + 4]
mov ebx, dword [0x4d68ec]
test esi, esi
je 0x46f0a1
mov al, byte [esi - 1]
test al, al
je 0x46f0a1
cmp al, 0xff
je 0x46f0a1
push 1
mov ecx, ebp
call fcn.00406ad6
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
mov ecx, ebp
call fcn.0040695a
mov eax, dword [ebp + 8]
cmp eax, ebx
jae 0x46f0aa
mov ebx, eax
test ebx, ebx
jbe 0x46f0de
mov ecx, dword [ebp + 4]
sub eax, ebx
push eax
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.004bf5b0
mov esi, dword [ebp + 8]
add esp, 0xc
sub esi, ebx
mov ecx, ebp
push 0
push esi
call fcn.00406a51
test al, al
je 0x46f0de
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], esi
mov byte [ecx + esi], 0
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
pop ebp
cmp eax, 0x103
pop ebx
jne 0x46f0f5
mov dword [esi + 0x10], 0
xor edx, edx
test eax, eax
sete dl
mov eax, edx
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x130
ret 4