Function at 0x405a50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418e77
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4241dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], eax
call fcn.004010a0
sub esp, 8
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
mov dword [ebp - 4], 0
call fcn.00401000
mov ecx, dword [ebx + 0x168]
push 0x2d
mov eax, dword [ecx]
push 0
call dword [eax + 0x14]
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0xffffffff
call fcn.004010d0
lea eax, [ebp - 0x214]
push eax
push 8
push 0
push esi
push 0x80000002
mov dword [ebp - 0x214], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x405b02
xor al, al
jmp 0x405cdf
lea ecx, [ebp - 0x228]
xor esi, esi
mov dword [ebp - 0x21c], 0x100
call fcn.004010a0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x250]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 4], 2
call edi
test eax, eax
jne 0x405cba
nop
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x230]
call fcn.00401070
sub esp, 8
lea eax, [ebp - 0x210]
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.00401070
push 0x5c
lea ecx, [ebp - 0x230]
call fcn.004014e0
sub esp, 8
mov ecx, esp
push str.extensions
call fcn.00401070
lea ecx, [ebp - 0x230]
call fcn.00401450
lea eax, [ebp - 0x228]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x220], esp
push str.Plugins
call fcn.00401070
sub esp, 8
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.00401000
push ecx
mov eax, esp
mov dword [eax], 0x80000002
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 3
call fcn.0040bcb0
add esp, 0x1c
cmp dword [eax], 0
jne 0x405c50
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401000
sub esp, 8
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.00401000
mov ecx, dword [ebx + 0x168]
push 0x2f
mov eax, dword [ecx]
push 0
call dword [eax + 0x14]
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
call fcn.004010d0
sub esp, 8
lea eax, [ebp - 0x228]
mov ecx, esp
push eax
call fcn.00401000
mov ecx, dword [ebp - 0x240]
call fcn.004013b0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.004010d0
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0xffffffff
call fcn.004010d0
lea ecx, [ebp - 0x228]
inc esi
mov dword [ebp - 0x21c], 0x100
call fcn.004010a0
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 4], 2
call edi
test eax, eax
je 0x405b50
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0xffffffff
call fcn.004010d0
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x405cdd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e6b5
mov esp, ebp
pop ebp
ret 8