Function at 0x58d630
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x7a3c00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov edi, 0x7cb900
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
push ecx
lea eax, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov byte [esp + 0x84], 1
call fcn.007605f0
lea ecx, [esp + 0x2c]
push ecx
call fcn.00517810
mov ebp, 0x7cb8e8
add esp, 8
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
xor eax, eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x30]
xor esi, esi
cmp ecx, ebx
mov byte [esp + 0x7c], 3
jle 0x58d74f
lea edx, [esp + 0x50]
push esi
push edx
lea ecx, [esp + 0x30]
call fcn.00435f00
mov eax, dword [esp + 0x64]
mov byte [esp + 0x7c], 4
cmp eax, 1
je 0x58d713
cmp eax, 4
je 0x58d713
cmp eax, 3
je 0x58d713
cmp eax, 7
jne 0x58d72b
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
lea ecx, [esp + 0x48]
jmp 0x58d726
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00422a10
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 3
call fcn.0073d650
mov eax, dword [esp + 0x30]
inc esi
cmp esi, eax
jl 0x58d6d2
mov eax, dword [esp + 0x1c]
cmp eax, 2
jge 0x58d7b1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], ebp
cmp eax, ebx
mov byte [esp + 0x7c], 5
je 0x58d765
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
mov byte [esp + 0x7c], 6
cmp eax, ebx
je 0x58d77f
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x7c], 7
cmp eax, ebx
je 0x58d856
mov ecx, dword [esp + 0x30]
push ecx
push eax
call fcn.00423560
mov edx, dword [esp + 0x2c]
push edx
call fcn.007604d0
add esp, 4
jmp 0x58d856
jne 0x58d813
mov edi, dword [esp + 0x88]
xor esi, esi
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 8]
mov edx, dword [ecx + esi*8 + 4]
mov ecx, dword [ecx + esi*8]
push edx
push ecx
push eax
mov ecx, edi
call fcn.00422a10
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x58d7bc
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x40]
mov byte [esp + 0x7c], 8
cmp eax, ebx
je 0x58d7f7
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
mov byte [esp + 0x7c], 9
cmp eax, ebx
je 0x58d849
push eax
call fcn.007604d0
add esp, 4
jmp 0x58d849
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00501c90
add esp, 0xc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 2
call fcn.00421b60
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 1
call fcn.00421b60
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], bl
call fcn.00422760
lea ecx, [esp + 0x84]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0076087b
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret