Function at 0x10078e8
Capabilities:
Create shortcut via ishelllink
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1838
call fcn.0100cb50
mov edx, dword [0x10017dc]
push ebx
push esi
mov esi, 0x81
push edi
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0xa34]
mov dword [ebp - 0xa38], edx
mov dword [ebp - 0x428], edx
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [ebp - 0x424]
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [ebp - 0x21c]
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x18], edx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x14]
push 0x7f
stosw word es:[edi], ax
pop ecx
lea edi, [ebp - 0x82c]
mov dword [ebp - 0x830], edx
push 0x7f
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0xe34]
mov dword [ebp - 0xe38], edx
push 0x7f
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0xc34]
mov dword [ebp - 0xc38], edx
mov dword [ebp - 0x630], edx
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [ebp - 0x62c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x630]
xor ebx, ebx
push 0x1001c50
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, 0x10017cc
lea eax, [ebp - 0x630]
push edi
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x630]
push eax
call esi
lea eax, [ebp - 8]
push eax
call fcn.01009cbf
neg eax
sbb eax, eax
and eax, 0xfff0ffc2
add eax, 0xf003f
push eax
lea eax, [ebp - 0x630]
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1007be9
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x208
push eax
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1007a24
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1007be9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x1001ccc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x220]
push eax
call fcn.010076f6
cmp word [ebp - 0x220], bx
pop ecx
je 0x1007be9
lea eax, [ebp - 0x220]
push edi
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push eax
call esi
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
cmp eax, ebx
jle 0x1007aa2
cmp word [ebp + eax*2 - 0x428], 0x3b
lea eax, [ebp + eax*2 - 0x428]
jne 0x1007aa2
mov word [eax], bx
lea eax, [ebp - 0xc38]
push eax
lea eax, [ebp - 0xe38]
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.MSVCRT.dll__wsplitpath]
add esp, 0x14
lea eax, [ebp - 0x830]
push 0x100223c
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.MSVCRT.dll__wmakepath]
add esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x10027a8
push 1
push ebx
push 0x10027b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x1007be9
mov eax, dword [ebp - 4]
lea edx, [ebp + 8]
push edx
push 0x10027f8
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
jl 0x1007be0
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
jl 0x1007be0
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x428]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jl 0x1007be0
mov eax, dword [ebp - 4]
push 0x1001918
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jl 0x1007be0
lea eax, [ebp - 0x1838]
push 0x3fc
push eax
push 0x2fe
push dword [0x100f270]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1007b99
push dword [ebp + 0xc]
lea eax, [ebp - 0x1838]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x1838]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jl 0x1007be0
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x1040]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1040]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x1007be0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
pop ebx
leave
ret