Function at 0x428130
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x454ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468dc0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
push str.32770
lea ecx, [esp + 0x1c]
call fcn.00404560
lea eax, [esp + 0x18]
push eax
xor edi, edi
push esi
mov dword [esp + 0x88], edi
call fcn.00428cd0
add esp, 8
test al, al
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x18]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4281ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x42825b
lea ecx, [esp + 0x1c]
push ecx
call fcn.00415230
push esi
mov dword [esp + 0x84], 1
call fcn.0042e75a
push str.DirectUIHWND
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00404560
lea edx, [esp + 0x18]
push edx
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 2
call fcn.00428d90
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428223
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 4
je 0x428271
cmp eax, edi
je 0x428242
push eax
call fcn.00429048
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00429048
add esp, 4
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
push str.Button
lea ecx, [esp + 0x1c]
call fcn.00404560
lea eax, [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 3
call fcn.00428d90
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4282c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub eax, ecx
sar eax, 2
xor bl, bl
cmp eax, 4
jne 0x42833b
mov ebp, dword [0x457480]
xor esi, esi
lea edi, [esp + 0x34]
cmp esi, eax
jb 0x4282ee
call fcn.00436eb7
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + esi*4]
push ecx
call fcn.0042e75a
mov edx, dword [eax + 0x20]
push edi
push edx
call ebp
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub eax, ecx
inc esi
sar eax, 2
add edi, 0x10
cmp esi, eax
jb 0x4282ee
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x34], eax
jne 0x428337
cmp eax, dword [esp + 0x54]
jne 0x428337
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x3c], eax
jne 0x428337
cmp eax, dword [esp + 0x5c]
jne 0x428337
mov bl, 1
jmp 0x428339
xor bl, bl
xor edi, edi
cmp ecx, edi
je 0x428348
push ecx
call fcn.00429048
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00429048
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret