Function at 0x1002cdc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
add dword [ebp - 0x18], 0xab2c8000
mov eax, 0x2aaaaaab
mov ecx, dword [0x1014c050]
adc dword [ebp - 0x14], 0xfffffe6d
xor edi, edi
mov ebx, dword [0x1014c04c]
sub ecx, ebx
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1002ce74
xor esi, esi
nop
lea eax, [esi + 4]
add eax, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, dword [0x1014c050]
test eax, eax
jle 0x1002ce54
mov eax, dword [0x1014c04c]
add eax, esi
lea edx, [eax + 0xc]
sub ecx, edx
push ecx
push edx
push eax
call fcn.100d6930
mov ecx, dword [0x1014c050]
add esp, 0xc
sub ecx, 0xc
dec edi
mov dword [0x1014c050], ecx
sub esi, 0xc
mov ebx, dword [0x1014c04c]
mov eax, 0x2aaaaaab
sub ecx, ebx
inc edi
imul ecx
add esi, 0xc
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1002ce10
mov eax, dword [ebp + 8]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x1002cf7f
mov eax, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [0x1014c050]
mov eax, 0x2aaaaaab
mov ebx, dword [0x1014c04c]
mov dword [ebp - 0x1c], ecx
sub ecx, ebx
imul ecx
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
test edi, edi
jle 0x1002cee2
mov edx, dword [ebp - 0x10]
mov eax, edi
sar eax, 1
lea ecx, [eax + eax*2]
cmp dword [ebx + ecx*4], edx
lea ecx, [ebx + ecx*4]
jae 0x1002cedc
lea ebx, [ecx + 0xc]
or ecx, 0xffffffff
sub ecx, eax
add edi, ecx
jmp 0x1002cede
mov edi, eax
test edi, edi
jg 0x1002cec1
mov ecx, dword [ebp - 0x1c]
cmp ebx, ecx
je 0x1002cefd
mov eax, dword [ebx]
cmp eax, dword [esi]
jne 0x1002cefd
mov eax, dword [ebp - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
jmp 0x1002cf70
cmp dword [0x1014c054], ecx
je 0x1002cf61
movq xmm0, qword [ebp - 0x10]
cmp ebx, ecx
jne 0x1002cf21
movq qword [ecx], xmm0
mov eax, dword [ebp - 8]
mov dword [ecx + 8], eax
add dword [0x1014c050], 0xc
jmp 0x1002cf70
mov edi, dword [ebp - 8]
movq qword [ebp - 0x20], xmm0
movq xmm0, qword [ecx - 0xc]
movq qword [ecx], xmm0
mov eax, dword [ecx - 4]
mov dword [ecx + 8], eax
mov eax, ecx
add dword [0x1014c050], 0xc
sub eax, ebx
sub eax, 0xc
push eax
sub ecx, eax
push ebx
push ecx
call fcn.100d6930
movq xmm0, qword [ebp - 0x20]
add esp, 0xc
movq qword [ebx], xmm0
mov dword [ebx + 8], edi
jmp 0x1002cf70
lea eax, [ebp - 0x10]
mov ecx, 0x1014c04c
push eax
push ebx
call fcn.10036340
mov eax, dword [ebp + 8]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x1002ce82
push 0x2001f
push str.Software360WallPaperOpenShellStartMenu
push SysReAllocString
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.10013210
test eax, eax
je 0x1002cfcc
sub esp, 8
lea ecx, [ebp - 0x10]
push 0x2001f
sub esp, 8
push str.Software360WallPaperOpenShellStartMenu
push SysReAllocString
call fcn.100380f0
mov esi, dword [0x1014c04c]
mov ecx, dword [0x1014c050]
cmp esi, ecx
jne 0x1002cfe2
push 0
push 0
jmp 0x1002cffc
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
shl eax, 2
push eax
push esi
mov esi, dword [ebp - 0x10]
push 3
push 0
push str.OldItems
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x1002d01a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d4906
mov esp, ebp
pop ebp
ret 4