Function at 0x4257ba
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x45832e
call fcn.004324bc
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x24], esi
call fcn.0041db69
mov eax, dword [0x470b50]
and dword [ebp - 4], 0
lea ebx, [esi + 0x58]
mov dword [ebx], eax
mov eax, dword [0x470b50]
mov dword [esi + 0x5c], eax
mov eax, dword [0x470b50]
mov dword [esi + 0x60], eax
mov eax, dword [0x470b50]
mov dword [esi + 0x64], eax
mov eax, dword [0x470b50]
mov dword [esi + 0x68], eax
mov eax, dword [0x470b50]
mov dword [esi + 0x70], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
mov dword [esi], vtable.WSetupRegEntry.0
mov dword [esi + 0x50], 0x10
call fcn.00447ffc
lea eax, [esi + 0x1c]
push 0x2c
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 7
call fcn.0042126e
add esp, 0xc
mov edi, 0x4747d0
lea ecx, [esi + 0x20]
push edi
call fcn.004483c4
push edi
lea ecx, [esi + 0x28]
call fcn.004483c4
push 0x2c
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0042126e
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x42588f
lea eax, [ebp + 8]
push ebx
push eax
mov ecx, 0x474888
call fcn.0041ac30
push eax
mov ecx, ebx
mov byte [ebp - 4], 8
call fcn.00448374
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00448287
lea eax, [esi + 0x5c]
push 0x2c
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042126e
xor ebx, ebx
add esp, 0xc
cmp dword [ebp + 0xc], ebx
je 0x4258d3
lea eax, [esi + 0x5c]
mov ecx, 0x474888
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041ac30
push eax
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 9
call fcn.00448374
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00448287
lea eax, [esi + 0x60]
push 0x2c
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042126e
add esp, 0xc
cmp dword [ebp + 0xc], ebx
je 0x425915
lea eax, [esi + 0x60]
mov ecx, 0x474888
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041ac30
push eax
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xa
call fcn.00448374
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00448287
lea eax, [esi + 0x64]
push 0x2c
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042126e
add esp, 0xc
cmp dword [ebp + 0xc], ebx
je 0x425957
lea eax, [esi + 0x64]
mov ecx, 0x474888
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0041ac30
push eax
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xb
call fcn.00448374
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.00448287
lea eax, [esi + 0x68]
push 0x2c
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042126e
lea eax, [esi + 0x30]
push 0x2c
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042126e
add esp, 0x18
lea ecx, [ebp - 0x20]
push edi
call fcn.004482f5
lea eax, [ebp - 0x20]
push 0x2c
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0xc
call fcn.0042126e
mov eax, dword [ebp - 0x20]
add esp, 0xc
cmp dword [eax - 8], ebx
je 0x425a0c
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x46f2fc
call fcn.004482f5
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
mov byte [ebp - 4], 0xd
call fcn.00447ffc
mov byte [ebp - 4], 0xc
call fcn.0040f1f4
add esp, 0xc
cmp eax, ebx
jne 0x425a0c
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x46f2f8
call fcn.004482f5
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
mov byte [ebp - 4], 0xe
call fcn.00447ffc
mov byte [ebp - 4], 0xc
call fcn.0040f1f4
add esp, 0xc
cmp eax, ebx
je 0x425a13
mov dword [esi + 0x40], ebx
jmp 0x425a13
mov dword [esi + 0x40], 1
push edi
lea ecx, [ebp - 0x1c]
call fcn.004482f5
lea eax, [ebp - 0x1c]
push 0x2c
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0xf
call fcn.0042126e
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [eax - 8], ebx
je 0x425aa7
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x46f2fc
call fcn.004482f5
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
mov byte [ebp - 4], 0x10
call fcn.00447ffc
mov byte [ebp - 4], 0xf
call fcn.0040f1f4
add esp, 0xc
cmp eax, ebx
jne 0x425aa7
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x46f2f8
call fcn.004482f5
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
mov byte [ebp - 4], 0x11
call fcn.00447ffc
mov byte [ebp - 4], 0xf
call fcn.0040f1f4
add esp, 0xc
cmp eax, ebx
je 0x425aae
mov dword [esi + 0x6c], ebx
jmp 0x425aae
mov dword [esi + 0x6c], 1
lea eax, [esi + 0x34]
push 0x2c
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042126e
add esp, 0xc
lea ecx, [ebp - 0x18]
push edi
call fcn.004482f5
lea eax, [ebp - 0x18]
push 0x2c
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0x12
call fcn.0042126e
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp dword [eax - 8], ebx
je 0x425b54
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x46f2fc
call fcn.004482f5
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
mov byte [ebp - 4], 0x13
call fcn.00447ffc
mov byte [ebp - 4], 0x12
call fcn.0040f1f4
add esp, 0xc
cmp eax, ebx
jne 0x425b54
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x46f2f8
call fcn.004482f5
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
mov byte [ebp - 4], 0x14
call fcn.00447ffc
mov byte [ebp - 4], 0x12
call fcn.0040f1f4
add esp, 0xc
cmp eax, ebx
je 0x425b5b
mov dword [esi + 0x48], ebx
jmp 0x425b5b
mov dword [esi + 0x48], 1
lea eax, [esi + 0x70]
push 0x2c
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042126e
add esp, 0xc
lea ecx, [ebp - 0x14]
push edi
call fcn.004482f5
lea eax, [ebp - 0x14]
push 0x2c
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0x15
call fcn.0042126e
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp dword [eax - 8], ebx
je 0x425c01
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x46f2fc
call fcn.004482f5
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
mov byte [ebp - 4], 0x16
call fcn.00447ffc
mov byte [ebp - 4], 0x15
call fcn.0040f1f4
add esp, 0xc
cmp eax, ebx
jne 0x425c01
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x46f2f8
call fcn.004482f5
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
mov byte [ebp - 4], 0x17
call fcn.00447ffc
mov byte [ebp - 4], 0x15
call fcn.0040f1f4
add esp, 0xc
cmp eax, ebx
je 0x425c08
mov dword [esi + 0x74], ebx
jmp 0x425c08
mov dword [esi + 0x74], 1
lea eax, [esi + 0x34]
push eax
call fcn.00421c11
lea eax, [esi + 0x30]
push eax
call fcn.00421c78
pop ecx
mov byte [ebp - 4], 0x12
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00448287
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.00448287
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.00448287
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00448287
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00448287
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8