Function at 0x5d8650
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6c3558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebp
call fcn.0060fe70
xor ebx, ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x7c], ebx
call fcn.0060d180
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 1
call fcn.00546ec0
mov ecx, dword [0x704a1c]
mov eax, dword [0x704a18]
push ebx
push ebx
push ecx
mov dword [esp + 0x34], ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x703420
mov byte [esp + 0x90], 2
mov dword [esp + 0x38], eax
call fcn.0060ff10
push ecx
mov byte [esp + 0x8c], 3
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x703464
call fcn.0060ff10
mov ecx, 0x71b930
mov byte [esp + 0x8c], 2
call fcn.006115e0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x7043bc
call fcn.0060ff10
mov ecx, dword [0x71b948]
call fcn.0061f5c0
mov al, byte [0x71bb5c]
test al, al
je 0x5d8751
mov esi, 0x1e
call fcn.00698605
cdq
mov ecx, 0xa
idiv ecx
lea ecx, [esp + 0x14]
mov edi, edx
add edi, 0x30
call fcn.00610330
cmp ax, 0x1e
jg 0x5d874c
push edi
lea ecx, [esp + 0x18]
call fcn.00610310
dec esi
jne 0x5d8721
jmp 0x5d8791
sub esp, 0x24
lea eax, [esp + 0x48]
mov edx, esp
mov dword [esp + 0x44], esp
push 1
push eax
push edx
lea ecx, [esp + 0x80]
call fcn.00547f90
lea ecx, [esp + 0x50]
call fcn.0060d330
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push ecx
lea ecx, [esp + 0x34]
call fcn.0060d6b0
lea ecx, [esp + 0x18]
call fcn.006101a0
lea ecx, [esp + 0x14]
call fcn.00610330
cmp ax, 0x15
push ebx
jl 0x5d8b43
lea ecx, [esp + 0x18]
call fcn.00610190
mov dl, 0x80
lea ecx, [esp + 0x14]
cmp dl, al
lea esi, [ebp + 8]
sbb edi, edi
inc edi
lea eax, [edi + 0x15]
push eax
call fcn.00610190
and eax, 0xff
lea ecx, [edi + 0x14]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00610190
and eax, 0xff
lea edx, [edi + 0x13]
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00610190
and eax, 0xff
lea ecx, [esp + 0x1c]
push eax
lea eax, [edi + 0x12]
push eax
call fcn.00610190
and eax, 0xff
lea ecx, [edi + 0x11]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00610190
and eax, 0xff
lea edx, [edi + 0x10]
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00610190
and eax, 0xff
lea ecx, [esp + 0x28]
push eax
lea eax, [edi + 0xf]
push eax
call fcn.00610190
and eax, 0xff
lea ecx, [edi + 0xe]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00610190
and eax, 0xff
lea edx, [edi + 0xd]
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00610190
and eax, 0xff
lea ecx, [esp + 0x34]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.00610190
and eax, 0xff
lea ecx, [edi + 0xb]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00610190
and eax, 0xff
lea edx, [edi + 0xa]
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00610190
and eax, 0xff
push eax
lea eax, [edi + 9]
push eax
lea ecx, [esp + 0x48]
call fcn.00610190
and eax, 0xff
lea ecx, [edi + 8]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00610190
and eax, 0xff
lea edx, [edi + 7]
push eax
push edx
lea ecx, [esp + 0x50]
call fcn.00610190
and eax, 0xff
lea ecx, [esp + 0x4c]
push eax
lea eax, [edi + 6]
push eax
call fcn.00610190
and eax, 0xff
add edi, 5
push eax
push edi
lea ecx, [esp + 0x58]
call fcn.00610190
and eax, 0xff
push eax
push str._c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c
push esi
call fcn.00698355
mov cl, byte [esp + 0x5f]
add esp, 0x3c
mov byte [ebp + 0x19], 0
mov ebp, esp
mov edi, esi
xor eax, eax
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [esp + 0x30], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x5d893b
call fcn.0069788b
mov eax, dword [ebp + 4]
xor edi, edi
cmp eax, edi
je 0x5d896b
mov cl, byte [eax - 1]
test cl, cl
je 0x5d896b
cmp cl, 0xff
je 0x5d896b
cmp ebx, edi
jne 0x5d89da
dec cl
mov byte [eax - 1], cl
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
jmp 0x5d8a02
cmp ebx, edi
jne 0x5d89a4
cmp eax, edi
je 0x5d8999
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5d8990
cmp al, 0xff
je 0x5d8990
dec al
mov byte [ecx], al
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
jmp 0x5d8a02
push ecx
call fcn.00697880
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
jmp 0x5d8a02
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x1f
ja 0x5d89b0
cmp ecx, ebx
jae 0x5d89e2
cmp eax, edi
je 0x5d89d1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5d89c8
cmp al, 0xff
je 0x5d89c8
dec al
mov byte [ecx], al
jmp 0x5d89d1
push ecx
call fcn.00697880
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
push ebx
mov ecx, ebp
call fcn.00414870
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
xor edi, edi
mov byte [ebx], 0
push ecx
mov byte [esp + 0x90], 4
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x7043a0
call fcn.0060ff10
mov ecx, dword [0x71b948]
mov byte [esp + 0x90], 2
call fcn.0061f840
mov ecx, dword [0x71b948]
call fcn.0061f950
push edi
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x703420
call fcn.0060ff10
push ecx
mov byte [esp + 0x8c], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x704398
call fcn.0060ff10
mov ecx, 0x71b930
mov byte [esp + 0x8c], 2
call fcn.006115e0
cmp ax, 3
je 0x5d8abd
mov ecx, dword [esp + 0x18]
push edi
call fcn.005d8bd0
test ax, ax
jne 0x5d8abd
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x703420
call fcn.0060ff10
push ecx
mov byte [esp + 0x8c], 7
mov ecx, esp
mov dword [esp + 0x2c], esp
jmp 0x5d8b67
push edi
push 3
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x703420
call fcn.0060ff10
push ecx
mov byte [esp + 0x8c], 8
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x704390
call fcn.0060ff10
mov ecx, 0x71b930
mov byte [esp + 0x8c], 2
call fcn.006115e0
cmp ax, 1
jne 0x5d8b10
mov ecx, dword [esp + 0x18]
push edi
call fcn.005d99e0
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 1
call fcn.00546f80
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 0
call fcn.0060d280
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0060ffb0
mov ax, 1
jmp 0x5d8bb5
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x703420
call fcn.0060ff10
push ecx
mov byte [esp + 0x8c], 5
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x70345c
call fcn.0060ff10
mov ecx, 0x71b930
mov byte [esp + 0x8c], 2
call fcn.006115e0
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 1
call fcn.00546f80
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 0
call fcn.0060d280
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0060ffb0
xor ax, ax
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 4