Function at 0x100c38f0
Capabilities:
Extract resource via kernel32 functions
Query or enumerate registry value
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 0x10100351
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
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 eax, dword [ebx + 8]
push 0
push eax
movups xmm0, xmmword [eax]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xe8], ecx
movups xmmword [ebp - 0x154], xmm0
call fcn.100d4917
add esp, 8
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0
push 0x15752a00
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
call fcn.100f5e60
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
push 0x2001f
push str.Software360WallPaperOpenShellOpenShell
push SysReAllocString
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], 0
call fcn.10013210
test eax, eax
mov eax, dword [ebp - 0x100]
je 0x100c39d4
mov byte [0x10158d39], 0
xor esi, esi
jmp 0x100c3e6a
mov esi, dword [0x1014be3c]
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x100c39ed
xor edi, edi
jmp 0x100c3a1f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
test ecx, ecx
jne 0x100c3a06
xor edi, edi
jmp 0x100c3a1f
movzx eax, word [ecx + 0x38]
movzx edi, al
movzx eax, word [ecx + 0x3a]
shl eax, 8
or edi, eax
movzx eax, word [ecx + 0x3e]
shl edi, 0x10
or edi, eax
lea ecx, [ebp - 0x138]
call fcn.100bee00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
cmp byte [ebp - 0xe8], 0
sete al
movzx eax, al
push eax
call fcn.100c4f00
mov esi, eax
call fcn.100dcb76
mov ecx, dword [ebp - 0xe4]
imul eax, eax, 0x64
add ecx, 0xffffffce
cdq
and edx, 0x7fff
add eax, edx
sar eax, 0xf
add eax, ecx
test esi, esi
je 0x100c3aad
mov byte [0x10158d39], 0
cmp eax, 0x2ee0
jbe 0x100c3e57
add eax, 0xffffd120
push 4
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0x100]
push 4
push 0
push str.LastUpdateTime
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x100c3e57
mov esi, dword [ebp - 0x100]
push 4
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xe8]
push eax
push 4
push 0
push str.LastUpdateTime
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], 4
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xe4]
push eax
push 0
push str.RemindedVersion
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100c3b14
cmp dword [ebp - 0xe4], 4
jne 0x100c3b14
mov ecx, dword [ebp - 0xec]
jmp 0x100c3b16
xor ecx, ecx
mov eax, dword [ebp - 0x134]
cmp eax, edi
seta byte [ebp - 0x114]
jbe 0x100c3b32
mov byte [ebp - 0x113], 1
cmp eax, ecx
jbe 0x100c3b39
mov byte [ebp - 0x113], 0
push 0xc8
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.100d6eb0
add esp, 0xc
lea ecx, [ebp - 0xe8]
mov edx, str.Language
call fcn.100aa8e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xe8]
cmp dword [eax - 0xc], 0
je 0x100c3b85
push eax
mov edx, 0x63
lea ecx, [ebp - 0xe0]
call fcn.100a4780
add esp, 4
jmp 0x100c3bb6
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xec], 0
push eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe4], 0x64
push eax
lea eax, [ebp - 0xec]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
cmp word [ebp - 0xe0], 0
lea edi, [ebp - 0xe0]
je 0x100c3dc8
nop word [eax + eax]
push 0x10122078
push edi
call fcn.100dc721
add esp, 8
test eax, eax
je 0x100c3dc8
push 3
push 0x10122080
push edi
call fcn.100de265
add esp, 0xc
test eax, eax
je 0x100c3dc8
mov ecx, edi
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe4], 0
call fcn.100ae9e0
mov esi, eax
mov dword [ebp - 0xf0], esi
test esi, esi
je 0x100c3c8f
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x100c3c3c
mov dword [ebp - 0xec], eax
jmp 0x100c3c88
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
test ecx, ecx
jne 0x100c3c59
mov dword [ebp - 0xec], eax
jmp 0x100c3c88
movzx eax, word [ecx + 0x3c]
mov dword [ebp - 0xe4], eax
movzx eax, word [ecx + 0x38]
movzx esi, al
movzx eax, word [ecx + 0x3a]
shl eax, 8
or esi, eax
movzx eax, word [ecx + 0x3e]
shl esi, 0x10
or esi, eax
mov dword [ebp - 0xec], esi
mov esi, dword [ebp - 0xf0]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x10c]
cmp esi, dword [ebp - 0x108]
je 0x100c3cd2
nop dword [eax]
push edi
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x100c3cbc
add esi, 0x1c
cmp esi, dword [ebp - 0x108]
jne 0x100c3ca0
jmp 0x100c3cd2
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xf4], edx
test ecx, ecx
jne 0x100c3cfa
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100c3cd7
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2]
add edi, 2
cmp word [edi], cx
jne 0x100c3bd0
jmp 0x100c3dc8
cmp ecx, dword [ebp - 0xec]
ja 0x100c3d14
jne 0x100c3dc8
cmp edx, dword [ebp - 0xe4]
jbe 0x100c3dc8
mov byte [ebp - 0x112], 1
test edi, edi
jne 0x100c3d23
xor ecx, ecx
jmp 0x100c3d3f
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c3d30
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x110]
call fcn.10021eb0
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf4]
movzx eax, al
movzx ecx, dl
and edx, 0xffff0000
shl ecx, 8
or ecx, eax
mov dword [ebp - 0xf4], 4
lea eax, [ebp - 0xf4]
or ecx, edx
push eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x130], ecx
push eax
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0x100]
push 0
push str.RemindedLangVersion
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100c3db9
cmp dword [ebp - 0xf0], 4
jne 0x100c3db9
mov eax, dword [ebp - 0xe4]
jmp 0x100c3dbb
xor eax, eax
cmp dword [ebp - 0x130], eax
setbe byte [ebp - 0x111]
mov edx, dword [ebp - 0xe8]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100c3dea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x154], 2
mov byte [ebp - 0x138], 1
jne 0x100c3e1c
lea eax, [ebp - 0x138]
push eax
call dword [ebp - 0x14c]
add esp, 4
mov byte [0x10158d39], 0
mov esi, 1
jmp 0x100c3e59
cmp byte [ebp - 0x114], 0
je 0x100c3e2e
cmp byte [ebp - 0x113], 0
je 0x100c3e40
cmp byte [ebp - 0x112], 0
je 0x100c3e50
cmp byte [ebp - 0x111], 0
jne 0x100c3e50
lea eax, [ebp - 0x138]
push eax
call dword [ebp - 0x14c]
add esp, 4
mov byte [0x10158d39], 0
xor esi, esi
lea ecx, [ebp - 0x138]
call fcn.100be920
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x100c3e75
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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 4