Function at 0x406e90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x453622
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x469424]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb8]
xor esi, esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0xb4], esi
call fcn.004075d0
mov edx, dword [esp + 0x3c]
cmp edx, esi
mov eax, dword [esp + 0x40]
jne 0x406f11
xor ecx, ecx
jmp 0x406f18
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], esi
jbe 0x40745c
jmp 0x406f34
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x406f47
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x28], eax
jb 0x406f4c
call fcn.0043ae07
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov edi, dword [ecx + edx*4]
mov eax, dword [edi]
cmp eax, 1
je 0x406f6c
cmp eax, 3
je 0x406f6c
cmp eax, 2
jne 0x4070b1
cmp byte [esp + 0xbc], 0
je 0x4070b1
push 0x148
call fcn.0041eda3
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xb0], 1
je 0x406fa1
push eax
call fcn.00409060
mov ebp, eax
jmp 0x406fa3
xor ebp, ebp
mov byte [esp + 0xb0], 0
mov ebx, 0x10
cmp dword [edi + 0x60], ebx
mov dword [esp + 0x1c], ebp
jb 0x406fc2
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x18], eax
jmp 0x406fc9
lea ecx, [edi + 0x4c]
mov dword [esp + 0x18], ecx
cmp dword [edi + 0x28], ebx
jb 0x406fd3
mov edx, dword [edi + 0x14]
jmp 0x406fd6
lea edx, [edi + 0x14]
cmp dword [edi + 0x44], ebx
jb 0x406fe0
mov esi, dword [edi + 0x30]
jmp 0x406fe3
lea esi, [edi + 0x30]
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x118], ebx
jb 0x406ff7
mov ecx, dword [eax + 0x104]
jmp 0x406ffd
lea ecx, [eax + 0x104]
cmp dword [eax + 0x134], ebx
jb 0x40700d
mov eax, dword [eax + 0x120]
jmp 0x407012
add eax, 0x120
mov ebx, dword [edi]
push ebx
mov ebx, dword [esp + 0x1c]
push ebx
mov ebx, dword [edi + 0xc]
push ebx
mov ebx, dword [edi + 8]
push ebx
lea ebx, [edi + 0x64]
push ebx
push esi
push eax
push ebp
call fcn.004092a0
test al, al
jne 0x407047
test ebp, ebp
je 0x4073e2
mov eax, ebp
call fcn.00409180
push ebp
jmp 0x4073da
mov eax, dword [esp + 0x20]
mov edx, dword [edi + 8]
add dword [eax], edx
mov ecx, dword [edi + 0xc]
mov ebx, dword [esp + 0x24]
adc dword [eax + 4], ecx
mov eax, dword [ebx + 4]
test eax, eax
jne 0x407065
xor edx, edx
jmp 0x40706d
mov edx, dword [ebx + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x40708d
mov ecx, dword [ebx + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x40708d
mov eax, dword [ebx + 8]
mov dword [eax], ebp
add eax, 4
mov dword [ebx + 8], eax
jmp 0x4073e2
mov esi, dword [ebx + 8]
cmp eax, esi
jbe 0x407099
call fcn.0043ae07
push esi
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
mov eax, ebx
call fcn.00407fa0
jmp 0x4073e2
test eax, eax
jne 0x4073e2
mov dword [esp + 0x64], eax
mov byte [esp + 0x54], al
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffff
add eax, 0x100
push 0
mov ebx, 0xf
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], ebx
call fcn.004019c0
lea eax, [edi + 0x2c]
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x58]
mov byte [esp + 0xb8], 2
call fcn.00402a80
push 0
lea ebp, [edi + 0x10]
push ebp
or eax, 0xffffffff
call fcn.00402a80
xor eax, eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], eax
mov byte [esp + 0x70], al
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov byte [esp + 0xb0], 3
mov edx, dword [esp + 0x54]
mov esi, 0x10
cmp dword [esp + 0x68], esi
jae 0x407154
lea edx, [esp + 0x54]
mov eax, edx
lea ebx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407160
sub eax, ebx
push eax
push edx
lea ecx, [esp + 0x74]
call fcn.00401b50
cmp dword [esp + 0x84], esi
mov eax, dword [esp + 0x70]
jae 0x407187
lea eax, [esp + 0x70]
push 0
push eax
call fcn.0043c0b0
add esp, 8
test eax, eax
je 0x407279
push 0x148
call fcn.0041eda3
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xb0], 4
je 0x4071c1
push eax
call fcn.00409060
mov ebx, eax
jmp 0x4071c3
xor ebx, ebx
mov byte [esp + 0xb0], 3
cmp dword [edi + 0x60], esi
mov dword [esp + 0x1c], ebx
jb 0x4071dd
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x18], ecx
jmp 0x4071e4
lea edx, [edi + 0x4c]
mov dword [esp + 0x18], edx
cmp dword [ebp + 0x18], esi
jb 0x4071ee
mov ebp, dword [ebp + 4]
jmp 0x4071f1
add ebp, 4
cmp dword [edi + 0x44], esi
jb 0x4071fb
mov esi, dword [edi + 0x30]
jmp 0x4071fe
lea esi, [edi + 0x30]
mov eax, dword [esp + 0x2c]
mov edx, 0x10
cmp dword [eax + 0x118], edx
jb 0x407217
mov ecx, dword [eax + 0x104]
jmp 0x40721d
lea ecx, [eax + 0x104]
cmp dword [eax + 0x134], edx
jb 0x40722d
mov eax, dword [eax + 0x120]
jmp 0x407232
add eax, 0x120
mov edx, dword [edi]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [edi + 0xc]
push edx
mov edx, dword [edi + 8]
push edx
lea edx, [edi + 0x64]
push edx
push esi
push eax
push ebx
mov edx, ebp
call fcn.004092a0
test al, al
je 0x407356
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x20]
add dword [eax], ecx
mov edx, dword [edi + 0xc]
mov esi, dword [esp + 0x24]
adc dword [eax + 4], edx
lea ebx, [esp + 0x1c]
call fcn.00407f40
jmp 0x407391
lea eax, [esp + 0x6c]
push eax
call fcn.00401290
test al, al
jne 0x40728c
add dword [esp + 0x30], 1
lea eax, [edi + 0x64]
lea ecx, [esp + 0x88]
call fcn.0040ea10
test al, al
jne 0x40736c
push 0x148
call fcn.0041eda3
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xb0], 5
je 0x4072ca
push eax
call fcn.00409060
mov ebx, eax
jmp 0x4072cc
xor ebx, ebx
mov byte [esp + 0xb0], 3
mov eax, 0x10
cmp dword [edi + 0x60], eax
mov dword [esp + 0x1c], ebx
jb 0x4072eb
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x18], ecx
jmp 0x4072f2
lea edx, [edi + 0x4c]
mov dword [esp + 0x18], edx
cmp dword [ebp + 0x18], eax
jb 0x4072fc
mov ebp, dword [ebp + 4]
jmp 0x4072ff
add ebp, 4
cmp dword [edi + 0x44], eax
jb 0x407309
mov esi, dword [edi + 0x30]
jmp 0x40730c
lea esi, [edi + 0x30]
mov eax, dword [esp + 0x2c]
mov edx, 0x10
cmp dword [eax + 0x118], edx
jb 0x407325
mov ecx, dword [eax + 0x104]
jmp 0x40732b
lea ecx, [eax + 0x104]
cmp dword [eax + 0x134], edx
jb 0x407345
mov edx, dword [edi]
mov eax, dword [eax + 0x120]
push edx
mov edx, dword [esp + 0x1c]
jmp 0x407239
mov edx, dword [edi]
push edx
mov edx, dword [esp + 0x1c]
add eax, 0x120
jmp 0x407239
test ebx, ebx
je 0x407391
mov eax, ebx
call fcn.00409180
push ebx
call fcn.0041edce
add esp, 4
jmp 0x407391
cmp dword [esp + 0x68], esi
mov eax, dword [esp + 0x54]
jae 0x40737a
lea eax, [esp + 0x54]
push eax
push str._UPDATE_local__s_is_checked_ok_n
push 2
call fcn.0040ed90
mov ecx, eax
call fcn.0040f030
add esp, 0xc
mov esi, 0x10
cmp dword [esp + 0x84], esi
jb 0x4073ac
mov eax, dword [esp + 0x70]
push eax
call fcn.0041edce
add esp, 4
mov byte [esp + 0xb0], 0
cmp dword [esp + 0x68], esi
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
jb 0x4073e2
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0041edce
add esp, 4
mov ebp, 0x10
cmp dword [edi + 0x60], ebp
jb 0x4073f8
mov edx, dword [edi + 0x4c]
push edx
call fcn.0041edce
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov dword [edi + 0x60], esi
mov dword [edi + 0x5c], ebx
mov byte [edi + 0x4c], bl
cmp dword [edi + 0x44], ebp
jb 0x407419
mov eax, dword [edi + 0x30]
push eax
call fcn.0041edce
add esp, 4
mov dword [edi + 0x44], esi
mov dword [edi + 0x40], ebx
mov byte [edi + 0x30], 0
cmp dword [edi + 0x28], ebp
jb 0x407434
mov ecx, dword [edi + 0x14]
push ecx
call fcn.0041edce
add esp, 4
mov dword [edi + 0x28], esi
mov dword [edi + 0x24], ebx
push edi
mov byte [edi + 0x14], 0
call fcn.0041edce
mov eax, dword [esp + 0x2c]
add eax, 1
add esp, 4
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
jb 0x406f30
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x40746b
xor eax, eax
jmp 0x407473
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
mov ebp, dword [esp + 0x30]
cmp ebp, eax
jne 0x407517
xor esi, esi
test ebp, ebp
jbe 0x4074c3
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x407498
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x40749d
call fcn.0043ae07
mov edx, dword [ebx + 4]
mov edi, dword [edx + esi*4]
call fcn.004096e0
test edi, edi
je 0x4074bc
mov eax, edi
call fcn.00409180
push edi
call fcn.0041edce
add esp, 4
add esi, 1
cmp esi, ebp
jb 0x407485
mov edi, dword [ebx + 8]
cmp dword [ebx + 4], edi
jbe 0x4074d0
call fcn.0043ae07
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x4074dd
call fcn.0043ae07
cmp esi, edi
je 0x407506
mov eax, dword [ebx + 8]
sub eax, edi
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea ebp, [esi + ecx]
jle 0x407503
push ecx
push edi
push ecx
push esi
call fcn.00439d64
add esp, 0x10
mov dword [ebx + 8], ebp
mov eax, dword [esp + 0x20]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x407528
push eax
call fcn.0041edce
add esp, 4
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00439d55
add esp, 0xa0
ret 8