Function at 0x4217e6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push str.PropChildThumbnail
push dword [esi + 0x7698]
call edi
xor ebx, ebx
cmp byte [ebp + 8], bl
je 0x4219c8
cmp dword [esi + 0x76b4], 1
je 0x421820
or eax, 0xffffffff
jmp 0x421a0e
lea ecx, [esi + 0x7714]
mov dword [ebp - 8], ecx
cmp dword [ecx], ebx
je 0x42183f
mov ecx, dword [esi + 0x7728]
cmp ecx, dword [esi + 0x769c]
je 0x4218dc
push str.PropChildReflect
push eax
call edi
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x421862
push ebx
push ebx
push 0x5c24
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x64cc5c], ebx
jne 0x421872
push 0xfffffffffffffffe
pop eax
jmp 0x421a0e
push dword [esi + 0x76a0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x421886
push 0xfffffffffffffffd
jmp 0x42186c
push dword [esi + 0x76a0]
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
je 0x42189a
push 0xfffffffffffffffc
jmp 0x42186c
push dword [ebp - 8]
push dword [esi + 0x76a0]
push dword [esi + 0x769c]
call fcn.004a67b1
add esp, 0xc
cmp eax, ebx
jne 0x421a0e
push dword [esi + 0x76a0]
push str.PropChildThumbnail
push dword [esi + 0x7698]
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esi + 0x769c]
mov dword [esi + 0x7728], eax
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x7698]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x769c]
call edi
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x769c]
call edi
lea edi, [esi + 0x7718]
push edi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x421a0c
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
mov dword [ebp - 0x50], 0x1d
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x2c], 0xff
cmp dword [0x5d7888], ebx
je 0x42198d
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push str.Win8DpiScaling
push str.Control_PanelDesktop
push 0x80000001
mov dword [ebp + 8], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x421987
cmp dword [ebp + 8], esi
jne 0x421994
or dword [ebp - 0x50], 2
jmp 0x421994
mov dword [ebp - 0x50], 0x1f
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 8]
push dword [eax]
mov dword [ebp - 0x3c], ebx
call fcn.004a6845
pop ecx
pop ecx
jmp 0x421a0e
mov ecx, dword [esi + 0x7714]
cmp ecx, ebx
je 0x421a0c
cmp eax, dword [esi + 0x76a0]
jne 0x421a0c
push ecx
call fcn.004a67fe
pop ecx
push ebx
push str.PropChildThumbnail
push dword [esi + 0x7698]
call dword [sym.imp.USER32.dll_SetPropW]
push ebx
push ebx
push 0xffffffffffffffff
mov dword [esi + 0x7714], ebx
push 0xffffffffffffffff
add esi, 0x7718
push esi
call dword [sym.imp.USER32.dll_SetRect]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4