Function at 0x4051b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5146f2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x55a144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
call fcn.00402290
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 7
mov word [ebx + 0x18], ax
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x30]
push eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push 0x53c29c
mov word [ecx], ax
call fcn.00402410
mov byte [ebp - 4], 3
xor eax, eax
lea ecx, [ebx + 0x48]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x53c29c
mov word [ecx], ax
call fcn.00402410
mov byte [ebp - 4], 4
xor eax, eax
lea ecx, [ebx + 0x64]
mov dword [ebx + 0x60], 0
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x53c29c
mov word [ecx], ax
call fcn.00402410
mov byte [ebp - 4], 5
xor eax, eax
lea ecx, [ebx + 0x80]
mov dword [ebx + 0x7c], 0
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x53c29c
mov word [ecx], ax
call fcn.00402410
mov byte [ebp - 4], 6
xor eax, eax
lea ecx, [ebx + 0xa0]
mov dword [ebx + 0x98], 1
mov dword [ebx + 0x9c], 0
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x53c29c
mov word [ecx], ax
call fcn.00402410
mov byte [ebp - 4], 7
xor eax, eax
lea ecx, [ebx + 0xb8]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x53c29c
mov word [ecx], ax
call fcn.00402410
mov byte [ebp - 4], 8
xor eax, eax
mov byte [ebx + 0xd0], 0
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe8], 7
mov word [ebx + 0xd4], ax
mov byte [ebp - 4], 9
mov dword [ebx + 0xfc], eax
mov dword [ebx + 0x100], 7
mov word [ebx + 0xec], ax
mov byte [ebp - 4], 0xa
mov dword [ebx + 0x114], eax
mov dword [ebx + 0x118], 7
mov word [ebx + 0x104], ax
mov byte [ebp - 4], 0xb
mov dword [ebx + 0x12c], eax
mov dword [ebx + 0x130], 7
mov word [ebx + 0x11c], ax
mov byte [ebp - 4], 0xc
mov dword [ebx + 0x144], eax
mov dword [ebx + 0x148], 7
mov word [ebx + 0x134], ax
mov byte [ebp - 4], 0xd
mov dword [ebx + 0x15c], eax
mov dword [ebx + 0x160], 7
mov word [ebx + 0x14c], ax
mov byte [ebp - 4], 0xe
mov dword [ebx + 0x174], eax
mov dword [ebx + 0x178], 7
mov word [ebx + 0x164], ax
mov byte [ebp - 4], 0xf
mov dword [ebx + 0x18c], eax
mov dword [ebx + 0x190], 7
mov word [ebx + 0x17c], ax
mov byte [ebp - 4], 0x10
mov dword [ebx + 0x1a4], eax
mov dword [ebx + 0x1a8], 7
mov word [ebx + 0x194], ax
mov byte [ebp - 4], 0x11
mov dword [ebx + 0x1bc], eax
mov dword [ebx + 0x1c0], 7
mov word [ebx + 0x1ac], ax
mov byte [ebp - 4], 0x12
lea ecx, [ebx + 0x194]
push 0xb
mov byte [ebx + 0x1c4], al
mov eax, dword [ebp + 0x20]
push str.LoginWidget
mov dword [ebx + 0x1c8], eax
mov word [ebx + 0x1cc], 0
call fcn.00402410
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebx + 0x194]
push eax
call fcn.00404ae0
push 0xe
push str.PurchaseWidget
lea ecx, [ebx + 0x1ac]
call fcn.00402410
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebx + 0x1ac]
push eax
call fcn.00404ae0
mov ecx, ebx
call fcn.00407580
mov ecx, ebx
call fcn.00405bf0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4054e5
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4054db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40550f
push edx
push ecx
call fcn.004f14e5
add esp, 8
xor eax, eax
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
mov eax, ebx
mov dword [ebp + 0x1c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
call fcn.004f74d9
int3