Function at 0x41a000
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x4e7018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x288], eax
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x284]
push eax
push edi
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x28c], ebx
push eax
push edi
push edi
push 4
push 4
push esi
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x284], edi
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
je 0x41a078
push eax
push esi
push str.VNLSetKeyDaclInheritance:_couldnt_read_dacl_for__S___08x_
push 1
call fcn.004439a0
add esp, 0x10
jmp 0x41a209
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_IsValidAcl]
test eax, eax
jne 0x41a09d
push esi
push str.VNLSetKeyDaclInheritance:_got_invalid_dacl_for__S
push 1
call fcn.004439a0
add esp, 0xc
jmp 0x41a209
push dword [ebp - 0x284]
call dword [sym.imp.ADVAPI32.dll_IsValidSecurityDescriptor]
test eax, eax
jne 0x41a0c2
push esi
push str.VNLSetKeyDaclInheritance:_got_invalid_sd_for__S
push 1
call fcn.004439a0
add esp, 0xc
jmp 0x41a209
push 0
push dword [ebp - 0x27c]
mov ecx, SysStringLen
test ebx, ebx
push 0
push 0
mov eax, 0x20000004
cmovne eax, ecx
push eax
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
test eax, eax
je 0x41a111
push eax
mov ecx, 0x49eecc
test ebx, ebx
push esi
mov eax, 0x4975e2
cmove eax, ecx
push eax
push str.VNLSetKeyDaclInheritance:_failed_to_set__sprotected_inheritance_on__S___08x_
push 1
call fcn.004439a0
add esp, 0x14
jmp 0x41a209
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x41a22d
lea eax, [ebp - 0x280]
push eax
push 8
push 0
push dword [ebp - 0x278]
push dword [ebp - 0x288]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41a153
push eax
push esi
push str.VNLSetKeyDaclInheritance:_could_not_open__S___08x_
push 1
call fcn.004439a0
add esp, 0x10
jmp 0x41a209
xor edi, edi
mov dword [ebp - 0x278], 0x32
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41a1ee
nop
lea eax, [ebp - 0x68]
push eax
push esi
push 0x49a55c
lea eax, [ebp - 0x274]
push 0x105
push eax
call fcn.004159a0
push ebx
push dword [ebp - 0x28c]
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x280]
call fcn.0041a000
add esp, 0x28
test eax, eax
je 0x41a207
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], 0x32
push eax
lea eax, [ebp - 0x68]
inc edi
push eax
push edi
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x41a180
cmp eax, 0x103
je 0x41a22d
push eax
push esi
push edi
push str.VNLSetKeyDaclInheritance:_failed_to_enumerate_subkey__u_for__S___08x_
push 1
call fcn.004439a0
add esp, 0x14
xor edi, edi
mov ecx, dword [ebp - 0x284]
test ecx, ecx
je 0x41a21a
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401bf1
mov esp, ebp
pop ebp
ret
mov edi, 1
jmp 0x41a209