Function at 0x10029ad0
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f867c
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov dword [0x1014beb0], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov dword [0x1014b4bc], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [0x1014e914]
mov ebx, dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
cmp dword [esi], 0
je 0x10029b78
nop dword [eax + eax]
mov eax, dword [esi + 4]
cmp eax, 2
je 0x10029b57
cmp eax, 3
je 0x10029b57
cmp eax, 4
je 0x10029b57
cmp eax, 5
jne 0x10029b6a
push str.OverrideDPI
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x10029b95
add esi, 0x60
cmp dword [esi], 0
jne 0x10029b40
mov esi, dword [0x1014e914]
xor edi, edi
mov dword [0x1014b4c0], edi
test edi, edi
je 0x10029bc2
cmp edi, 0x60
jge 0x10029bb2
mov dword [0x1014b4c0], 0x60
jmp 0x10029bc2
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov edi, dword [esi + 0x40]
push 0x10158d3c
call ebx
mov esi, dword [0x1014e914]
jmp 0x10029b7a
mov eax, 0x1e0
cmp edi, eax
cmovg edi, eax
mov dword [0x1014b4c0], edi
cmp dword [esi], 0
je 0x10029c03
mov eax, dword [esi + 4]
cmp eax, 2
je 0x10029bde
cmp eax, 3
je 0x10029bde
cmp eax, 4
je 0x10029bde
cmp eax, 5
jne 0x10029bf5
push str.SmallIconSize
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x10029ce7
add esi, 0x60
cmp dword [esi], 0
jne 0x10029bc7
mov esi, dword [0x1014e914]
xor edi, edi
cmp dword [esi], 0
mov dword [0x1014b4c8], edi
je 0x10029c46
mov eax, dword [esi + 4]
cmp eax, 2
je 0x10029c27
cmp eax, 3
je 0x10029c27
cmp eax, 4
je 0x10029c27
cmp eax, 5
jne 0x10029c3e
push str.LargeIconSize
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x10029d08
add esi, 0x60
cmp dword [esi], 0
jne 0x10029c10
mov edi, dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
xor esi, esi
mov dword [0x1014b4c4], esi
call fcn.1009e3f0
mov esi, dword [0x1014e914]
mov dword [0x1014c024], eax
cmp dword [esi], 0
je 0x10029c95
nop dword [eax]
cmp dword [esi + 4], 1
jne 0x10029c8d
push str.InvertMetroIcons
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x10029d24
add esi, 0x60
cmp dword [esi], 0
jne 0x10029c70
xor bl, bl
mov ecx, 0x1014bebc
mov byte [0x10158c54], bl
mov byte [0x1014c028], bl
call fcn.10028ed0
mov dword [ebp - 0x21c], 0
lea edx, [ebp - 0x21c]
mov dword [ebp - 4], 0
mov ecx, 0x10103a80
call fcn.10034820
test eax, eax
js 0x10029d97
mov eax, dword [ebp - 0x21c]
test eax, eax
jne 0x10029d5c
xor edx, edx
jmp 0x10029d70
mov eax, dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
push 0x10158d3c
call eax
mov edi, dword [esi + 0x40]
push 0x10158d3c
call ebx
mov esi, dword [0x1014e914]
jmp 0x10029c05
mov edi, dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
push 0x10158d3c
call edi
mov esi, dword [esi + 0x40]
push 0x10158d3c
call ebx
jmp 0x10029c4e
push 0x10158d3c
call edi
cmp word [esi + 0x38], 3
jne 0x10029d4a
cmp dword [esi + 0x40], 1
jne 0x10029d4a
push 0x10158d3c
mov bl, 1
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x10029c97
push 0x10158d3c
xor bl, bl
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x10029c97
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10029d61
sub edx, esi
sar edx, 1
push edx
push eax
mov ecx, 0x1014c02c
call fcn.10021eb0
push 1
push 0x1010fc7c
mov ecx, 0x1014c02c
call fcn.10035860
mov ecx, 0x1014c02c
call fcn.100b0e50
mov eax, dword [ebp - 0x21c]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, eax
je 0x10029daa
push eax
call ebx
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
mov ecx, 0x10103a40
call fcn.10034820
test eax, eax
js 0x10029e16
mov eax, dword [ebp - 0x21c]
test eax, eax
jne 0x10029dd6
xor edx, edx
jmp 0x10029def
mov edx, eax
lea esi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10029de0
sub edx, esi
sar edx, 1
push edx
push eax
mov ecx, 0x1014c030
call fcn.10021eb0
push 1
push 0x1010fc7c
mov ecx, 0x1014c030
call fcn.10035860
mov ecx, 0x1014c030
call fcn.100b0e50
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x10029e23
push eax
call ebx
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
mov ecx, 0x10103ba0
call fcn.10034820
test eax, eax
js 0x10029e8a
mov eax, dword [ebp - 0x21c]
test eax, eax
jne 0x10029e4f
xor edx, edx
jmp 0x10029e63
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10029e54
sub edx, esi
sar edx, 1
push edx
push eax
mov ecx, 0x1014c038
call fcn.10021eb0
push 1
push 0x1010fc7c
mov ecx, 0x1014c038
call fcn.10035860
mov ecx, 0x1014c038
call fcn.100b0e50
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x10029e97
push eax
call ebx
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
mov ecx, 0x10103990
call fcn.10034820
test eax, eax
js 0x10029f06
mov eax, dword [ebp - 0x21c]
test eax, eax
jne 0x10029ec3
xor edx, edx
jmp 0x10029edf
mov edx, eax
lea esi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10029ed0
sub edx, esi
sar edx, 1
push edx
push eax
mov ecx, 0x1014c040
call fcn.10021eb0
push 1
push 0x1010fc7c
mov ecx, 0x1014c040
call fcn.10035860
mov ecx, 0x1014c040
call fcn.100b0e50
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x10029f13
push eax
call ebx
push 0x29
push str.::ED228FDF_9EA8_4870_83B1_96B02CFE0D52_
mov ecx, 0x1014c03c
mov dword [ebp - 0x21c], 0
call fcn.10021eb0
mov edx, str.PinnedItemsPath
lea ecx, [ebp - 0x230]
call fcn.100aa8e0
push dword [eax]
lea eax, [ebp - 0x218]
push 0x1010f194
push 0x104
push eax
call fcn.100a4830
mov edx, dword [ebp - 0x230]
add esp, 0x10
add edx, 0xfffffff0
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10029f7b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0
push eax
call dword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029fa0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x1014c034
call fcn.10021eb0
mov ecx, dword [0x1014c034]
mov esi, dword [ecx - 0xc]
test esi, esi
js 0x1002a5a5
mov eax, dword [ecx - 8]
mov edi, 1
mov edx, edi
sub eax, esi
sub edx, dword [ecx - 4]
or eax, edx
jge 0x10029ff6
push esi
mov ecx, 0x1014c034
call fcn.10021230
mov ecx, dword [0x1014c034]
mov ebx, dword [sym.imp.USER32.dll_CharUpperW]
push ecx
call ebx
mov eax, dword [0x1014c034]
cmp esi, dword [eax - 8]
jg 0x1002a5a5
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [0x1014c034]
push 0x8e
push str._APPDATA_MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
mov word [eax + esi*2], cx
lea eax, [ebp - 0x218]
push eax
call fcn.100d7080
add esp, 0xc
xor eax, eax
mov word [ebp - 0x18a], ax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002a060
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x1014c044
call fcn.10021eb0
mov ecx, dword [0x1014c044]
mov esi, dword [ecx - 0xc]
test esi, esi
js 0x1002a5af
mov eax, dword [ecx - 8]
mov edx, edi
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x1002a0b1
push esi
mov ecx, 0x1014c044
call fcn.10021230
mov ecx, dword [0x1014c044]
push ecx
call ebx
mov eax, dword [0x1014c044]
cmp esi, dword [eax - 8]
jg 0x1002a5a5
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [0x1014c044]
push 0x6e
push str._LOCALAPPDATA_MicrosoftWindowsApplication_Shortcuts_
mov word [eax + esi*2], cx
lea eax, [ebp - 0x218]
push eax
call fcn.100d7080
add esp, 0xc
xor eax, eax
mov word [ebp - 0x1aa], ax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002a110
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x1014c048
call fcn.10021eb0
mov ecx, dword [0x1014c048]
mov esi, dword [ecx - 0xc]
test esi, esi
js 0x1002a5b9
mov eax, dword [ecx - 8]
sub edi, dword [ecx - 4]
sub eax, esi
or eax, edi
jge 0x1002a15f
push esi
mov ecx, 0x1014c048
call fcn.10021230
mov ecx, dword [0x1014c048]
push ecx
call ebx
mov eax, dword [0x1014c048]
cmp esi, dword [eax - 8]
jg 0x1002a5a5
mov edi, dword [sym.imp.SHELL32.dll_SHGetImageList]
xor ecx, ecx
mov dword [eax - 0xc], esi
mov eax, dword [0x1014c048]
mov word [eax + esi*2], cx
xor esi, esi
mov dword [ebp - 0x224], esi
nop dword [eax]
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push eax
push 0x10103dc0
push esi
call edi
test eax, eax
js 0x1002a20c
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x24c]
push edx
lea edx, [ebp - 0x22c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov ecx, dword [0x1014bfa8]
cmp dword [0x1014bfac], ecx
je 0x1002a1ed
mov eax, dword [ebp - 0x22c]
mov dword [ecx], eax
mov dword [ecx + 4], esi
add dword [0x1014bfa8], 8
jmp 0x1002a20c
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
push ecx
mov ecx, 0x1014bfa4
call fcn.10035980
mov esi, dword [ebp - 0x224]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1002a220
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x224], esi
cmp esi, 4
jle 0x1002a190
mov edx, dword [0x1014bfa8]
mov eax, edx
mov ecx, dword [0x1014bfa4]
sub eax, ecx
mov dword [ebp - 0x238], ecx
push dword [ebp - 0x238]
sar eax, 3
push eax
mov dword [ebp - 0x250], edx
call fcn.100364d0
add esp, 8
call fcn.1002a8c0
call fcn.10031e20
lea ecx, [ebp - 0x2c0]
call fcn.10027fd0
push eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 4
push eax
mov ecx, 0x1014bfb0
mov dword [ebp - 0x234], 0
call fcn.10036700
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x25c]
mov ecx, 0x1014bfb0
push eax
call fcn.10036780
mov esi, dword [ebp - 0x25c]
lea ecx, [ebp - 0x2c0]
call fcn.1002a5d0
mov edi, dword [sym.imp.KERNEL32.dll_InitializeSRWLock]
mov byte [esi + 0x3c], 1
mov eax, dword [0x1014bfdc]
mov dword [esi + 0x18], eax
mov eax, dword [0x1014bfe0]
mov dword [esi + 0x1c], eax
mov eax, dword [0x1014bfe4]
mov dword [esi + 0x20], eax
mov esi, 0x1014be70
push esi
call edi
add esi, 4
cmp esi, 0x1014be78
jl 0x1002a2e6
push 0x1014be78
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [0x1014e914]
cmp dword [esi], 0
je 0x1002a33b
nop word [eax + eax]
cmp dword [esi + 4], 1
jne 0x1002a32d
push str.PreCacheIcons
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x1002a554
add esi, 0x60
cmp dword [esi], 0
jne 0x1002a310
mov esi, dword [0x1014e914]
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
xor bl, bl
mov byte [0x1014c018], bl
cmp dword [esi], 0
je 0x1002a386
nop
mov eax, dword [esi + 4]
cmp eax, 2
je 0x1002a367
cmp eax, 3
je 0x1002a367
cmp eax, 4
je 0x1002a367
cmp eax, 5
jne 0x1002a37e
push str.Favorites
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x1002a58b
add esi, 0x60
cmp dword [esi], 0
jne 0x1002a350
xor esi, esi
push 0
push 0
cmp esi, 2
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 1
sete byte [0x1014c019]
mov dword [0x1014c01c], 2
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [0x1014be94], eax
call esi
push 0
push 0
push 1
push 0
mov dword [0x1014be98], eax
call esi
push 0
push 0
push 1
push 0
mov dword [0x1014be9c], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1014beb4
push 0
push 0x1014be70
push 0x100318b0
push 0
push 0
mov dword [0x1014bea0], eax
call esi
push 0x1014beb8
push 0
push 0x1014be70
push 0x10031b60
push 0
push 0
mov dword [0x1014bea4], eax
call esi
mov dword [0x1014bea8], eax
mov eax, dword [0x1014c04c]
mov dword [0x1014c050], eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
push 0x20019
push str.Software360WallPaperOpenShellStartMenu
push SysReAllocString
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 5
call fcn.10013210
mov ebx, dword [ebp - 0x248]
test eax, eax
jne 0x1002a4e2
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x228]
push eax
push 0
lea eax, [ebp - 0x254]
mov dword [ebp - 0x228], 0
push eax
push 0
push str.OldItems
push ebx
call esi
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x1002a4e2
mov eax, 0xaaaaaaab
mul ecx
shr edx, 3
lea eax, [edx + edx*2]
shl eax, 2
sub ecx, eax
jne 0x1002a4e2
push 0x1014c04c
push edx
mov ecx, 0x1014c04c
call fcn.10035b20
lea eax, [ebp - 0x228]
push eax
push dword [0x1014c04c]
lea eax, [ebp - 0x23c]
push eax
push 0
push str.OldItems
push ebx
call esi
mov esi, dword [0x1014c050]
mov eax, 0x2aaaaaab
mov ecx, dword [0x1014c04c]
sub esi, ecx
push dword [ebp - 0x23c]
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x1014c050]
push eax
call fcn.10036bc0
add esp, 8
test ebx, ebx
je 0x1002a520
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x21c]
mov byte [0x1014bfa0], 1
test eax, eax
je 0x1002a538
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
ret
mov eax, dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
push 0x10158d3c
call eax
cmp word [esi + 0x38], 3
jne 0x1002a571
cmp dword [esi + 0x40], 1
jne 0x1002a571
mov bl, 1
jmp 0x1002a573
xor bl, bl
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
push 0x10158d3c
call edi
mov esi, dword [0x1014e914]
jmp 0x1002a343
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov esi, dword [esi + 0x40]
push 0x10158d3c
call edi
jmp 0x1002a388
push 0x80070057
call fcn.10013970
push 0x80070057
call fcn.10013970
push 0x80070057
call fcn.10013970
int3