Function at 0x482570
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c3a80
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fbbfc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov ebx, dword [ecx + 0x8c]
mov edi, dword [0x514eb0]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x40]
mov esi, dword [eax*4 + 0x514e60]
lea ebp, [eax + edx*2]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov dword [esp + 0x14], ebp
imul ebp, ebp, 0x36
add ebp, dword [ecx + 0x1c0]
mov ecx, esi
mov dword [esp + 0x20], esi
call edx
mov dword [esp + 0x30], 0
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
mov ecx, edi
mov dword [esp + 0x24], edi
call edx
mov eax, dword [esp + 0x40]
mov byte [esp + 0x30], 1
mov ecx, dword [eax*4 + 0x514e60]
imul eax, eax, 0x2c
mov edx, dword [ecx]
add eax, 0x22
push eax
mov eax, dword [edx + 0xd8]
push 0x16c
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
push 1
push 0
push 0x2c
push 0x114
push 0
push 0
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
shl ebx, 4
add ebx, 0x186
push ebx
push 0x15c
push edi
push 0x10
push 0x20
push 4
push 0xe
mov ecx, esi
mov dword [esp + 0x34], ebx
call eax
mov eax, 0xcccccccd
mul dword [esp + 0x14]
mov eax, dword [esp + 0x18]
shr edx, 3
lea ebx, [edx + edx*4]
mov edx, dword [esi]
mov edx, dword [edx + 0x60]
push eax
add ebx, ebx
lea ecx, [ebx + 0x17c]
push ecx
push edi
push 0x10
push 0xa
push 4
push 0x30
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x18]
sub eax, ebx
add eax, 0x26
mov edx, dword [edx + 0x60]
lea ecx, [eax + eax*4]
add ecx, ecx
push ecx
push edi
push 0x10
push 0xa
push 4
push 0x3a
mov ecx, esi
call edx
cmp byte [ebp], 0
je 0x482a10
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
xor eax, eax
cmp dword [ecx + 0x1cc], edx
mov byte [edx + ecx + 0x94], 1
mov bx, word [ebp + 1]
sete al
mov word [ecx + edx*2 + 0xf8], bx
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4826f8
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x186
push 0x1e0
push edi
push 0x10
push 0x1c
push 4
push 0x48
mov ecx, esi
call edx
movzx ebx, word [ebp + 3]
mov eax, 0x10624dd3
mul ebx
shr edx, 6
push 0x1a6
add edx, 0x26
lea eax, [edx + edx*4]
add eax, eax
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push edi
push 0x10
push 0xa
push 4
push 0x64
mov ecx, esi
mov dword [esp + 0x34], ebx
call edx
mov eax, 0x51eb851f
mul ebx
mov eax, edx
xor edx, edx
shr eax, 5
mov ecx, 0xa
div ecx
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
push 0x1a6
add edx, 0x26
lea edx, [edx + edx*4]
add edx, edx
push edx
push edi
push 0x10
push ecx
push 4
push 0x6b
mov ecx, esi
call eax
mov eax, 0xcccccccd
mul ebx
shr edx, 3
mov dword [esp + 0x14], edx
mov eax, edx
xor edx, edx
mov ecx, 0xa
div ecx
mov ebx, dword [esi]
mov eax, dword [ebx + 0x60]
push 0x1a6
add edx, 0x26
lea edx, [edx + edx*4]
add edx, edx
push edx
push edi
push 0x10
push ecx
push 4
push 0x72
mov ecx, esi
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0x60]
lea eax, [eax + eax*4]
add eax, eax
mov ecx, eax
mov eax, dword [esp + 0x18]
sub eax, ecx
push 0x1a6
add eax, 0x26
lea eax, [eax + eax*4]
add eax, eax
push eax
push edi
push 0x10
push 0xa
push 4
push 0x79
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x1a6
push 0x15e
push edi
push 0x10
push 0xa
push 4
push 0x80
mov ecx, esi
call edx
movzx ebx, byte [ebp + 5]
mov eax, 0xcccccccd
mul ebx
shr edx, 3
lea eax, [edx + edx*4]
mov edx, dword [esi]
add eax, eax
push 0x1a6
mov dword [esp + 0x1c], eax
add eax, 0x17c
push eax
mov eax, dword [edx + 0x60]
push edi
push 0x10
push 0xa
push 4
push 0x87
mov ecx, esi
call eax
sub ebx, dword [esp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x60]
push 0x1a6
add ebx, 0x26
lea eax, [ebx + ebx*4]
add eax, eax
push eax
push edi
push 0x10
push 0xa
push 4
push 0x8e
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x1a6
push 0x168
push edi
push 0x10
push 0xa
push 4
push 0x95
mov ecx, esi
call edx
movzx ebx, word [ebp + 6]
mov eax, 0xcccccccd
mul ebx
shr edx, 3
lea eax, [edx + edx*4]
mov edx, dword [esi]
add eax, eax
push 0x1a6
mov dword [esp + 0x1c], eax
add eax, 0x17c
push eax
mov eax, dword [edx + 0x60]
push edi
push 0x10
push 0xa
push 4
push 0x9c
mov ecx, esi
call eax
sub ebx, dword [esp + 0x18]
mov edx, dword [esi]
add ebx, 0x26
push 0x1a6
lea eax, [ebx + ebx*4]
mov edx, dword [edx + 0x60]
add eax, eax
push eax
push edi
push 0x10
push 0xa
push 4
push 0xa3
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x1a6
push 0x15e
push edi
push 0x10
push 0xa
push 4
push 0xaa
mov ecx, esi
call edx
movzx ebx, word [ebp + 8]
mov eax, 0xcccccccd
mul ebx
shr edx, 3
lea eax, [edx + edx*4]
mov edx, dword [esi]
add eax, eax
push 0x1a6
mov dword [esp + 0x1c], eax
add eax, 0x17c
push eax
mov eax, dword [edx + 0x60]
push edi
push 0x10
push 0xa
push 4
push 0xb1
mov ecx, esi
call eax
sub ebx, dword [esp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x60]
push 0x1a6
add ebx, 0x26
lea eax, [ebx + ebx*4]
add eax, eax
push eax
push edi
push 0x10
push 0xa
push 4
push 0xb8
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x1a6
push 0x172
push edi
push 0x10
push 0xa
push 4
push 0xbf
mov ecx, esi
call edx
movzx ebx, word [ebp + 0xa]
mov eax, 0xcccccccd
mul ebx
shr edx, 3
lea eax, [edx + edx*4]
mov edx, dword [esi]
add eax, eax
push 0x1a6
mov dword [esp + 0x1c], eax
add eax, 0x17c
push eax
push edi
push 0x10
push 0xa
push 4
mov eax, dword [edx + 0x60]
push 0xc6
mov ecx, esi
call eax
sub ebx, dword [esp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x60]
push 0x1a6
add ebx, 0x26
lea eax, [ebx + ebx*4]
add eax, eax
push eax
push edi
push 0x10
push 0xa
push 4
push 0xcd
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
and eax, 0xffff8401
add eax, 0xffffff
push eax
mov eax, dword [esp + 0x3c]
mov byte [ebp + 0x2a], 0
push esi
add ebp, 0xc
push ebp
call fcn.00482a50
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x514eb8]
imul eax, eax, 0x23
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
push 1
push eax
mov eax, dword [esp + 0x48]
lea eax, [eax + eax*2]
shl eax, 4
push eax
push ecx
push 0x23
push 0x30
push 5
push 0xd8
mov ecx, esi
call edx
mov byte [esp + 0x30], 0
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov ecx, edi
call edx
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc