Function at 0x402e10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x42c998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x439f34]
push ebx
push ebp
mov ebx, 1
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], eax
xor ebp, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ebp
mov eax, dword [esi + 0x34]
xor ecx, ecx
cmp eax, ebp
mov byte [esp + 0x30], bl
mov dword [esi + 0x4c], eax
mov dword [esp + 0x14], ecx
jle 0x40307c
test ebx, ebx
je 0x40307c
mov eax, dword [esi + 0x30]
test byte [eax + ebp + 8], 0x10
jne 0x403065
lea edi, [esi + 0x2c]
push ecx
mov ecx, edi
call fcn.00403a30
mov ecx, eax
call fcn.00403180
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0042350d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x402f0d
mov eax, dword [eax + 0x1c]
push eax
call dword [0x42f404]
test eax, eax
je 0x402f0d
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, edi
call fcn.00403a30
mov ecx, eax
call fcn.00403180
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0042350d
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.00403530
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call fcn.00423885
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.00423798
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.00423e89
mov edx, dword [esi + 0x50]
mov ecx, esi
inc edx
mov dword [esi + 0x50], edx
call fcn.00403190
mov ecx, esi
call fcn.00403200
mov ecx, esi
call fcn.00403280
test eax, eax
je 0x402f33
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edx, dword [esi + 0x30]
mov eax, dword [edx + ebp + 4]
push eax
call dword [0x42f29c]
test ebx, ebx
je 0x403065
cmp eax, 0xffffffff
jne 0x402f71
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x438200
mov dword [esp + 0x18], ebx
call fcn.00423806
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x403065
test al, 6
je 0x402f8a
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x402f8a
mov eax, dword [esi + 0x4c]
dec eax
xor ebx, ebx
mov dword [esi + 0x4c], eax
jmp 0x403065
mov ecx, dword [esi + 0x30]
push 0x80
mov eax, dword [ecx + ebp + 4]
push eax
call dword [0x42f270]
test eax, eax
jne 0x402fcb
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x402fcb
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x438200
call fcn.00423806
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
jmp 0x403065
mov eax, dword [esi + 0x30]
mov eax, dword [eax + ebp + 4]
push eax
call dword [0x42f274]
push ecx
test eax, eax
mov dword [esp + 0x28], esp
mov ecx, esp
jne 0x403026
push 0x438200
call fcn.00423806
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], 0
test eax, eax
jne 0x403006
xor ebx, ebx
lea edi, [esi + 0x28]
push 0x4381fc
mov ecx, edi
call fcn.00423b28
mov eax, dword [esi + 0x30]
lea ecx, [eax + ebp + 4]
push ecx
mov ecx, edi
call fcn.00423b64
jmp 0x403065
push 0x4381e8
call fcn.00423806
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x403065
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00403a30
mov ecx, eax
call fcn.00403180
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0042350d
mov ecx, esi
call fcn.004032b0
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x34]
inc ecx
add ebp, 0x38
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x402e62
mov eax, dword [esi + 0x34]
xor edi, edi
test eax, eax
jle 0x4030c4
xor ebp, ebp
test ebx, ebx
je 0x4030c4
mov ecx, dword [esi + 0x30]
test byte [ecx + ebp + 8], 0x10
je 0x4030b9
push edi
lea ecx, [esi + 0x2c]
call fcn.00403a30
mov ecx, eax
call fcn.00403180
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0042350d
mov ecx, esi
call fcn.004033e0
mov eax, dword [esi + 0x34]
inc edi
add ebp, 0x38
cmp edi, eax
jl 0x403087
push 0x4381fc
lea ecx, [esi + 0x28]
call fcn.00422cd6
mov edi, dword [esp + 0x10]
test edi, edi
je 0x403120
mov eax, dword [esi + 0x18]
test eax, eax
je 0x403104
mov edx, dword [eax + 0x1c]
push edx
call dword [0x42f404]
test eax, eax
je 0x403104
mov eax, dword [esi + 0x18]
push 0
push 0x64
push 0x402
mov eax, dword [eax + 0x1c]
push eax
call dword [0x42f464]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x403142
mov ecx, dword [eax + 0x1c]
push ecx
call dword [0x42f404]
test eax, eax
je 0x403142
push 0x4381e0
jmp 0x40313a
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x403142
mov edx, dword [eax + 0x1c]
push edx
call dword [0x42f404]
test eax, eax
je 0x403142
push 0x4381d8
mov ecx, dword [esi + 0x1c]
call fcn.00423e89
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.00423798
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.00423798
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret