Function at 0x1005ede0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100faa97
mov eax, dword fs:[0]
push eax
sub esp, 0x108
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
mov ebx, ecx
test dword [ebx + 0x3c], 0x400
mov byte [ebp - 0xd9], 0
je 0x1005f0c2
cmp dword [ebx + 0x60], 0
je 0x1005f0c2
push fcn.10010820
push fcn.10010800
push 2
push 0xc
lea eax, [ebp - 0x114]
push eax
call fcn.100d4cab
mov dword [ebp - 4], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
push 0x20019
push str.Software360WallPaperOpenShellStartMenuOrder
push SysReAllocString
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 1
call fcn.10013210
mov edi, dword [ebp - 0xec]
test eax, eax
jne 0x1005efae
push dword [ebx + 0x60]
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xe0], 0
push str._08X
push 0x64
push eax
call fcn.100a4830
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xe0]
add esp, 0x10
push eax
push 0
lea eax, [ebp - 0xfc]
push eax
push 0
lea eax, [ebp - 0xd8]
push eax
push edi
call esi
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x1005ef22
test al, 3
jne 0x1005ef22
lea ecx, [ebp - 0x114]
shr eax, 2
push ecx
push eax
call fcn.100126e0
lea eax, [ebp - 0xe0]
push eax
push dword [ebp - 0x114]
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xec]
call fcn.100381e0
mov byte [ebp - 0xd9], 1
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x1005efae
push eax
push str._08X
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xe0], 0
push 0x64
push eax
call fcn.100a4830
add esp, 0x10
lea eax, [ebp - 0xe0]
push eax
push 0
lea eax, [ebp - 0xfc]
push eax
push 0
lea eax, [ebp - 0xd8]
push eax
push edi
call esi
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x1005efae
test al, 3
jne 0x1005efae
lea ecx, [ebp - 0x108]
shr eax, 2
push ecx
push eax
call fcn.100126e0
lea eax, [ebp - 0xe0]
push eax
push dword [ebp - 0x108]
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xec]
call fcn.100381e0
mov byte [ebp - 0xd9], 1
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x114]
sub eax, ecx
sar eax, 2
cmp eax, 1
jne 0x1005f007
cmp dword [ecx], 0x4155544f
jne 0x1005f007
or dword [ebx + 0x3c], 0x2000
mov eax, dword [ebx + 0xa0]
cmp eax, dword [ebx + 0xa4]
je 0x1005f099
nop word [eax + eax]
mov dword [eax + 0x1c], 0
add eax, 0x54
cmp eax, dword [ebx + 0xa4]
jne 0x1005eff0
jmp 0x1005f099
and dword [ebx + 0x3c], 0xffffdfff
mov eax, dword [ebx + 0xa0]
cmp eax, dword [ebx + 0xa4]
je 0x1005f099
cmp byte [eax + 0x32], 0
lea ecx, [ebp - 0x114]
lea edi, [ebp - 0x108]
cmove edi, ecx
xor esi, esi
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
sar ecx, 2
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub ecx, edx
sar ecx, 2
test ecx, ecx
jle 0x1005f077
nop
mov ecx, dword [edx + esi*4]
cmp ecx, dword [eax + 0xc]
je 0x1005f074
cmp ecx, 0x811c9dc5
jne 0x1005f065
mov dword [eax + 0x1c], esi
mov edx, dword [edi]
mov ecx, dword [edi + 4]
inc esi
sub ecx, edx
sar ecx, 2
cmp esi, ecx
jl 0x1005f050
jmp 0x1005f077
mov dword [eax + 0x1c], esi
test dword [ebx + 0x3c], 0x8000
je 0x1005f088
mov ecx, dword [eax + 0x1c]
neg ecx
mov dword [eax + 0x1c], ecx
add eax, 0x54
cmp eax, dword [ebx + 0xa4]
jne 0x1005f020
mov edi, dword [ebp - 0xec]
test edi, edi
je 0x1005f0a4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push fcn.10010820
push 2
push 0xc
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100d4d1f
jmp 0x1005f0e2
mov eax, dword [ebx + 0xa0]
cmp eax, dword [ebx + 0xa4]
je 0x1005f0e2
mov dword [eax + 0x1c], 0
add eax, 0x54
cmp eax, dword [ebx + 0xa4]
jne 0x1005f0d0
test byte [ebx + 0x3c], 0x10
mov edi, dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
je 0x1005f152
mov esi, dword [0x1014e914]
cmp dword [esi], 0
je 0x1005f158
nop dword [eax]
mov eax, dword [esi + 4]
cmp eax, 2
je 0x1005f117
cmp eax, 3
je 0x1005f117
cmp eax, 4
je 0x1005f117
cmp eax, 5
jne 0x1005f12a
push str.SortRecentDocuments
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x1005f134
add esi, 0x60
cmp dword [esi], 0
jne 0x1005f100
jmp 0x1005f152
push 0x10158d3c
call edi
mov esi, dword [esi + 0x40]
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
cmp esi, 2
je 0x1005f1fa
mov esi, dword [0x1014e914]
test byte [ebx + 0x3c], 0x10
je 0x1005f1b8
cmp dword [esi], 0
je 0x1005f1b8
mov eax, dword [esi + 4]
cmp eax, 2
je 0x1005f17a
cmp eax, 3
je 0x1005f17a
cmp eax, 4
je 0x1005f17a
cmp eax, 5
jne 0x1005f18d
push str.SortRecentDocuments
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x1005f197
add esi, 0x60
cmp dword [esi], 0
jne 0x1005f163
jmp 0x1005f1b8
push 0x10158d3c
call edi
mov esi, dword [esi + 0x40]
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov byte [0x1014b626], 1
cmp esi, 1
je 0x1005f1bf
mov byte [0x1014b626], 0
mov esi, dword [ebx + 0xa4]
mov eax, 0x30c30c31
mov edi, dword [ebx + 0xa0]
mov ecx, esi
push dword [ebp - 0xfc]
sub ecx, edi
imul ecx
mov ecx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
push eax
call fcn.100655a0
add esp, 8
mov byte [0x1014b626], 0
mov eax, dword [ebx + 0x3c]
test eax, 0x8000
je 0x1005f21b
push dword [ebx + 0xa4]
push dword [ebx + 0xa0]
call fcn.10062e30
mov eax, dword [ebx + 0x3c]
add esp, 8
and eax, 0x20400
cmp eax, 0x20400
jne 0x1005f39b
cmp byte [ebp - 0xd9], 0
jne 0x1005f39b
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 4], 2
mov esi, dword [ebx + 0xa0]
cmp esi, dword [ebx + 0xa4]
je 0x1005f32c
nop
cmp dword [esi], 0
jne 0x1005f31d
push esi
lea ecx, [ebp - 0xec]
call fcn.10023410
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0xf4]
cmp dword [ebp - 0xf0], edi
je 0x1005f2e4
mov ecx, dword [ebp - 0xec]
lea ecx, [ecx - 0x10]
call fcn.10021e50
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp - 0xe8]
mov dword [edi + 4], eax
movzx eax, byte [ebp - 0xe4]
mov byte [edi + 8], al
movzx eax, byte [ebp - 0xe3]
mov byte [edi + 9], al
movzx eax, byte [ebp - 0xe2]
mov byte [edi + 0xa], al
movzx eax, byte [ebp - 0xe1]
mov byte [edi + 0xb], al
add dword [ebp - 0xf4], 0xc
jmp 0x1005f2f7
lea eax, [ebp - 0xec]
push eax
push edi
lea ecx, [ebp - 0xf8]
call fcn.10026dd0
mov edx, dword [ebp - 0xec]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005f319
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0x54
cmp esi, dword [ebx + 0xa4]
jne 0x1005f270
lea eax, [ebp - 0xf8]
mov ecx, ebx
push eax
call fcn.1005ebb0
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
je 0x1005f39b
mov edx, dword [ebp - 0xf4]
push ecx
call fcn.10027080
mov ecx, dword [ebp - 0xf0]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xf8]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x1005f391
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005f3b7
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
ret
call fcn.100dca69
int3