Function at 0x1007fed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f2c27
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x10275008]
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 esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x1c]
cmp dword [esi + 0x10], 0
je 0x10080211
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1007ff1b
mov eax, dword [esi]
test eax, eax
je 0x1007ff36
push eax
push 0x10224e80
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x10080211
lea ecx, [edi + 0x10]
cmp ecx, esi
je 0x1007ff50
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1007ff47
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.10005390
lea ecx, [edi + 0x28]
cmp ecx, ebx
je 0x1007ff6a
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x1007ff61
mov eax, dword [ebx]
push dword [ebx + 0x10]
push eax
call fcn.10005390
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
mov dword [edi], eax
lea eax, [ebp - 0x24c]
push eax
mov word [edi + 0x70], 0x101
call fcn.10080aa0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x250]
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
push ecx
cmovae eax, dword [ebp - 0x24c]
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x250], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100801f9
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x21c]
add esp, 0xc
mov dword [ebp - 0x21c], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.IconFile
push dword [ebp - 0x250]
call esi
test eax, eax
jne 0x100801f9
lea ecx, [ebp - 0x234]
call fcn.100052e0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x268]
call fcn.10005290
push 0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.10080420
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
mov bl, al
call fcn.10005250
test bl, bl
je 0x1008008d
lea ecx, [edi + 0x40]
lea eax, [ebp - 0x234]
cmp ecx, eax
je 0x1008008d
cmp dword [ebp - 0x220], 8
push dword [ebp - 0x224]
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.10005390
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.IconIndex
push dword [ebp - 0x250]
call esi
mov eax, dword [ebp - 0x218]
mov dword [edi + 0x74], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0x208
push eax
push 0
push 0
push str.Display_Description
push dword [ebp - 0x250]
call esi
test eax, eax
jne 0x10080142
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x268]
call fcn.10005290
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.10080240
push eax
lea ecx, [edi + 0x58]
mov byte [ebp - 4], 4
call fcn.10008620
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.10005250
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.10005250
jmp 0x10080193
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.Description
push dword [ebp - 0x250]
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10080174
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x58]
call fcn.10005390
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.SubstituteLayout
push dword [ebp - 0x250]
call esi
test eax, eax
jne 0x100801d5
push 0x10
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
add esp, 0xc
jmp 0x100801d7
mov eax, dword [edi]
push dword [ebp - 0x250]
mov dword [edi + 4], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0
mov bl, 1
call fcn.10005250
jmp 0x100801fb
xor bl, bl
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
call fcn.10005250
mov al, bl
jmp 0x10080213
xor al, al
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.101c837b
mov esp, ebp
pop ebp
ret 0x18