Function at 0x10078313
Capabilities:
Set registry value

Disassembly:
push 0x5c
mov eax, 0x102650ea
call fcn.10054407
push 7
pop esi
xor ebx, ebx
mov dword [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x5c], ebx
push 0x1026fa90
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
mov word [ebp - 0x28], ax
call fcn.100034a0
xor eax, eax
mov byte [ebp - 4], 4
push str.DirectoryBackground_shell_
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], esi
mov word [ebp - 0x58], ax
call fcn.100034a0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.100088e0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push eax
call fcn.100088e0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x5c]
push ebx
push ecx
push ebx
push 0xf013f
push ebx
push ebx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push SysReAllocString
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1007840f
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push 1
push 0
push 0
push dword [ebp - 0x5c]
call esi
cmp dword [ebp + 0x4c], 8
lea ecx, [ebp + 0x38]
mov eax, dword [ebp + 0x48]
cmovae ecx, dword [ebp + 0x38]
add eax, eax
push eax
push ecx
push 1
push 0
push str.Icon
push dword [ebp - 0x5c]
call esi
push dword [ebp - 0x5c]
call edi
push str.command
lea ecx, [ebp - 0x58]
call fcn.10007ee0
xor edx, edx
lea ecx, [ebp - 0x64]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push edx
cmovae eax, dword [ebp - 0x58]
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push SysReAllocString
mov dword [ebp - 0x64], edx
call ebx
test eax, eax
jne 0x10078468
cmp dword [ebp + 0x4c], 8
lea ecx, [ebp + 0x38]
mov eax, dword [ebp + 0x48]
cmovae ecx, dword [ebp + 0x38]
add eax, eax
push eax
push ecx
push 1
push 0
push 0
push dword [ebp - 0x64]
call esi
push dword [ebp - 0x64]
call edi
and dword [ebp - 0x60], 0
lea ecx, [ebp - 0x40]
and dword [ebp - 0x30], 0
xor eax, eax
push str.Folder_shell_
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.100034a0
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0x1026fa90
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov byte [ebp - 4], 6
mov word [eax], cx
lea ecx, [ebp - 0x28]
call fcn.100034a0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
call fcn.100088e0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push eax
call fcn.100088e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x60]
cmovae eax, dword [ebp - 0x40]
xor edx, edx
push edx
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x10078546
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push 1
push 0
push 0
push dword [ebp - 0x60]
call esi
cmp dword [ebp + 0x4c], 8
lea ecx, [ebp + 0x38]
mov eax, dword [ebp + 0x48]
cmovae ecx, dword [ebp + 0x38]
add eax, eax
push eax
push ecx
push 1
push 0
push str.Icon
push dword [ebp - 0x60]
call esi
push dword [ebp - 0x60]
call edi
push str.command
lea ecx, [ebp - 0x40]
call fcn.10007ee0
xor edx, edx
lea ecx, [ebp - 0x68]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push edx
cmovae eax, dword [ebp - 0x40]
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push SysReAllocString
mov dword [ebp - 0x68], edx
call ebx
test eax, eax
jne 0x1007859f
cmp dword [ebp + 0x4c], 8
lea ecx, [ebp + 0x38]
mov eax, dword [ebp + 0x48]
cmovae ecx, dword [ebp + 0x38]
add eax, eax
push eax
push ecx
push 1
push 0
push 0
push dword [ebp - 0x68]
call esi
push dword [ebp - 0x68]
call edi
lea ecx, [ebp - 0x40]
call fcn.100042b0
lea ecx, [ebp - 0x58]
call fcn.100042b0
lea ecx, [ebp - 0x28]
call fcn.100042b0
lea ecx, [ebp + 8]
call fcn.100042b0
lea ecx, [ebp + 0x20]
call fcn.100042b0
lea ecx, [ebp + 0x38]
call fcn.100042b0
lea ecx, [ebp + 0x50]
call fcn.100042b0
mov al, 1
call fcn.100543b1
ret 0x60