Function at 0x424310
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49976b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [0x4bfcf8]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x10], eax
mov edx, dword [edi + 0x5c]
lea ecx, [esp + 0x40]
push ecx
xor ebx, ebx
mov eax, dword [edx + 0x8c]
mov dword [esp + 0xb0], ebx
push eax
mov ecx, dword [edx + 0x88]
push ecx
call fcn.0040ce80
add esp, 0xc
lea edx, [esp + 0x40]
lea ebp, [edi + 0x60]
push edx
push 1
push ebx
mov ecx, ebp
call fcn.0046ca74
mov ecx, dword [edi + 0x5c]
lea eax, [esp + 0x40]
push eax
mov edx, dword [ecx + 0x94]
push edx
mov eax, dword [ecx + 0x90]
push eax
call fcn.0040ce80
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
push 2
push ebx
mov ecx, ebp
call fcn.0046ca74
mov edx, dword [edi + 0x5c]
lea ecx, [esp + 0x10]
mov eax, dword [edx + 0x70]
push eax
push 0x4ba2f4
push ecx
call fcn.0046c3e9
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, ebp
push edx
push 1
push 1
call fcn.0046ca74
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0x10]
mov ecx, dword [eax + 0x74]
push ecx
push 0x4ba2f4
push edx
call fcn.0046c3e9
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, ebp
push eax
push 2
push 1
call fcn.0046ca74
mov edx, dword [edi + 0x5c]
lea ecx, [esp + 0x40]
push ecx
mov eax, dword [edx + 0x9c]
push eax
mov ecx, dword [edx + 0x98]
push ecx
call fcn.0040cdb0
add esp, 0xc
lea edx, [esp + 0x40]
push edx
push 1
push 2
mov ecx, ebp
call fcn.0046ca74
mov ecx, dword [edi + 0x5c]
lea eax, [esp + 0x40]
push eax
mov edx, dword [ecx + 0xc0a4]
push edx
mov eax, dword [ecx + 0xc0a0]
push eax
call fcn.0040cdb0
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
push 2
push 2
mov ecx, ebp
call fcn.0046ca74
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], 5
mov eax, dword [edi + 0x5c]
mov esi, dword [eax + 0x70]
test esi, esi
jne 0x424488
lea edx, [esp + 0x10]
push 0x4bb72c
push edx
call fcn.0046c3e9
add esp, 8
jmp 0x4244e8
jle 0x4244bd
mov ecx, dword [eax + ebx*8 + 0x180b0]
mov edx, dword [eax + ebx*8 + 0x180ac]
push 0
push 0x64
push ecx
push edx
call fcn.00446060
mov ecx, eax
mov eax, esi
mov dword [esp + 0x3c], ecx
mov ecx, edx
cdq
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
call fcn.00445fb0
jmp 0x4244c1
xor eax, eax
xor edx, edx
mov ecx, dword [edi + 0x5c]
mov esi, dword [ecx + ebx*8 + 0x180b0]
mov ecx, dword [ecx + ebx*8 + 0x180ac]
push esi
push ecx
push edx
push eax
lea edx, [esp + 0x20]
push str._I64d_____I64d_
push edx
call fcn.0046c3e9
add esp, 0x18
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
dec eax
push ecx
push 1
push eax
mov ecx, ebp
call fcn.0046ca74
mov esi, dword [edi + 0x5c]
mov eax, dword [esi + 0x74]
test eax, eax
jne 0x42451a
lea edx, [esp + 0x10]
push 0x4bb72c
push edx
call fcn.0046c3e9
add esp, 8
jmp 0x424574
jle 0x42454c
mov eax, dword [esi + ebx*8 + 0x18100]
mov ecx, dword [esi + ebx*8 + 0x180fc]
push 0
push 0x64
push eax
push ecx
call fcn.00446060
mov ecx, eax
mov eax, dword [esi + 0x74]
mov edi, edx
cdq
push edx
push eax
push edi
push ecx
call fcn.00445fb0
mov edi, dword [esp + 0x30]
jmp 0x424550
xor eax, eax
xor edx, edx
mov ecx, dword [esi + ebx*8 + 0x18100]
push ecx
mov ecx, dword [esi + ebx*8 + 0x180fc]
push ecx
push edx
push eax
lea edx, [esp + 0x20]
push str._I64d_____I64d_
push edx
call fcn.0046c3e9
add esp, 0x18
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push eax
push 2
lea eax, [esi - 1]
mov ecx, ebp
push eax
call fcn.0046ca74
mov eax, dword [edi + 0x5c]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
push ecx
push edx
push 0xffffffffffffffff
push ebx
push eax
call fcn.0040e810
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 0x14
push 0
push 0x400
push ecx
push edx
call fcn.00446060
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
push 0
push 0x400
push eax
push ecx
mov dword [esp + 0x2c], edx
call fcn.00446060
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, eax
or edx, ecx
lea edx, [esp + 0x40]
jne 0x42461d
mov edi, 0x4bb72c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
jmp 0x424661
push edx
push ecx
push eax
call fcn.0040cdb0
add esp, 0xc
cmp esi, 0x15
jge 0x424661
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x18]
shl eax, 9
cdq
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
call fcn.00445fb0
cmp edx, dword [esp + 0x2c]
jl 0x424661
jg 0x424659
cmp eax, dword [esp + 0x28]
jbe 0x424661
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x40]
mov ecx, ebp
push edx
push 1
push esi
call fcn.0046ca74
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, eax
or edx, ecx
lea edx, [esp + 0x40]
jne 0x4246ae
mov edi, 0x4bb72c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
jmp 0x4246f2
push edx
push ecx
push eax
call fcn.0040cdb0
add esp, 0xc
cmp esi, 0x15
jge 0x4246f2
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x20]
shl eax, 9
cdq
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
call fcn.00445fb0
cmp edx, dword [esp + 0x38]
jl 0x4246f2
jg 0x4246ea
cmp eax, dword [esp + 0x34]
jbe 0x4246f2
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
lea edx, [esp + 0x40]
mov ecx, ebp
push edx
push 2
push esi
call fcn.0046ca74
add esi, 2
inc ebx
cmp esi, 0x17
mov dword [esp + 0x14], esi
jl 0x42446a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x4ba2f4
push edx
call fcn.0046c3e9
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, ebp
push eax
push 1
push 3
call fcn.0046ca74
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x18]
push 0x4ba2f4
push eax
call fcn.0046c3e9
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
push 2
push 3
mov ecx, ebp
call fcn.0046ca74
lea ecx, [esp + 0x10]
mov dword [esp + 0xac], 0xffffffff
call fcn.004736e5
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret