Function at 0x10079110
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x1013c014]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], ecx
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x10079184
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 4
push eax
push esi
push 0x113e
push dword [ebx + 8]
xorps xmm0, xmm0
mov dword [esp + 0x3c], ecx
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x50], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x4c]
mov edx, dword [esi + 0x20]
mov dword [esp + 0xc], edx
jmp 0x10079197
mov edx, 0x811c9dc5
mov ecx, 0x10113de8
call fcn.100b3790
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
jne 0x10079212
mov al, byte [ebp + 0x14]
test esi, esi
je 0x100791ae
mov byte [esi + 0x18], al
jmp 0x100791b1
mov byte [ebx + 0x37], al
mov eax, dword [ebx + 8]
test edi, edi
je 0x100791fd
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 4
push ecx
push 0
xorps xmm0, xmm0
mov dword [esp + 0x34], edi
push 0x113e
push eax
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x50], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esp + 0x4c]
push 0
push 0x8001
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1007930f
push 0
push 0
push 0x8001
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1007930f
cmp byte [ebp + 0x18], 0
je 0x1007930f
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x10079232
push ecx
push 4
jmp 0x10079236
push 0
push 0
push 0x110a
push eax
call esi
mov ebx, eax
test ebx, ebx
je 0x100792e2
nop dword [eax + eax]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 4
push eax
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
push 0
push 0x113e
mov dword [esp + 0x38], ebx
push dword [eax + 8]
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x50], xmm0
call esi
mov edi, dword [esp + 0x4c]
cmp byte [edi + 0x19], 0
mov dword [edi + 0x1c], 0x8000
je 0x10079294
mov esi, dword [edi + 4]
jmp 0x10079297
mov esi, dword [edi + 8]
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [edx]
mov edx, dword [edx + 4]
sub edx, eax
sar edx, 2
test edx, edx
jle 0x100792c1
nop dword [eax + eax]
cmp esi, dword [eax]
je 0x100792be
inc ecx
add eax, 4
cmp ecx, edx
jl 0x100792b0
jmp 0x100792c1
mov dword [edi + 0x1c], ecx
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 1
push 0x110a
push dword [eax + 8]
call esi
mov ebx, eax
test ebx, ebx
jne 0x10079250
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push 0
push 0x1115
mov dword [esp + 0x28], 0x100790f0
push dword [eax + 8]
mov dword [esp + 0x30], 0
call esi
push 0x2001f
push str.Software360WallPaperOpenShellStartMenuOrder
push SysReAllocString
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.10013210
test eax, eax
je 0x10079361
sub esp, 8
lea ecx, [esp + 0x20]
push 0x2001f
sub esp, 8
push str.Software360WallPaperOpenShellStartMenuOrder
push SysReAllocString
call fcn.100380f0
push dword [esp + 0xc]
lea eax, [esp + 0x54]
push str._08X
push 0x64
push eax
call fcn.100a4830
add esp, 0x10
cmp byte [ebp + 0x14], 0
je 0x10079390
push 4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x4155544f
push eax
jmp 0x100793aa
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, eax
jne 0x100793a3
push 0
push 0
jmp 0x100793aa
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x58]
push 3
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x100793c9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d4906
mov esp, ebp
pop ebp
ret 0x14