Function at 0x405c60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b70b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x670
mov eax, dword [0x464024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [0x46c750]
call fcn.00417000
mov eax, dword [0x46c750]
mov ecx, 0x20119
cmp dword [0x46a5cc], 0
mov dword [eax], eax
mov eax, dword [0x46c750]
mov dword [eax + 4], eax
mov eax, 0x20019
cmovne eax, ecx
mov dword [0x46c754], 0
lea ecx, [ebp - 0x650]
push ecx
push eax
push 0
push str.CLSID645FF040_5081_101B_9F08_00AA002F954EShell
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405f14
mov esi, dword [ebp - 0x650]
test esi, esi
je 0x405f14
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0041c7e0
add esp, 0xc
mov dword [ebp - 0x658], 0x104
lea eax, [ebp - 0x680]
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x654], 0
push eax
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x64c]
push eax
push 0
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x64c]
test eax, eax
je 0x405f03
push eax
push str._nNumber_of_subkeys:__d_n
call fcn.00402110
xor esi, esi
add esp, 8
cmp dword [ebp - 0x64c], esi
jbe 0x405f03
nop word [eax + eax]
lea eax, [ebp - 0x680]
mov dword [ebp - 0x65c], 0x208
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x630]
push eax
push esi
push dword [ebp - 0x650]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x405ef6
lea eax, [ebp - 0x630]
push eax
lea eax, [esi + 1]
push eax
push str.__d___s_n
call fcn.004020b0
add esp, 0xc
mov dword [ebp - 0x648], 0
xor eax, eax
mov dword [ebp - 0x638], 0
mov word [ebp - 0x648], ax
lea eax, [ebp - 0x630]
mov dword [ebp - 0x634], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405e42
sub eax, edx
lea ecx, [ebp - 0x648]
sar eax, 1
push eax
lea eax, [ebp - 0x630]
push eax
call fcn.00415130
mov dword [ebp - 4], 0
cmp dword [0x46c754], 0x7ffffff
mov edi, dword [0x46c750]
je 0x405f32
mov dword [ebp - 0x664], 0x46c750
mov byte [ebp - 4], 1
push 0x20
mov dword [ebp - 0x660], 0
call fcn.0041b284
movups xmm0, xmmword [ebp - 0x648]
mov ecx, eax
mov dword [ebp - 0x660], 0
add esp, 4
mov dword [ecx + 8], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
movups xmmword [ecx + 8], xmm0
movq xmm0, qword [ebp - 0x638]
movq qword [ecx + 0x18], xmm0
inc dword [0x46c754]
mov eax, dword [edi + 4]
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [edi + 4], ecx
mov dword [eax], ecx
mov dword [ebp - 4], 0xffffffff
inc esi
cmp esi, dword [ebp - 0x64c]
jb 0x405dc0
mov eax, dword [ebp - 0x650]
test eax, eax
je 0x405f14
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041ae8f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.list_too_long
call fcn.00418e1c
int3