Function at 0x40a4d1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425073
mov eax, dword fs:[0]
push eax
mov eax, 0x2820
call fcn.0042307b
mov eax, dword [0x42f058]
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.00412d5c
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x2814]
mov dword [ebp - 0x281c], ebx
push 0x80
push eax
mov dword [ebp - 0x2818], 0x2f
call fcn.00414a74
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 0x40a5b6
push 0x208
lea eax, [ebp - 0x2714]
push 0
push eax
call fcn.00412d5c
xor esi, esi
add esp, 0xc
inc esi
test esi, esi
js 0x40a891
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 0x40a611
push 0x1048
lea eax, [ebp - 0x250c]
push 0
push eax
call fcn.00412d5c
xor esi, esi
add esp, 0xc
inc esi
test esi, esi
js 0x40a891
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 0x40a65e
xor eax, eax
inc eax
mov dword [ebp - 0x14b4], eax
mov esi, eax
test esi, esi
js 0x40a891
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 0x40a6aa
and dword [ebp - 0x14c4], 0
xor esi, esi
inc esi
test esi, esi
js 0x40a891
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 0x40a6f9
xor eax, eax
xor esi, esi
mov dword [ebp - 0x14c0], eax
inc esi
jmp 0x40a6ff
mov eax, dword [ebp - 0x14c0]
test esi, esi
js 0x40a891
cmp eax, 0x8003
je 0x40a715
cmp eax, 0x8004
jne 0x40a780
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 0x40a766
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 0x40a780
cmp esi, 0x80070002
jne 0x40a778
and dword [ebp - 0x14b8], 0
xor esi, esi
inc esi
test esi, esi
js 0x40a891
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 0x40a7d3
push 0x100
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.00412d5c
xor esi, esi
add esp, 0xc
inc esi
test esi, esi
js 0x40a891
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 0x40a82e
push 0x100
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.00412d5c
xor esi, esi
add esp, 0xc
inc esi
test esi, esi
js 0x40a891
mov ecx, dword [ebp - 0x2828]
lea eax, [ebp - 0x2824]
push eax
push 0
lea edx, [ebp - 0x281c]
call fcn.0040a434
mov edi, dword [ebp - 0x2824]
mov esi, eax
test esi, esi
js 0x40a87c
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 0x40a87c
mov eax, dword [ebp - 0x282c]
mov dword [eax], edi
xor edi, edi
test edi, edi
je 0x40a891
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.00411695
mov esp, ebp
pop ebp
ret 8