Function at 0x408990
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4629e7
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x483094]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0xe8], 0
push 0x98
lea eax, [ebp - 0xe4]
mov dword [ebp - 4], 0
push 0
push eax
mov byte [ebp - 4], 1
call fcn.00440a60
add esp, 4
lea ecx, [ebp - 0xe4]
call fcn.0040e850
lea eax, [edi + 0x64]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x164]
call fcn.00403910
lea eax, [edi + 0x30]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x14c]
call fcn.00403910
mov byte [ebp - 4], 4
lea esi, [ebp - 0x17]
mov ebx, dword [edi + 0x2c]
test ebx, ebx
jns 0x408a60
neg ebx
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x408a35
dec esi
mov byte [esi], 0x2d
jmp 0x408a83
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x408a60
lea eax, [ebp - 0x17]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
cmp esi, eax
je 0x408ab4
sub eax, esi
lea ecx, [ebp - 0x100]
push eax
push esi
call fcn.00403b50
lea eax, [edi + 0x14]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x134]
call fcn.00403910
lea eax, [edi + 0x4c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x11c]
call fcn.00403910
mov dword [ebp - 0xe8], 0xfe
push ecx
mov eax, esp
mov byte [ebp - 4], 7
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x194]
mov edx, edi
mov dword [eax], 0x4787dc
call fcn.004127a0
add esp, 4
mov edi, eax
mov edx, 0x478a34
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe4]
call fcn.004123e0
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x408b25
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00415c20
add esp, 4
mov edx, 0x478a30
mov ecx, eax
call fcn.004123e0
push esi
mov ecx, eax
call fcn.00416830
mov edx, 0x478a30
mov ecx, eax
call fcn.004123e0
cmp dword [ebp - 0x108], 0x10
lea edx, [ebp - 0x11c]
push dword [ebp - 0x10c]
cmovae edx, dword [ebp - 0x11c]
mov ecx, eax
call fcn.00415c20
add esp, 4
mov edx, 0x478a30
mov ecx, eax
call fcn.004123e0
cmp dword [ebp - 0x120], 0x10
lea edx, [ebp - 0x134]
push dword [ebp - 0x124]
cmovae edx, dword [ebp - 0x134]
mov ecx, eax
call fcn.00415c20
add esp, 4
mov edx, 0x478a2c
mov ecx, eax
call fcn.004123e0
cmp dword [ebp - 0xec], 0x10
lea edx, [ebp - 0x100]
push dword [ebp - 0xf0]
cmovae edx, dword [ebp - 0x100]
mov ecx, eax
call fcn.00415c20
add esp, 4
mov edx, 0x478a28
mov ecx, eax
call fcn.004123e0
cmp dword [ebp - 0x138], 0x10
lea edx, [ebp - 0x14c]
push dword [ebp - 0x13c]
cmovae edx, dword [ebp - 0x14c]
mov ecx, eax
call fcn.00415c20
add esp, 4
mov edx, 0x478a24
mov ecx, eax
call fcn.004123e0
cmp dword [ebp - 0x150], 0x10
lea edx, [ebp - 0x164]
push dword [ebp - 0x154]
cmovae edx, dword [ebp - 0x164]
mov ecx, eax
call fcn.00415c20
mov byte [ebp - 4], 7
add esp, 4
mov edx, dword [ebp - 0x180]
cmp edx, 0x10
jb 0x408c74
mov ecx, dword [ebp - 0x194]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408c6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090a8
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0xf
mov byte [ebp - 0x194], 0
cmp edx, 0x10
jb 0x408ccd
mov ecx, dword [ebp - 0x11c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408cc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090ad
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0xf
mov byte [ebp - 0x11c], 0
cmp edx, 0x10
jb 0x408d26
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408d1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090b2
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp edx, 0x10
jb 0x408d7f
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408d75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090b7
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
cmp edx, 0x10
jb 0x408dd8
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408dce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090bc
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
cmp edx, 0x10
jb 0x408e31
mov ecx, dword [ebp - 0x164]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408e27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090c1
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
xor edi, edi
movlpd qword [ebp - 0x34], xmm0
xor esi, esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
test eax, eax
je 0x408e7f
mov edx, dword [eax + 4]
lea esi, [eax + 4]
test edx, edx
je 0x408e79
lea ecx, [edx + 1]
mov eax, edx
lock cmpxchg dword [esi], ecx
cmp eax, edx
je 0x408ec3
mov edx, dword [esi]
test edx, edx
jne 0x408e66
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0xa
test edi, edi
je 0x408ed1
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00410b80
push 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x17c]
mov dword [ebp - 0xe8], 0x2ff
push eax
mov ecx, edi
call fcn.00407190
test al, al
je 0x408ed1
xor bl, bl
jmp 0x408ed3
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
jmp 0x408e7f
mov bl, 1
mov dword [ebp - 4], 0xa
test byte [ebp - 0xe8], 1
je 0x408f38
mov edx, dword [ebp - 0x168]
cmp edx, 0x10
jb 0x408f1d
mov ecx, dword [ebp - 0x17c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408f13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090c6
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0xf
mov byte [ebp - 0x17c], 0
test bl, bl
je 0x408fcb
or edi, 0xffffffff
mov byte [ebp - 4], 0xc
test esi, esi
je 0x408f6a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x408f6a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x408f6a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x408fa2
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408f98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090cb
push edx
push ecx
call fcn.00428ee3
add esp, 8
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.004090e0
mov dword [ebp - 4], 0xd
jmp 0x409078
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x104]
cmovae eax, dword [ebp - 0x4c]
push 0
push dword [ebp - 0x3c]
push eax
call fcn.0040f080
or edi, 0xffffffff
mov byte [ebp - 4], 0xe
test esi, esi
je 0x409011
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x409011
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x409011
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x409049
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40903f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090d0
push edx
push ecx
call fcn.00428ee3
add esp, 8
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.004090e0
jmp 0x409071
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40908c
lock xadd dword [ecx + 8], edi
dec edi
jne 0x40908c
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00428c08
mov esp, ebp
pop ebp
ret
call fcn.004465a2
call fcn.004465a2
call fcn.004465a2
call fcn.004465a2
call fcn.004465a2
call fcn.004465a2
call fcn.004465a2
call fcn.004465a2
call fcn.004465a2
int3