Function at 0x563d1c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00561e24
mov eax, dword [ebp - 4]
call fcn.00567ebc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 5], al
mov dl, 6
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x20]
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x5640a4
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x563f6f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
cmp al, 1
jne 0x563e32
test ebx, ebx
jne 0x563f65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.0055d9e4
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0055ec00
push eax
mov eax, dword [0x5bf530]
mov eax, dword [eax]
call eax
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.0055dab8
cmp dword [ebp - 0xc], 0
je 0x563e0f
cmp dword [ebp - 0xc], 0xfffff3c6
je 0x563e0f
cmp dword [ebp - 0xc], 0xfffff3c7
je 0x563e0f
cmp dword [ebp - 0xc], 0xfffff3cd
je 0x563e0f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0055ec00
mov ax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 0x40], ax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00561d58
cmp dword [ebp - 0xc], 0
jne 0x563f65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0055ec00
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
jmp 0x563f65
cmp al, 2
jne 0x563f5d
mov eax, dword [ebp - 4]
cmp word [eax + 0x34], 4
je 0x563e4a
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0055ec6c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.0055d9e4
push ebx
push 0
push 0
push 0
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.0055d9d0
push eax
mov eax, dword [0x5bf354]
mov eax, dword [eax]
call eax
add esp, 0x20
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.0055dab8
cmp ebx, 0x10
je 0x563ede
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
push eax
push 9
push 0
lea eax, [ebp - 0x10]
push eax
push 4
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x5bfad8]
mov eax, dword [eax]
call eax
add esp, 0x18
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00561d58
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
cmp word [eax + 0x34], 0
jne 0x563f1e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
push eax
push 0xa
push 0
lea eax, [ebp - 0x10]
push eax
push 4
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x5bfad8]
mov eax, dword [eax]
call eax
add esp, 0x18
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00561d58
mov eax, dword [ebp - 4]
mov dx, word [ebp - 0x10]
mov word [eax + 0x34], dx
cmp dword [ebp - 0xc], 0
je 0x563f65
cmp dword [ebp - 0xc], 0x63
je 0x563f65
mov eax, dword [ebp - 4]
cmp word [eax + 0x34], 4
jne 0x563f3a
cmp dword [ebp - 0xc], 0x64
je 0x563f65
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.005389e4
cmp eax, 0xc33
je 0x563f58
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00561d58
jmp 0x563f65
mov dword [ebp - 0xc], eax
jmp 0x563f65
mov eax, dword [ebp - 4]
call fcn.00561ca8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x563f95
cmp ebx, 0x10
je 0x563fe5
mov dl, 7
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x563ff0
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, ebx
call fcn.0051bd8c
cmp word [eax + 8], 0x65
jne 0x563fdf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, ebx
call fcn.0051bd8c
call fcn.00560b74
mov byte [eax + 0x1c], 7
inc ebx
dec esi
jne 0x563fb5
jmp 0x563ff0
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x20]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5640ae
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x56409b
mov eax, dword [0x5bf674]
cmp word [eax], 0x1f72
jb 0x56409b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x56409b
mov eax, dword [0x5bf674]
cmp word [eax], 0x1fa4
jb 0x564062
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
push eax
push 0x81
push 0
lea eax, [ebp - 0x10]
push eax
push 4
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x5bfad8]
mov eax, dword [eax]
call eax
add esp, 0x18
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00561d58
jmp 0x564090
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
push eax
push 0x80
push 0
lea eax, [ebp - 0x10]
push eax
push 4
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x5bfad8]
mov eax, dword [eax]
call eax
add esp, 0x18
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00561d58
mov eax, dword [ebp - 4]
mov dx, word [ebp - 0x10]
mov word [eax + 0x40], dx
mov eax, dword [ebp - 4]
call fcn.00567ed0
ret