Function at 0x59c0c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x610896
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00555700
mov ecx, dword [esi + 0x28]
mov edi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x54]
call edx
test al, al
jne 0x59c160
mov ecx, edi
call fcn.00555ce0
movzx edx, word [edi + 0x3c]
mov eax, 0x574e
mov ebp, dword [edi + 0x44]
test dx, dx
mov ebx, dword [edi + 0x6c]
mov ecx, dword [esi + 0x28]
cmove edx, eax
test ebp, ebp
mov eax, 0x64
push edx
cmove ebp, eax
mov eax, 0x4000000
test ebx, ebx
cmove ebx, eax
mov eax, dword [ecx]
call dword [eax + 0x58]
cmp dword [esi + 0x38], 2
je 0x59c15a
mov ecx, dword [esi + 0x28]
push ebp
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov eax, dword [esi + 0x28]
mov dword [eax + 0x10], ebx
lea ecx, [esp + 0x34]
call fcn.0059f5d0
mov dword [esp + 0xe0], 0
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x18], 0x4ca328
lea ebx, [edi + 0x7c]
mov byte [esp + 0xe0], 1
mov ecx, ebx
mov eax, 0x4d4d5c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x59c1c3
test dl, dl
je 0x59c1bf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x59c1c3
add eax, 2
add ecx, 2
test dl, dl
jne 0x59c1a3
xor eax, eax
jmp 0x59c1c8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x59c2f4
movzx eax, word [edi + 0x64]
push eax
call fcn.0059e890
mov ebx, eax
add esp, 4
test bl, 8
je 0x59c213
lea ecx, [esp + 0x34]
call fcn.005a0930
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
push 0x7d0
push edx
lea edx, [esp + 0x1c]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x40]
push edx
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x59c324
test bl, 4
je 0x59c247
lea ecx, [esp + 0x34]
call fcn.005a0840
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
push 0x7d0
push edx
lea edx, [esp + 0x1c]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x40]
push edx
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x59c324
test bl, 2
je 0x59c272
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
push 0x7d0
push edx
lea edx, [esp + 0x1c]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x40]
push edx
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x59c324
test ebx, 0xe
jne 0x59c284
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], 0x64
xor bl, bl
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x18], 0x4ca328
jb 0x59c2a1
push dword [esp + 0x1c]
call fcn.005df995
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0xe0], 0xffffffff
call fcn.0059f760
mov al, bl
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.005e0482
add esp, 0xd0
ret
push ebx
lea ecx, [esp + 0x38]
call fcn.005a06e0
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
push 0x7d0
push edx
lea edx, [esp + 0x1c]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x40]
push edx
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x59c284
mov bl, 1
jmp 0x59c286