Function at 0x10005310
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10020e28
push 0x1000aa00
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [section..data]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x228], esi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x238], edi
push str.Shell_IDList_Array
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x230], 0
mov ecx, dword [edi]
lea eax, [ebp - 0x230]
push eax
push 1
push edi
call dword [ecx + 0x20]
mov ecx, dword [ebp - 0x230]
test ecx, ecx
je 0x100055a4
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
xor eax, eax
mov word [ebp - 0x270], ax
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x26c], xmm0
mov dword [ebp - 0x234], eax
jmp 0x100053c0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
lea edx, [ebp - 0x234]
push edx
lea edx, [ebp - 0x270]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10005598
cmp dword [ebp - 0x234], eax
jbe 0x10005598
movzx eax, word [ebp - 0x270]
cmp dword [ebp - 0x248], eax
jne 0x10005598
mov eax, dword [edi]
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x270]
push ecx
push edi
call dword [eax + 0xc]
test eax, eax
jne 0x100053c0
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov dword [ebp - 0x244], edi
test edi, edi
je 0x10005580
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp dword [ebp - 0x22c], 0
je 0x10005574
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
add eax, edi
mov dword [ebp - 0x23c], eax
xor esi, esi
mov dword [ebp - 0x250], esi
cmp esi, dword [edi]
jae 0x1000555b
xor ecx, ecx
mov edx, dword [edi + esi*4 + 8]
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffffc
cmp edx, eax
jae 0x100054a5
lea ecx, [edx + edi]
push ecx
push dword [ebp - 0x23c]
call dword [sym.imp.SHELL32.dll_ILCombine]
mov edi, eax
test edi, edi
je 0x10005546
cmp word [edi], 0
jbe 0x10005546
mov dword [ebp - 0x378], 0
push 0x104
push 0
lea eax, [ebp - 0x374]
push eax
call fcn.1000b770
add esp, 0xc
mov dword [ebp - 0x378], 0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
lea edx, [ebp - 0x378]
push edx
push 0x8000
push edi
push eax
call dword [ecx + 0x2c]
test eax, eax
jne 0x10005524
mov edx, dword [ebp - 0x228]
lea edx, [edx + 0x520]
mov ecx, dword [ebp - 0x374]
call fcn.10005250
mov eax, dword [ebp - 0x374]
test eax, eax
je 0x1000553f
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x374], 0
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
inc esi
mov edi, dword [ebp - 0x244]
jmp 0x10005481
mov dword [ebp - 4], 0xfffffffe
mov esi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov edi, dword [ebp - 0x238]
jmp 0x100053c0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push eax
lea eax, [ebp - 0x222]
push eax
call fcn.1000b770
add esp, 0xc
add esi, 0x520
push 0x104
lea eax, [ebp - 0x224]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov edi, dword [ebp - 0x228]
add edi, 0x218
push 0x308
push 0
push edi
call fcn.1000b770
add esp, 0xc
mov dword [ebp - 0x240], 0x308
mov ecx, 0x1001a270
mov edx, 0xc
jmp 0x10005610
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10005644
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10005610
mov eax, 0x80004005
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10009163
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x240]
push eax
push edi
push 0
lea eax, [ebp - 0x224]
push eax
push str.SoftwareZhuoXiuThemeIcon
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10005621
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jl 0x10005621
xor eax, eax
jmp 0x10005626