Function at 0x40a3bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4244a1
mov eax, dword fs:[0]
push eax
mov eax, 0x2820
call fcn.004225c8
mov eax, dword [0x42e058]
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 edi, edx
mov esi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x2828], eax
mov ebx, 0x25f8
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x282c], eax
push ecx
mov dword [eax], ecx
lea eax, [ebp - 0x281c]
push eax
mov dword [ebp - 0x2824], ecx
call fcn.00412c31
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x2814]
mov dword [ebp - 0x281c], ebx
push 0x80
push eax
mov dword [ebp - 0x2818], 0x2f
call fcn.00414347
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x2820]
add esp, 0x1c
mov dword [ebp - 0x2820], 0x208
push eax
lea eax, [ebp - 0x2714]
push eax
push 0
push 0
push str.RelativeCachePath
push edi
call ebx
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp esi, 0x80070002
jne 0x40a4a1
push 0x208
lea eax, [ebp - 0x2714]
push 0
push eax
call fcn.00412c31
xor esi, esi
add esp, 0xc
inc esi
test esi, esi
js 0x40a77c
lea eax, [ebp - 0x2820]
mov dword [ebp - 0x2820], 0x1048
push eax
lea eax, [ebp - 0x250c]
push eax
push 0
push 0
push str.RelativeSourcePath
push edi
call ebx
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp esi, 0x80070002
jne 0x40a4fc
push 0x1048
lea eax, [ebp - 0x250c]
push 0
push eax
call fcn.00412c31
xor esi, esi
add esp, 0xc
inc esi
test esi, esi
js 0x40a77c
lea eax, [ebp - 0x2820]
mov dword [ebp - 0x2820], 4
push eax
lea eax, [ebp - 0x14b4]
push eax
push 0
push 0
push str.Priority
push edi
call ebx
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp esi, 0x80070002
jne 0x40a549
xor eax, eax
inc eax
mov dword [ebp - 0x14b4], eax
mov esi, eax
test esi, esi
js 0x40a77c
lea eax, [ebp - 0x2820]
mov dword [ebp - 0x2820], 4
push eax
lea eax, [ebp - 0x14c4]
push eax
push 0
push 0
push str.Signed
push edi
call ebx
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp esi, 0x80070002
jne 0x40a595
and dword [ebp - 0x14c4], 0
xor esi, esi
inc esi
test esi, esi
js 0x40a77c
lea eax, [ebp - 0x2820]
mov dword [ebp - 0x2820], 4
push eax
lea eax, [ebp - 0x14c0]
push eax
push 0
push 0
push str.HashType
push edi
call ebx
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp esi, 0x80070002
jne 0x40a5e4
xor eax, eax
xor esi, esi
mov dword [ebp - 0x14c0], eax
inc esi
jmp 0x40a5ea
mov eax, dword [ebp - 0x14c0]
test esi, esi
js 0x40a77c
cmp eax, 0x8003
je 0x40a600
cmp eax, 0x8004
jne 0x40a66b
lea eax, [ebp - 0x2820]
mov dword [ebp - 0x2820], 0x14
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push str.Hash
push edi
call ebx
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x40a651
or dword [ebp - 0x2818], 0x10
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14b8], eax
mov eax, dword [ebp - 0x2820]
mov dword [ebp - 0x14bc], eax
jmp 0x40a66b
cmp esi, 0x80070002
jne 0x40a663
and dword [ebp - 0x14b8], 0
xor esi, esi
inc esi
test esi, esi
js 0x40a77c
lea eax, [ebp - 0x2820]
mov dword [ebp - 0x2820], 0x100
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push str.PreferredSource
push edi
call ebx
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp esi, 0x80070002
jne 0x40a6be
push 0x100
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.00412c31
xor esi, esi
add esp, 0xc
inc esi
test esi, esi
js 0x40a77c
lea eax, [ebp - 0x2820]
mov dword [ebp - 0x2820], 0x100
push eax
lea eax, [ebp - 0x124]
push eax
push 0
push 0
push str.ContainerResource
push edi
call ebx
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp esi, 0x80070002
jne 0x40a719
push 0x100
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.00412c31
xor esi, esi
add esp, 0xc
inc esi
test esi, esi
js 0x40a77c
mov ecx, dword [ebp - 0x2828]
lea eax, [ebp - 0x2824]
push eax
push 0
lea edx, [ebp - 0x281c]
call fcn.0040a32b
mov edi, dword [ebp - 0x2824]
mov esi, eax
test esi, esi
js 0x40a767
mov eax, dword [edi]
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x224]
push ecx
push edi
call dword [eax + 0x78]
mov esi, eax
test esi, esi
js 0x40a767
mov eax, dword [ebp - 0x282c]
mov dword [eax], edi
xor edi, edi
test edi, edi
je 0x40a77c
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
add eax, 4
add eax, edi
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
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.004114dd
mov esp, ebp
pop ebp
ret 8