Function at 0x100a04f5
Capabilities:
Change the wallpaper
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c300d
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x1010f048]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x5c], esi
mov eax, dword [ebp + 8]
add eax, 0x6c
lea edi, [esi + 4]
call fcn.10019a38
mov ebx, eax
mov eax, edi
call fcn.100a0fb7
cmp eax, ebx
sete al
test al, al
jne 0x100a0555
push 3
pop eax
call fcn.1000bbb8
mov eax, edi
call fcn.100a0fb7
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], ebx
jbe 0x100a09a7
jmp 0x100a0576
mov esi, dword [esp + 0x5c]
xor ebx, ebx
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x24]
mov edi, dword [eax + ecx*4]
push dword [ebp + 0xc]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
push dword [0x1010ff1c]
mov eax, edi
call fcn.1008c18b
mov esi, eax
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x14]
push eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x70]
push eax
call fcn.1009fd16
push dword [0x1010ff04]
mov eax, edi
call fcn.1008c18b
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov dword [esp + 0x6c], ecx
fld dword [esp + 0x6c]
mov dword [esp + 0x70], eax
fsub dword [esp + 0x7c]
add esp, 0xc
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x64]
lea esi, [esp + 0x9c]
fstp dword [esp + 0x68]
call fcn.1001a33c
mov eax, dword [ebp + 0xc]
push dword [eax]
lea esi, [esp + 0x4c]
call fcn.10017bba
mov dword [esp + 0xc0], ebx
mov eax, dword [str.style:menubar.menuitem.text_normal]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.1008b5b7
push ebx
push 0x10116d58
push 0x10116dac
mov byte [esp + 0xd4], 1
push ebx
push dword [esp + 0x70]
call sub.MSVCR80.dll___RTDynamicCast
mov eax, dword [eax + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xc4]
add esp, 0x1c
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
mov dword [esp + 0x34], ebx
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x2c], eax
push dword [ebp + 8]
lea esi, [esp + 0x2c]
mov byte [esp + 0xc4], 2
call fcn.1009fccd
mov esi, dword [0x10117aa8]
pop ecx
call fcn.1000d4d4
mov ebx, dword [eax]
mov esi, str.brush:cs.text.shadow.fill_active.alt
lea edi, [esp + 0xac]
mov dword [esp + 0x1c], eax
add ebx, 0xc
call fcn.100a5f7c
push dword [eax]
mov ecx, dword [esp + 0x20]
call dword [ebx]
mov esi, eax
fld dword [esi + 0xc]
push ecx
fmul qword [0x100e4d80]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001ab39
fld dword [esi + 8]
mov bl, al
fmul qword [0x100e4d80]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001ab39
fld dword [esi + 4]
mov byte [esp + 0x1c], al
fmul qword [0x100e4d80]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001ab39
fld dword [esi + 0x10]
mov byte [esp + 0x18], al
fmul qword [0x100e4d80]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001ab39
pop ecx
xor ecx, ecx
mov ch, al
movzx eax, byte [esp + 0x18]
lea esi, [esp + 0x74]
mov cl, byte [esp + 0x14]
shl ecx, 8
or ecx, eax
movzx eax, bl
shl ecx, 8
or ecx, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.10031536
xor edi, edi
push edi
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0xc8], 3
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push edi
push 0x4a
mov dword [esp + 0x50], edi
call esi
push eax
call fcn.100073ec
cmp dword [esp + 0x44], edi
pop ecx
setne al
test al, al
je 0x100a07c9
push edi
lea eax, [esp + 0x14]
push eax
push edi
push 0x200a
mov dword [esp + 0x20], edi
call esi
push eax
call fcn.100073ec
cmp dword [esp + 0x14], 2
pop ecx
sete al
test al, al
je 0x100a07c9
push 5
push dword [esp + 0x4c]
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, edi
je 0x100a07c9
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x44]
mov eax, edi
call fcn.1000e712
lea ecx, [esp + 0x30]
push ecx
push eax
call fcn.1000e727
mov edi, dword [esp + 0x28]
push eax
lea eax, [esp + 0x80]
lea ecx, [esp + 0x34]
lea esi, [esp + 0x54]
call fcn.100a1117
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
mov esi, str.brush:cs.text.label.fill_menu
lea edi, [esp + 0xb0]
add ebx, 0xc
call fcn.100a5f7c
push dword [eax]
mov ecx, dword [esp + 0x20]
call dword [ebx]
mov esi, eax
fld dword [esi + 0xc]
push ecx
fmul qword [0x100e4d80]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001ab39
fld dword [esi + 8]
mov bl, al
fmul qword [0x100e4d80]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001ab39
fld dword [esi + 4]
mov byte [esp + 0x18], al
fmul qword [0x100e4d80]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001ab39
fld dword [esi + 0x10]
mov byte [esp + 0x1c], al
fmul qword [0x100e4d80]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001ab39
pop ecx
xor ecx, ecx
mov ch, al
movzx eax, byte [esp + 0x14]
lea esi, [esp + 0x80]
mov cl, byte [esp + 0x18]
shl ecx, 8
or ecx, eax
movzx eax, bl
shl ecx, 8
or ecx, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.10031536
mov eax, dword [esp + 0x30]
fld dword [esp + 0x3c]
mov dword [esp + 0x8c], eax
fadd dword [esp + 0x34]
fstp dword [esp + 0x1c]
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
fstp dword [esp + 0x10]
fld dword [esp + 0x34]
fsub qword [0x100e4d60]
fstp dword [esp + 0x90]
fld dword [esp + 0x10]
fsub dword [esp + 0x30]
fstp dword [esp + 0x94]
fld dword [esp + 0x1c]
fsub dword [esp + 0x34]
mov edi, dword [esp + 0x44]
fstp dword [esp + 0x98]
mov eax, edi
call fcn.1000e712
lea ecx, [esp + 0x8c]
push ecx
push eax
call fcn.1000e727
mov edi, dword [esp + 0x28]
push eax
mov eax, esi
lea ecx, [esp + 0x34]
lea esi, [esp + 0x54]
call fcn.100a1117
push dword [esp + 0x84]
mov esi, vtable.Gdiplus::Brush.0
mov dword [esp + 0x84], esi
call sub.gdiplus.dll_GdipDeleteBrush
push dword [esp + 0x78]
mov dword [esp + 0x78], esi
call sub.gdiplus.dll_GdipDeleteBrush
push dword [esp + 0x28]
call sub.gdiplus.dll_GdipDeleteStringFormat
mov byte [esp + 0xc0], 0
mov ecx, dword [esp + 0x58]
test ecx, ecx
mov dword [esp + 0x54], vtable.dvaui::utility::SharedPImpl_struct_dvaui::drawbot::FontInterface_.0
je 0x100a0984
call fcn.1001de8d
or dword [esp + 0xc0], 0xffffffff
push dword [esp + 0x48]
call sub.gdiplus.dll_GdipDeleteGraphics
inc dword [esp + 0x24]
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x50]
jb 0x100a0570
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8