Function at 0x100d1110
Capabilities:
Change the wallpaper
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c3fed
mov eax, dword fs:[0]
push eax
sub esp, 0x6ac
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
push 4
call dword [eax + 0x340]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx, dword [ebx + 0x10]
push 5
imul ecx
mov ecx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x18], eax
mov eax, dword [ebx]
call dword [eax + 0x340]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx, dword [ebx + 0x10]
push 6
imul ecx
mov ecx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx]
call dword [eax + 0x340]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx, dword [ebx + 0x10]
push 0x15
imul ecx
mov ecx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x20], eax
mov eax, dword [ebx]
call dword [eax + 0x340]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx, dword [ebx + 0x10]
push 3
imul ecx
mov ecx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x34], eax
mov eax, dword [ebx]
call dword [eax + 0x340]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx, dword [ebx + 0x10]
push 2
imul ecx
mov ecx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x38], eax
mov eax, dword [ebx]
call dword [eax + 0x340]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx, dword [ebx + 0x10]
push 0x14
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebx]
mov dword [ebx + 0x3c], ecx
mov ecx, ebx
call dword [edx + 0x340]
mov ecx, eax
mov dword [ebp - 0x690], 0x1f8
imul ecx, dword [ebx + 0x10]
mov eax, 0x51eb851f
push 0
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x40], eax
lea eax, [ebp - 0x690]
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x680]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x67c]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x61c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x618]
mov dword [ebx + 0x30], eax
call dword [sym.imp.HncFoundation.dll_HncIsDesktop]
test eax, eax
je 0x100d1707
push 4
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
push 0xffff
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.HncFoundation.dll_HncGetResourceExt]
lea eax, [ebp - 0x18]
push 4
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsupr_s]
add esp, 8
lea eax, [ebp - 0x18]
mov ecx, 0x101d54f0
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100d12f6
test dx, dx
je 0x100d12f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100d12f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100d12d0
xor eax, eax
jmp 0x100d12fb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100d1308
mov dword [ebx + 0xc], 1
jmp 0x100d130f
mov dword [ebx + 0xc], 0
xorps xmm0, xmm0
mov dword [ebp - 0x698], 0
lea eax, [ebp - 0x6b0]
movq qword [ebp - 0x6b0], xmm0
mov dword [ebp - 0x6b4], eax
mov dword [ebp - 0x6b8], 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov ecx, ebx
mov dword [ebp - 0x6a8], edi
call fcn.100d1850
call dword [sym.imp.KERNEL32.dll_GetACP]
xor esi, esi
mov dword [ebp - 0x6a0], eax
mov dword [ebp - 0x6a4], esi
nop dword [eax]
test esi, esi
je 0x100d14cc
push 0x5c
lea eax, [ebp - 0x78]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x100d13b3
push 0x48
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x2c4]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
neg edi
mov dword [ebp - 0x78], edi
jmp 0x100d13b6
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x694], edi
cmp esi, 5
jne 0x100d13da
cmp dword [ebx + 0xc], 0
je 0x100d13f2
mov dword [ebp - 0x698], 0x2bc
mov dword [ebp - 0x68], 0x2bc
jmp 0x100d13f9
cmp esi, 6
jne 0x100d13f2
mov dword [ebp - 0x698], 0x320
mov dword [ebp - 0x68], 0x320
jmp 0x100d13f9
mov dword [ebp - 0x68], 0x190
mov byte [ebp - 0x61], 1
call dword [sym.imp.HncFoundation.dll_HncGetWinVersion]
cmp eax, 6
jb 0x100d1436
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100d1443
push str.GetSystemDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100d1443
call eax
movzx eax, ax
mov ecx, 0x412
cmp cx, ax
jne 0x100d1443
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp eax, 0x3b5
je 0x100d146d
cmp dword [ebp - 0x6a0], 0x3b5
je 0x100d146d
imul eax, esi, 0x214
push 0x104
add eax, ebx
mov dword [ebp - 0x69c], eax
add eax, 0x50
push eax
push 0x3a96
jmp 0x100d1489
imul eax, esi, 0x214
push 0x104
add eax, ebx
mov dword [ebp - 0x69c], eax
add eax, 0x50
push eax
push 0x3a92
push dword [0x1023c868]
call dword [sym.imp.HncFoundation.dll_int___stdcall_HncLoadStringWToWSTRUsingRC_Deprecate_struct_HINSTANCE_____unsigned_int__unsigned_short_int___int_]
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x2c8]
test eax, eax
je 0x100d14b4
push eax
lea eax, [ebp - 0x5c]
push 0x20
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.HncBaseDraw.dll__HncCreateFontIndirect_4]
mov ecx, dword [ebp - 0x69c]
mov dword [ecx + 0x48], eax
jmp 0x100d1598
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [ebp - 0x78]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
call dword [sym.imp.HncFoundation.dll_HncGetWinVersion]
cmp eax, 6
jb 0x100d151a
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100d1527
push str.GetSystemDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100d1527
call eax
movzx eax, ax
mov ecx, 0x412
cmp cx, ax
jne 0x100d1527
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp eax, 0x3b5
je 0x100d1580
cmp dword [ebp - 0x6a0], 0x3b5
lea eax, [ebx + 0x50]
push 0x104
push eax
jne 0x100d1543
push 0x3a92
jmp 0x100d1548
push 0x3a96
push dword [0x1023c868]
call dword [sym.imp.HncFoundation.dll_int___stdcall_HncLoadStringWToWSTRUsingRC_Deprecate_struct_HINSTANCE_____unsigned_int__unsigned_short_int___int_]
test edi, edi
je 0x100d158f
push 0x48
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 0x2c4]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
neg edi
mov dword [ebp - 0x78], edi
jmp 0x100d1592
push 0x104
lea eax, [ebx + 0x50]
push eax
call dword [sym.imp.HncBaseDraw.dll_HncGetSysDefaultGUIFont]
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x694], edi
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x2c8]
push 0x420
mov esi, eax
lea eax, [ebp - 0x498]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x488], edi
push 0xffffffffffffffff
push esi
mov word [ebp - 0x47c], ax
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x474]
push 0x40
push eax
mov word [ebp - 0x484], 1
mov byte [ebp - 0x482], 0x64
mov dword [ebp - 0x480], 0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov eax, dword [ebp - 0x698]
lea esi, [ebp - 0x488]
mov ecx, 0x25
lea edi, [ebp - 0x3f4]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x25
lea esi, [ebp - 0x488]
lea edi, [ebp - 0x360]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x25
lea esi, [ebp - 0x488]
lea edi, [ebp - 0x2cc]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x25
lea esi, [ebp - 0x488]
lea edi, [ebp - 0x238]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x25
lea esi, [ebp - 0x488]
lea edi, [ebp - 0x1a4]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x25
lea esi, [ebp - 0x488]
lea edi, [ebp - 0x110]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x6a4]
mov ecx, 0x8000
mov dword [ebp - 0x498], eax
xor eax, eax
cmp esi, 4
push 4
cmove eax, ecx
mov word [ebp - 0x48e], ax
call fcn.100854b0
add esp, 0x20
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.HncBaseDraw.dll_public:_void___thiscall_CHncFont::constructor_void_]
imul edi, esi, 0x214
mov byte [ebp - 4], 0
mov dword [edi + ebx + 0x4c], eax
test eax, eax
je 0x100d16cb
lea ecx, [ebp - 0x498]
push ecx
mov ecx, eax
call dword [sym.imp.HncBaseDraw.dll_public:_int___thiscall_CHncFont::CreateFontEx_struct_tagHNCLOGFONT_const__]
mov eax, dword [ebp - 0x694]
inc esi
neg eax
mov dword [ebp - 0x6a4], esi
mov dword [edi + ebx + 0x44], eax
mov edi, dword [ebp - 0x6a8]
cmp esi, 7
jl 0x100d1370
mov eax, edi
test eax, eax
je 0x100d16fc
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0x6b8]
call fcn.10002630
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret