Function at 0x56e800
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73b7bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
mov ebx, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov dword [ebp - 0x1c], ecx
test dword [esi + 0x14], 0x4000
mov edi, dword [esi + 0x30]
je 0x56ead3
mov esi, dword [edi + 4]
mov ecx, esi
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
call fcn.00477b90
add esp, 4
mov edi, eax
mov dword [ebp - 0x14], edi
test esi, esi
je 0x56e875
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test eax, eax
je 0x56e875
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 1
mov word [ebp - 0x38], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call dword [eax + 0x18]
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
push dword [ebp - 0x40]
cmovae eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.00495e00
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x56e8f9
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x56e8ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x56ebb1
push edx
push ecx
call fcn.00503df0
add esp, 8
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
cmp esi, ecx
jae 0x56e921
lea eax, [esi + 1]
cmp ecx, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
mov word [eax + esi], 0
jmp 0x56e9ee
mov edx, bind
mov eax, edx
sub eax, esi
cmp eax, 1
jb 0x56ebb6
lea edi, [esi + 1]
or edi, 0xf
cmp edi, edx
jbe 0x56e941
mov edi, edx
jmp 0x56e959
mov eax, ecx
shr eax, 1
sub edx, eax
cmp ecx, edx
jbe 0x56e952
mov edi, bind
jmp 0x56e959
add eax, ecx
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x38]
call fcn.0047e6a0
lea ecx, [esi + 1]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
lea ecx, [esi + eax]
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x1c], ecx
lea ecx, [esi + 1]
add ecx, eax
mov dword [ebp + 0x20], ecx
push esi
cmp edi, 0x10
jb 0x56e9cc
mov esi, dword [ebp - 0x38]
push esi
push eax
call fcn.006f45d0
mov eax, dword [ebp + 0x1c]
inc edi
add esp, 0xc
mov byte [eax], 0
mov eax, dword [ebp + 0x20]
mov byte [eax], 0
mov eax, esi
cmp edi, 0x1000
jb 0x56e9c0
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x56ebc0
push edi
push esi
call fcn.00503df0
add esp, 8
jmp 0x56e9e5
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.006f45d0
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov byte [eax], 0
mov eax, dword [ebp + 0x20]
mov byte [eax], 0
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
push dword [ebp - 0x40]
cmovae eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x38]
push eax
mov byte [ebp - 4], 3
call fcn.00495e00
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x56ea4c
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x56ea42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x56ebbb
push edx
push ecx
call fcn.00503df0
add esp, 8
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x38]
mov esi, dword [ebp - 0x38]
cmp edi, 0x10
push 1
cmovae eax, esi
push eax
push 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00563530
add esp, 0x14
sub eax, 0
je 0x56ea8d
sub eax, 1
mov eax, dword [ebp + 0x24]
je 0x56ea88
mov byte [eax], 0
mov dword [ebx], 2
jmp 0x56ea93
mov byte [eax], 1
jmp 0x56ea93
mov eax, dword [ebp + 0x24]
mov byte [eax], 0
mov dword [ebp - 4], 0xffffffff
cmp edi, 0x10
jb 0x56eb79
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x56eac4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x56ebc0
push ecx
push esi
call fcn.00503df0
add esp, 8
jmp 0x56eb79
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 4
push eax
push dword [esi + 0x14]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x1c]
call fcn.0056a600
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov esi, eax
test edi, edi
je 0x56eb25
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x56eb25
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp byte [ebp - 0x70], 0
jne 0x56eb33
mov eax, dword [ebp + 0x24]
mov byte [eax], 0
jmp 0x56eb73
lea eax, [ebp + 0x20]
push eax
push esi
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.006dfa3d
mov edx, eax
add esp, 0x10
lea eax, [ebp - 0x70]
cmp dword [ebp + 0x1c], eax
je 0x56eb6d
cmp dword [ebp + 0x20], 0
jne 0x56eb6d
mov eax, dword [ebp + 0x24]
test edx, edx
setne cl
mov byte [eax], cl
test edx, edx
je 0x56eb79
cmp edx, 1
je 0x56eb79
jmp 0x56eb73
mov eax, dword [ebp + 0x24]
mov byte [eax], 1
mov dword [ebx], 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00562d60
add esp, 8
test al, al
je 0x56eb90
or dword [ebx], 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword [eax + 4], edx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x20
call fcn.006fee64
call fcn.0047e500
call fcn.006fee64
call fcn.006fee64
int3