Function at 0x498ffa
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 + 0x6650]
call edi
xor ebx, ebx
cmp byte [ebp + 8], bl
je 0x4991dc
cmp dword [esi + 0x666c], 1
je 0x499034
or eax, 0xffffffff
jmp 0x499222
lea ecx, [esi + 0x66d4]
mov dword [ebp - 8], ecx
cmp dword [ecx], ebx
je 0x499053
mov ecx, dword [esi + 0x66e8]
cmp ecx, dword [esi + 0x6654]
je 0x4990f0
push str.PropChildReflect
push eax
call edi
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x499076
push ebx
push ebx
push 0x5c24
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x6bb498], ebx
jne 0x499086
push 0xfffffffffffffffe
pop eax
jmp 0x499222
push dword [esi + 0x6658]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x49909a
push 0xfffffffffffffffd
jmp 0x499080
push dword [esi + 0x6658]
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
je 0x4990ae
push 0xfffffffffffffffc
jmp 0x499080
push dword [ebp - 8]
push dword [esi + 0x6658]
push dword [esi + 0x6654]
call fcn.0048187b
add esp, 0xc
cmp eax, ebx
jne 0x499222
push dword [esi + 0x6658]
push str.PropChildThumbnail
push dword [esi + 0x6650]
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esi + 0x6654]
mov dword [esi + 0x66e8], 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 + 0x6650]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x6654]
call edi
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x6654]
call edi
lea edi, [esi + 0x66d8]
push edi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x499220
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 [0x63a5b0], ebx
je 0x4991a1
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 0x49919b
cmp dword [ebp + 8], esi
jne 0x4991a8
or dword [ebp - 0x50], 2
jmp 0x4991a8
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.00481909
pop ecx
pop ecx
jmp 0x499222
mov ecx, dword [esi + 0x66d4]
cmp ecx, ebx
je 0x499220
cmp eax, dword [esi + 0x6658]
jne 0x499220
push ecx
call fcn.004818c6
pop ecx
push ebx
push str.PropChildThumbnail
push dword [esi + 0x6650]
call dword [sym.imp.USER32.dll_SetPropW]
push ebx
push ebx
push 0xffffffffffffffff
mov dword [esi + 0x66d4], ebx
push 0xffffffffffffffff
add esi, 0x66d8
push esi
call dword [sym.imp.USER32.dll_SetRect]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4