Function at 0x67936140
Capabilities:
Change the wallpaper

Disassembly:
sub esp, 0x218
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x34]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x67936197
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
xor edi, edi
add esi, 0xb4
push edi
call ebx
mov dword [esi - 0x7c], eax
mov eax, dword [esi]
test eax, eax
mov dword [esi], 0
je 0x67936183
push eax
call ebp
inc edi
add esi, 4
cmp edi, 0x1f
jl 0x6793616e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
push str.SYSMETRICS
mov dword [esi + 0x164], 1
call sym.MfcHlpr520.dll_public:_static_unsigned_int___cdecl_CMHPSkinManagerSchema::GetClassCode_char_const__
mov dword [esp + 0x20], eax
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0xd8]
add esp, 4
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xd4]
push eax
push ecx
push 0x154
push 0x29
mov dword [esp + 0xe4], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ebx, [esi + 4]
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectA]
lea edx, [esp + 0xec]
push edx
call edi
push eax
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::Attach
lea ebp, [esi + 0x14]
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea eax, [esp + 0x130]
push eax
call edi
push eax
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::Attach
lea ebp, [esi + 0xc]
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x174]
push ecx
call edi
push eax
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esi + 0x130]
push 0
push eax
push 0
push 5
mov dword [eax], 1
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
call edi
push 6
mov dword [esi + 0x134], eax
call edi
push 0x2d
mov dword [esi + 0x138], eax
call edi
push 0x2e
mov dword [esi + 0x13c], eax
call edi
push 0x15
mov dword [esi + 0x140], eax
call edi
push 3
mov dword [esi + 0x144], eax
call edi
push 2
mov dword [esi + 0x148], eax
call edi
push 0x14
mov dword [esi + 0x14c], eax
call edi
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x150], eax
push 4
mov eax, dword [edx + 0x40]
mov dword [esp + 0x14], eax
call edi
lea ebp, [esi + 0x154]
push 0x33
mov dword [esi + 0x15c], eax
mov dword [ebp], eax
call edi
lea edi, [esi + 0x158]
mov dword [esi + 0x160], eax
mov dword [edi], eax
mov al, byte [esp + 0x10]
test al, 1
je 0x67936433
mov ecx, dword [esp + 0x1c]
push ebp
push 0x4b5
push 0
push 0
push ecx
mov ecx, dword [esp + 0x2c]
call sym.MfcHlpr520.dll_public:_long_int___thiscall_CMHPSkinManagerSchema::GetIntProperty_unsigned_int__int__int__int__int__
mov edx, dword [ebp]
mov ecx, dword [esp + 0x18]
inc edx
push edi
mov dword [ebp], edx
mov ebp, dword [esp + 0x20]
push 0x4b7
push 0
push 0
push ebp
call sym.MfcHlpr520.dll_public:_long_int___thiscall_CMHPSkinManagerSchema::GetIntProperty_unsigned_int__int__int__int__int__
mov eax, dword [edi]
lea edx, [esp + 0x10]
inc eax
push edx
mov dword [edi], eax
mov edi, dword [esp + 0x1c]
xor eax, eax
push 0x4b2
push eax
push eax
push ebp
mov ecx, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call sym.MfcHlpr520.dll_public:_long_int___thiscall_CMHPSkinManagerSchema::GetIntProperty_unsigned_int__int__int__int__int__
test eax, eax
jl 0x6793635d
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x6793635d
mov dword [esi + 0x14c], eax
mov dword [esi + 0x144], eax
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push 0x4b3
push 0
push 0
push ebp
call sym.MfcHlpr520.dll_public:_long_int___thiscall_CMHPSkinManagerSchema::GetIntProperty_unsigned_int__int__int__int__int__
test eax, eax
jl 0x6793638b
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x6793638b
mov dword [esi + 0x150], eax
mov dword [esi + 0x148], eax
lea ecx, [esp + 0x20]
push ecx
push 0x321
push 0
push 0
push ebp
mov ecx, edi
call sym.MfcHlpr520.dll_public:_long_int___thiscall_CMHPSkinManagerSchema::GetFontProperty_unsigned_int__int__int__int__struct_tagLOGFONTA__
test eax, eax
jl 0x679363bf
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x98]
mov ecx, edi
push eax
push 0x322
push 0
push 0
push ebp
call sym.MfcHlpr520.dll_public:_long_int___thiscall_CMHPSkinManagerSchema::GetFontProperty_unsigned_int__int__int__int__struct_tagLOGFONTA__
test eax, eax
jl 0x679363fc
lea ebx, [esi + 0x14]
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x5c]
mov ecx, edi
push edx
push 0x323
push 0
push 0
push ebp
call sym.MfcHlpr520.dll_public:_long_int___thiscall_CMHPSkinManagerSchema::GetFontProperty_unsigned_int__int__int__int__struct_tagLOGFONTA__
test eax, eax
jl 0x67936433
lea edi, [esi + 0xc]
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
xor ebp, ebp
mov dword [esp + 0x10], 0x679b2b00
lea edi, [esi + 0xb4]
mov eax, dword [esp + 0x1c]
mov ebx, dword [edi - 0x7c]
lea ecx, [esp + 0x14]
lea edx, [ebp + 0x641]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push 0
push 0
push eax
mov dword [edi - 0x7c], 0xffffffff
call sym.MfcHlpr520.dll_public:_long_int___thiscall_CMHPSkinManagerSchema::GetColorProperty_unsigned_int__int__int__int__unsigned_long_int__
test eax, eax
jge 0x67936486
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
mov edx, dword [ecx]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x18], edx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPSkinManager::ApplyColorFilter_unsigned_long_int__
mov ecx, dword [esp + 0x14]
cmp ebx, ecx
mov dword [edi - 0x7c], ecx
jne 0x67936496
cmp dword [edi], 0
jne 0x679364b6
mov eax, dword [edi]
mov dword [edi], 0
test eax, eax
je 0x679364ad
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
inc ebp
add eax, 4
add edi, 4
cmp eax, sym.MfcHlpr520.dll_const_CMHPSkinManagerModuleList::vftable
mov dword [esp + 0x10], eax
jl 0x67936443
mov eax, dword [esi + 0x90]
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x78]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x8c]
xor edi, edi
cmp eax, edi
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], ecx
je 0x67936501
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esi + 0x74]
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x6793651f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x24], edi
mov dword [esi + 0x164], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret