Function at 0x100ae0f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, dword [ebp + 0x18]
push edi
mov dword [eax], esi
lea eax, [ebp - 0x10]
push eax
push 1
push esi
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
push 0x80000002
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x28], 0x14
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x100ae82
push esi
push 0x1002778
push 0x88
jmp 0x100b0d5
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x100aeaf
push esi
push 0x1002778
push 0x94
jmp 0x100b0d5
push dword [ebp - 0x14]
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x100aef4
push 0x8007000e
push 0x1002778
push 0x9a
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
mov dword [ebp + 8], 8
jmp 0x100b112
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x100af21
push esi
push 0x1002778
push 0xaa
jmp 0x100b0d5
push 0xf
push dword [ebp - 0x14]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_IsValidRelativeSecurityDescriptor]
test eax, eax
jne 0x100af5e
push esi
push 0x1002778
push 0xb4
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
mov dword [ebp + 8], 0xb
jmp 0x100b112
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push dword [eax]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_MakeAbsoluteSD]
test eax, eax
jne 0x100afb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x100afb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 0x1002778
mov dword [ebp + 8], eax
push 0xca
jmp 0x100b0d5
push dword [ebp - 0x28]
push esi
call edi
push eax
call ebx
push dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
push esi
mov dword [ecx], eax
call edi
push eax
call ebx
push dword [ebp - 0x24]
mov dword [ebp - 4], eax
push esi
call edi
push eax
call ebx
push dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
push esi
call edi
push eax
call ebx
push dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x14]
push esi
mov dword [ecx], eax
call edi
push eax
call ebx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [ebp - 4], esi
je 0x100b0bf
cmp dword [ebp - 0xc], esi
je 0x100b0bf
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], esi
je 0x100b0bf
cmp eax, esi
je 0x100b0bf
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
cmp eax, esi
je 0x100b0bf
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x100b04a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 0x1002778
mov dword [ebp + 8], eax
push 0xe0
jmp 0x100b0d5
push 2
push dword [ebp - 0x18]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
jne 0x100b072
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 0x1002778
mov dword [ebp + 8], eax
push 0xea
jmp 0x100b0d5
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push dword [eax]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x28]
push eax
push dword [ebx]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_MakeAbsoluteSD]
test eax, eax
jne 0x100b154
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 0x1002778
mov dword [ebp + 8], eax
push 0x100
jmp 0x100b0d5
push 0x8007000e
push 0x1002778
mov dword [ebp + 8], 8
push 0xda
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
cmp dword [ebp + 8], esi
je 0x100b154
cmp dword [ebp - 4], esi
je 0x100b100
push dword [ebp - 4]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0xc], esi
je 0x100b112
push dword [ebp - 0xc]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
cmp eax, esi
je 0x100b128
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebx], esi
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
cmp eax, esi
je 0x100b13e
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebx], esi
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
cmp eax, esi
je 0x100b154
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebx], esi
cmp dword [ebp - 8], esi
je 0x100b166
push dword [ebp - 8]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x10], esi
pop edi
pop esi
pop ebx
je 0x100b177
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
leave
ret 0x14