Function at 0x405ae0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4195f7
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4251dc]
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 - 0x244]
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x23c], eax
call fcn.004010a0
sub esp, 8
lea eax, [ebp - 0x244]
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 - 0x244]
mov dword [ebp - 4], 0xffffffff
call fcn.004010d0
lea eax, [ebp - 0x230]
push eax
push 8
push 0
push esi
push 0x80000002
mov dword [ebp - 0x230], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x405b92
xor al, al
jmp 0x405d93
xor esi, esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 0x100
mov dword [ebp - 0x218], esi
call fcn.004010a0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x22c]
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 - 0x230]
mov dword [ebp - 4], 2
call edi
test eax, eax
jne 0x405d6e
jmp 0x405bf0
push dword [ebp - 0x248]
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], 0
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 - 0x224]
call fcn.004014e0
sub esp, 8
mov ecx, esp
push str.extensions
call fcn.00401070
lea ecx, [ebp - 0x224]
call fcn.00401450
lea eax, [ebp - 0x218]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x238], esp
push str.Plugins
call fcn.00401070
sub esp, 8
lea eax, [ebp - 0x224]
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 - 0x240]
push eax
mov byte [ebp - 4], 3
call fcn.0040c3e0
add esp, 0x1c
cmp dword [eax], 0
jne 0x405cfa
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x250]
call fcn.00401000
sub esp, 8
lea eax, [ebp - 0x250]
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 - 0x250]
mov byte [ebp - 4], 3
call fcn.004010d0
sub esp, 8
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.00401000
mov ecx, dword [ebp - 0x23c]
call fcn.004013b0
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 2
call fcn.004010d0
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0xffffffff
call fcn.004010d0
lea ecx, [ebp - 0x218]
inc esi
mov dword [ebp - 0x21c], 0x100
mov dword [ebp - 0x218], 0
call fcn.004010a0
lea eax, [ebp - 0x22c]
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 - 0x230]
mov dword [ebp - 4], 2
call edi
test eax, eax
je 0x405bf0
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0xffffffff
call fcn.004010d0
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x405d91
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.0040ee55
mov esp, ebp
pop ebp
ret 8