Function at 0x4a5290
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f7267
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
sub ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
sub edx, dword [eax + 0x28]
push ecx
push edx
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [esp + 0x28]
sub edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
sub esi, dword [esp + 0x1c]
lea eax, [edi - 0x4d]
cdq
sub eax, edx
lea ecx, [esi - 0x48]
sar eax, 1
push 0xb0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x14], eax
xor edx, edx
mov dword [esp + 0x38], edx
cmp eax, edx
je 0x4a534f
push eax
call fcn.0040f9b0
fld1
mov edx, dword [esp + 0x14]
fstp qword [edx + 0xa0]
xor eax, eax
mov dword [edx], vtable.CWallPaperPreviewBackground.0
mov dword [edx + 8], vtable.CWallPaperPreviewBackground.1.0
mov dword [edx + 0x94], eax
mov dword [edx + 0x98], eax
mov dword [edx + 0xa8], eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
push esi
mov esi, edx
mov dword [ebx + 0x3c], edx
call fcn.00410b30
mov esi, dword [ebx + 0x3c]
mov edi, dword [ebp + 8]
call fcn.00410cb0
push 0x532ba8
mov edx, str.previewguanbi.png
call fcn.00405f10
mov edx, dword [esp + 0x18]
push eax
push 0x47
push 0x48
push 0
push edx
mov eax, edi
push 0x4feab8
push eax
mov ecx, 4
call fcn.004021b0
add esp, 0x1c
push 2
push 0x502b64
lea esi, [eax + 0x58]
mov dword [ebx + 0x14], eax
call fcn.00401760
mov edx, dword [ebx + 0x14]
push 0x4a6e70
push ebx
call fcn.00402400
mov edi, dword [esp + 0x2c]
sub edi, dword [esp + 0x24]
add esp, 8
push 0x532ba8
mov edx, str.previewleft.png
sub edi, 0x90
call fcn.00405f10
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
push eax
push 0x90
push 0x90
push ecx
push 0
push 0x4feab8
push edx
mov ecx, 4
call fcn.004021b0
add esp, 0x1c
push 3
push 0x50cf88
lea esi, [eax + 0x58]
mov dword [ebx + 0x44], eax
call fcn.00401760
mov edx, dword [ebx + 0x44]
push 0x4a6e70
push ebx
call fcn.00402400
add esp, 8
push 0x532ba8
mov edx, str.preview_right.png
call fcn.00405f10
push eax
mov eax, dword [esp + 0x14]
push 0x90
push 0x90
push eax
push edi
mov edi, dword [ebp + 8]
push 0x4feab8
push edi
mov ecx, 4
call fcn.004021b0
add esp, 0x1c
mov dword [ebx + 0x40], eax
push 3
push 0x50ce80
lea esi, [eax + 0x58]
call fcn.00401760
mov edx, dword [ebx + 0x40]
push 0x4a6e70
push ebx
call fcn.00402400
push 0xf0
call fcn.004c8f3d
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], 1
test eax, eax
je 0x4a54b0
push ebx
mov esi, eax
call fcn.004a82c0
mov esi, eax
jmp 0x4a54b2
xor esi, esi
mov dword [esp + 0x38], 0xffffffff
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
push 0x32
sub edx, ecx
push edx
add eax, 0xffffffce
mov dword [ebx + 0x48], esi
call fcn.00410b30
mov esi, dword [ebx + 0x48]
call fcn.004a8410
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0x9c]
push 0x4a6ed0
push ebx
push ecx
mov edx, 0x66
call fcn.00410010
mov edx, dword [ebx + 0x48]
mov eax, dword [edx + 0x9c]
add esp, 0xc
push 0x4a6f60
push ebx
push eax
mov edx, 0x67
call fcn.00410010
mov ecx, dword [ebx + 0x48]
mov edx, dword [ecx + 0xb4]
add esp, 0xc
push 0x4a6ed0
push ebx
push edx
mov edx, 0x66
call fcn.00410010
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0xb4]
add esp, 0xc
push 0x4a6f60
push ebx
push ecx
mov edx, 0x67
call fcn.00410010
mov esi, dword [ebx + 0x48]
add esp, 0xc
call fcn.00410cb0
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push 0xa8
sub eax, 0x2a
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
mov esi, eax
add edx, 0xffffff83
sar esi, 1
sub esi, 0x1e
mov dword [esp + 0x14], edx
call fcn.004c8f3d
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], 2
test edi, edi
je 0x4a55ce
push edi
call fcn.0040f9b0
xor eax, eax
mov dword [edi], vtable.CWallPaperPreviewPlayTime.0
mov dword [edi + 8], vtable.CWallPaperPreviewPlayTime.1.0
mov dword [edi + 0x94], eax
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], eax
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], ebx
jmp 0x4a55d0
xor edi, edi
mov eax, dword [esp + 0x10]
push 0x52
mov ecx, esi
mov dword [esp + 0x3c], 0xffffffff
push 0x64
mov esi, edi
mov dword [ebx + 0x4c], edi
call fcn.00410b30
mov eax, dword [ebx + 0x4c]
push eax
call fcn.004a8d50
mov ecx, dword [ebx + 0x4c]
push 0
push ecx
call fcn.00410a60
mov esi, dword [ebx + 0x4c]
mov edi, dword [ebp + 8]
call fcn.00410cb0
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push 0xa0
sub eax, 0x2a
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
mov edi, eax
add edx, 0xffffff9c
sar edi, 1
add edi, 0x50
mov dword [esp + 0x14], edx
call fcn.004c8f3d
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], 3
test esi, esi
je 0x4a5673
push esi
call fcn.0040f9b0
xor eax, eax
mov dword [esi], vtable.CWallPaperPreviewSaveSet.0
mov dword [esi + 8], vtable.CWallPaperPreviewSaveSet.1.0
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ebx
jmp 0x4a5675
xor esi, esi
mov eax, dword [esp + 0x10]
push 0x38
mov dword [esp + 0x3c], 0xffffffff
push 0x64
mov ecx, edi
mov dword [ebx + 0x50], esi
call fcn.00410b30
mov edi, dword [ebx + 0x50]
call fcn.004a90b0
mov eax, dword [ebx + 0x50]
push 0
push eax
call fcn.00410a60
mov esi, dword [ebx + 0x50]
mov edi, dword [ebp + 8]
call fcn.00410cb0
push 0xb4
call fcn.004c8f3d
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
xor edi, edi
mov dword [esp + 0x38], 4
cmp esi, edi
je 0x4a5702
push esi
call fcn.0040f9b0
mov dword [esi], vtable.CWallPaperPreviewTips.0
mov dword [esi + 8], vtable.CWallPaperPreviewTips.1.0
mov dword [esi + 0x94], edi
xor ecx, ecx
mov dword [esi + 0xb0], 7
mov dword [esi + 0xac], edi
mov word [esi + 0x9c], cx
jmp 0x4a5704
xor esi, esi
push edi
mov dword [esp + 0x3c], 0xffffffff
push esi
mov dword [ebx + 0x54], esi
call fcn.00410a60
mov esi, dword [ebx + 0x54]
mov edi, dword [ebx + 0x3c]
call fcn.00410cb0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4