Function at 0x4a1dc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f6906
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x28]
push eax
push ecx
push 0
push 0
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
sub ebx, dword [esp + 0x18]
push 0x532ba8
mov edx, str.skinpalettebtn.png
call fcn.00405f10
push eax
mov eax, dword [esp + 0x24]
push 0x1f
push 0x1f
push ebp
add eax, 0xffffffd5
push eax
push 0x4feab8
push edi
mov ecx, 4
call fcn.004021b0
add esp, 0x1c
xor edx, edx
push edx
mov ecx, 0x4a3780
push ecx
push edi
mov edx, eax
mov dword [edi + 0xc4], eax
call fcn.00402400
mov eax, dword [edi + 0xc4]
add esp, 0xc
push 3
push 0x50ddb0
lea esi, [eax + 0x58]
call fcn.00401760
lea ecx, [ebx - 0x39]
push ecx
push ebp
push edi
call fcn.004a23f0
push ebx
add ebp, 0x32
push ebp
push edi
call fcn.004a2760
push 0xe4
add ebp, 0x109
call fcn.004c8f3d
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x30], ebx
cmp esi, ebx
je 0x4a1ec5
push esi
call fcn.00402000
mov dword [esi], vtable.WallPaperSkin::CAphaSelectButton.0
mov dword [esi + 8], vtable.WallPaperSkin::CAphaSelectButton.1.0
mov dword [esi + 0xe0], ebx
jmp 0x4a1ec7
xor esi, esi
mov dword [esp + 0x30], 0xffffffff
push 0x532ba8
mov edx, str.skinAlphaBtn.png
mov dword [edi + 0xcc], esi
call fcn.00405f10
mov esi, dword [edi + 0xcc]
mov ecx, dword [esi + 0x98]
mov ebx, eax
test ecx, ecx
je 0x4a1efe
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], 4
mov ecx, dword [esp + 0x20]
mov esi, dword [edi + 0xcc]
push 0x1a
push 0x56
add ecx, 0xffffff8c
mov eax, ebp
call fcn.00410b30
mov esi, dword [edi + 0xcc]
call fcn.00410cb0
push 0xa4
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 1
test eax, eax
je 0x4a1f58
push eax
call fcn.004a1470
mov esi, eax
jmp 0x4a1f5a
xor esi, esi
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x20]
push 0x78
push 0x17
lea eax, [ebp - 0x78]
add ecx, 0xffffffc7
mov dword [edi + 0xd0], esi
call fcn.00410b30
mov esi, dword [edi + 0xd0]
call fcn.00410cb0
mov ecx, dword [edi + 0xd0]
push 0
push ecx
call fcn.00410a60
mov edx, dword [edi + 0xcc]
mov eax, dword [edi + 0xd0]
mov dword [edx + 0xe0], eax
push 0x532ba8
mov edx, str.default_button.png
call fcn.00405f10
mov ecx, dword [esp + 0x18]
push eax
push 0x1e
push 0x4a
push ebp
add ecx, 0x1c
push ecx
push 0x50fcd0
push edi
mov ecx, 4
call fcn.004021b0
add esp, 0x1c
xor edx, edx
push edx
mov ecx, fcn.004a4360
push ecx
push edi
mov edx, eax
mov dword [edi + 0xc8], eax
call fcn.00402400
mov esi, dword [edi + 0xc8]
add esp, 0xc
push 5
push 0x50fcd0
add esi, 0x58
call fcn.00401760
call fcn.004a0290
mov dword [eax + 4], 0x4a1d30
mov dword [eax + 8], edi
cmp byte [edi + 0xdc], 0
je 0x4a204d
cmp byte [edi + 0xdd], 0
jne 0x4a204d
mov edx, dword [edi]
mov eax, dword [edx + 0x20]
mov ecx, edi
call eax
test eax, eax
je 0x4a2045
push 0xc8
lea ecx, [edi + 8]
push 0x64
push ecx
call fcn.004131f0
jmp 0x4a2047
xor al, al
mov byte [edi + 0xdd], al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret