Function at 0x100793e0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fb6b1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xfc], esi
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 3
push 0x110a
push dword [esi + 8]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], ecx
call edi
mov dword [ebp - 0xec], eax
test eax, eax
je 0x100794a7
mov dword [ebp - 0x134], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 4
push eax
push 0
push 0x113e
push dword [esi + 8]
movups xmmword [ebp - 0x130], xmm0
movups xmmword [ebp - 0x120], xmm0
call edi
mov eax, dword [ebp - 0x114]
cmp byte [eax + 0x18], 0
jne 0x1007982d
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x108], ecx
jmp 0x100794c6
cmp byte [esi + 0x37], 0
jne 0x1007982d
mov edx, 0x811c9dc5
mov ecx, 0x10113de8
call fcn.100b3790
mov dword [ebp - 0x108], eax
xor esi, esi
mov dword [ebp - 0xf8], 0
xor edi, edi
mov dword [ebp - 0x100], esi
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xf0], esi
mov eax, dword [ebp - 0xec]
mov dword [ebp - 4], esi
test eax, eax
je 0x100794f8
push eax
push 4
jmp 0x100794fc
push 0
push 0
mov eax, dword [ebp - 0xfc]
push 0x110a
push dword [eax + 8]
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
mov dword [ebp - 0xec], eax
test eax, eax
je 0x1007982d
nop
mov dword [ebp - 0x134], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 4
push eax
mov eax, dword [ebp - 0xfc]
push 0
push 0x113e
movups xmmword [ebp - 0x130], xmm0
push dword [eax + 8]
movups xmmword [ebp - 0x120], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0xec], ecx
jne 0x100796a9
mov dword [ebp - 0xe8], 0
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0x110]
push 0x10103e10
push dword [eax + 0x10]
call dword [sym.imp.SHELL32.dll_SHCreateItemFromIDList]
test eax, eax
js 0x10079807
mov dword [ebp - 0xe4], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0xe8]
push edx
push 0x80018001
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
jns 0x100795f0
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x100797ec
mov esi, dword [ebp - 0xe4]
test esi, esi
je 0x10079607
push esi
call dword [sym.imp.USER32.dll_CharUpperW]
mov esi, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x104]
cmp byte [eax + 0x19], 0
je 0x10079624
mov edx, 0x811c9dc5
mov ecx, 0x1010fc7c
call fcn.100b3790
jmp 0x10079629
mov eax, 0x811c9dc5
mov edx, eax
mov ecx, esi
call fcn.100b3790
mov esi, dword [ebp - 0x100]
mov dword [ebp - 0x104], eax
cmp esi, edi
je 0x1007964f
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0xf4], edi
jmp 0x10079674
lea eax, [ebp - 0x104]
push eax
push edi
lea ecx, [ebp - 0xf8]
call fcn.10012820
mov esi, dword [ebp - 0xf0]
mov edi, dword [ebp - 0xf4]
mov dword [ebp - 0x100], esi
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x10079685
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0xe4], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x100796a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
jmp 0x100796f3
cmp byte [eax + 0x19], 0
je 0x100796b4
mov eax, dword [eax + 4]
jmp 0x100796b7
mov eax, dword [eax + 8]
mov dword [ebp - 0xe8], eax
cmp esi, edi
je 0x100796ce
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0xf4], edi
jmp 0x100796f3
lea eax, [ebp - 0xe8]
push eax
push edi
lea ecx, [ebp - 0xf8]
call fcn.10012820
mov esi, dword [ebp - 0xf0]
mov edi, dword [ebp - 0xf4]
mov dword [ebp - 0x100], esi
push dword [ebp - 0xec]
mov eax, dword [ebp - 0xfc]
push 1
push 0x110a
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xec], eax
test eax, eax
jne 0x10079520
mov esi, dword [ebp - 0xf8]
cmp esi, edi
je 0x100797c1
push 0x2001f
push str.Software360WallPaperOpenShellStartMenuOrder
push SysReAllocString
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
call fcn.10013210
test eax, eax
je 0x1007977b
sub esp, 8
lea ecx, [ebp - 0xf8]
push 0x2001f
sub esp, 8
push str.Software360WallPaperOpenShellStartMenuOrder
push SysReAllocString
call fcn.100380f0
push dword [ebp - 0x108]
lea eax, [ebp - 0xe0]
push str._08X
push 0x64
push eax
call fcn.100a4830
add esp, 0x10
lea eax, [ebp - 0xe0]
sub edi, esi
and edi, 0xfffffffc
push edi
mov edi, dword [ebp - 0xf8]
push esi
push 3
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x100797c1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1007982d
mov ecx, dword [ebp - 0x100]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10079823
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007984d
jmp 0x10079823
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x100797fd
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0xe4], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x1007981b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0xf8]
jmp 0x100797c1
push ecx
push esi
call fcn.100d4917
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.100dca69
int3