Function at 0x45caa0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48ee8e
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b30f0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea esi, [esp + 0x54]
call fcn.00462c10
mov dword [esp + 0x80], 0
mov ecx, esi
call fcn.00462d70
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 0x18]
mov ebx, dword [eax]
mov esi, dword [ecx]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
mov edi, dword [ecx + 0x18]
mov eax, dword [ecx]
test esi, esi
je 0x45cb05
cmp esi, eax
je 0x45cb0a
call fcn.0046fc99
cmp ebx, edi
je 0x45ce06
mov eax, dword [0x4b6a0c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b6a0c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x80], 2
test esi, esi
jne 0x45cbeb
call fcn.0046fc99
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x45cb49
call fcn.0046fc99
mov edi, dword [ebx + 0xc]
test esi, esi
jne 0x45cbf2
call fcn.0046fc99
cmp ebx, dword [esi + 0x18]
jne 0x45cb63
call fcn.0046fc99
mov eax, dword [ebx + 0x10]
push edi
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x28], eax
call fcn.004632c0
mov byte [esp + 0x80], 3
mov edx, dword [esp + 0x4c]
mov edi, dword [edx]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
mov ebx, dword [esp + 0x4c]
test esi, esi
je 0x45cba1
cmp esi, dword [esp + 0x34]
je 0x45cba6
call fcn.0046fc99
cmp edi, ebx
je 0x45cd0f
test esi, esi
jne 0x45cbf9
call fcn.0046fc99
cmp edi, dword [esi + 0x18]
jne 0x45cbc1
call fcn.0046fc99
mov esi, dword [edi + 0xc]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x45cbfd
cmp eax, dword [esi]
jne 0x45cbfd
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x45cc38
mov eax, dword [esi]
jmp 0x45cb3f
mov esi, dword [esi]
jmp 0x45cb59
mov esi, dword [esi]
jmp 0x45cbb7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x45cdf7
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0046f21d
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x18], edi
mov byte [esp + 0x80], 5
lea ebx, [esp + 0x18]
call fcn.004036e0
mov ebx, eax
call fcn.004035f0
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x45cc7e
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.00401420
mov edx, dword [esp + 0x18]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.0046fb25
add esp, 8
test esi, esi
jl 0x45cdfc
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x45cdfc
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x18]
xor edx, edx
mov word [eax + esi*2], dx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00410410
push 1
push 0x498d2c
lea edx, [esp + 0x24]
push edx
call fcn.00410410
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ccf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x24]
call fcn.0040db80
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x45cb93
push 0x498d2c
lea eax, [esp + 0x20]
call fcn.0043abb0
mov edi, dword [esp + 0x1c]
cmp dword [edi - 0xc], 0
je 0x45cd90
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x20]
push ecx
add edx, 0x18
push edx
call fcn.0045ce90
mov ebp, eax
mov esi, dword [ebp]
lea eax, [edi - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x45cd90
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x45cd85
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x45cd85
call fcn.00401210
mov dword [esp + 0x20], eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x45cd79
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x20]
add eax, 0x10
mov dword [ebp], eax
jmp 0x45cd90
mov ebx, dword [edi - 0xc]
push edi
mov eax, ebp
call fcn.004014b0
mov byte [esp + 0x80], 8
lea esi, [esp + 0x34]
call fcn.0040b0e0
mov byte [esp + 0x80], 2
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0046f1b2
add esp, 4
mov byte [esp + 0x80], 0
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45cdda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x2c]
call fcn.004389a0
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x8c]
jmp 0x45caf8
call fcn.004013e0
push 0x80070057
call fcn.00401490
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x54]
push ecx
call fcn.00462d00
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8