Function at 0x558400
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5d70de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov al, byte [esp + 0x80]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov byte [esp + 0x44], al
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov edi, dword [esp + 0x88]
mov dword [esp + 0x7c], ebp
cmp edi, ebp
mov dword [esp + 0x10], ebp
jbe 0x558467
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x48]
call fcn.00558c40
mov edx, edi
lea ecx, [esp + 0x48]
sub edx, eax
push edx
push ebp
call fcn.00558c60
jmp 0x55848a
lea ecx, [esp + 0x44]
call fcn.00558c40
cmp edi, eax
jae 0x55848a
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
push eax
lea edx, [ecx + edi*2]
lea ecx, [esp + 0x48]
push edx
call fcn.00558e70
xor esi, esi
xor eax, eax
cmp edi, ebp
jbe 0x5584b5
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x48]
mov cx, word [edx + eax*2]
mov word [ebx + eax*2], cx
mov cx, word [edx + eax*2]
cmp cx, si
jbe 0x5584b0
mov esi, ecx
inc eax
cmp eax, edi
jb 0x558499
mov dl, byte [esp + 0x90]
mov dword [esp + 0x28], ebp
mov byte [esp + 0x24], dl
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov al, byte [esp + 0x90]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x14], al
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 2
call fcn.005590c0
mov eax, dword [0x79f878]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [0x61c954]
push edx
push esi
push eax
lea edx, [esp + 0x54]
push ecx
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 3
call fcn.0055ab60
mov al, byte [esp + 0x90]
mov dword [esp + 0x38], ebp
mov byte [esp + 0x34], al
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov al, byte [0x79f87c]
mov bl, 4
test al, al
mov byte [esp + 0x7c], bl
mov dword [esp + 0x88], ebp
je 0x558709
mov ecx, dword [esp + 0x90]
push 0x10
mov word [ecx], 1
call fcn.004be2d0
add esp, 4
mov dword [esp + 0x90], eax
cmp eax, ebp
mov byte [esp + 0x7c], 5
je 0x558595
push 0x5583a0
push 0x558eb0
lea esi, [eax + 4]
push 1
push 0xc
push esi
mov dword [eax], 1
call fcn.0058f3ec
jmp 0x558597
xor esi, esi
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x28]
mov byte [esp + 0x7c], bl
mov ebx, dword [esp + 0x2c]
mov dword [edx], esi
xor ebp, ebp
xor edx, edx
test edi, edi
je 0x5585e8
mov eax, ebx
sub eax, edi
sar eax, 2
cmp edx, eax
jae 0x5585e8
mov eax, dword [edi + edx*4]
add eax, 0xc
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x5585d7
xor eax, eax
inc edx
lea ecx, [eax + ebp]
lea ebp, [ecx + eax*2]
jmp 0x5585b0
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
inc edx
lea ecx, [eax + ebp]
lea ebp, [ecx + eax*2]
jmp 0x5585b0
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x5585f4
xor eax, eax
jmp 0x5585fd
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
lea edx, [eax + ebp]
mov dword [esi], 0
lea eax, [edx + eax*2]
mov dword [esi + 4], eax
add eax, eax
push eax
call fcn.004be2d0
mov dword [esi + 8], eax
mov ebp, dword [esp + 0x2c]
add esp, 4
xor eax, eax
xor edx, edx
test ebp, ebp
je 0x5586a1
mov ecx, dword [esp + 0x2c]
sub ecx, ebp
sar ecx, 2
cmp edx, ecx
jae 0x5586a1
xor ecx, ecx
mov edi, dword [ebp + edx*4]
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x55869e
mov ebp, dword [edi + 0x14]
sub ebp, ebx
sar ebp, 2
cmp ecx, ebp
jae 0x55869a
mov edi, ebx
mov ebx, dword [esi + 8]
inc eax
mov edi, dword [edi + ecx*4]
inc eax
inc eax
inc ecx
mov di, word [edi]
mov word [ebx + eax*2 - 6], di
mov edi, dword [esp + 0x28]
mov ebx, dword [esi + 8]
mov edi, dword [edi + edx*4]
mov edi, dword [edi + 0x10]
mov edi, dword [edi + ecx*4 - 4]
mov di, word [edi + 4]
mov word [ebx + eax*2 - 4], di
mov edi, dword [esp + 0x28]
mov ebx, dword [esi + 8]
mov edi, dword [edi + edx*4]
mov edi, dword [edi + 0x10]
mov edi, dword [edi + ecx*4 - 4]
mov di, word [edi + 8]
mov word [ebx + eax*2 - 2], di
mov ebp, dword [esp + 0x28]
jmp 0x558635
mov ebp, dword [esp + 0x28]
inc edx
jmp 0x558622
xor ecx, ecx
add eax, eax
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
test edx, edx
je 0x55895e
mov ebx, edi
sub ebx, edx
sar ebx, 2
cmp ecx, ebx
jae 0x55895e
mov edx, dword [edx + ecx*4]
mov edi, dword [esi + 8]
add eax, 2
mov dx, word [edx]
mov word [eax + edi - 2], dx
mov edx, dword [esp + 0x18]
mov edi, dword [esi + 8]
add eax, 2
mov edx, dword [edx + ecx*4]
add eax, 2
inc ecx
mov dx, word [edx + 4]
mov word [eax + edi - 4], dx
mov edx, dword [esp + 0x18]
mov edi, dword [esi + 8]
mov edx, dword [edx + ecx*4 - 4]
mov dx, word [edx + 8]
mov word [eax + edi - 2], dx
mov ebp, dword [esp + 0x28]
jmp 0x5586a5
mov cl, byte [0x61c958]
lea eax, [esp + 0x88]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x64]
call fcn.0055a710
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x88]
cmp eax, ebp
mov word [edx], cx
je 0x558756
mov esi, dword [esp + 0x1c]
sub esi, eax
test esi, 0xfffffffc
je 0x558756
inc ecx
mov word [edx], cx
xor esi, esi
mov si, word [edx]
lea ecx, [esi + esi*2]
lea edx, [ecx*4 + 4]
push edx
call fcn.004be2d0
add esp, 4
mov dword [esp + 0x84], eax
cmp eax, ebp
mov byte [esp + 0x7c], 6
je 0x558798
push 0x5583a0
push 0x558eb0
lea edi, [eax + 4]
push esi
push 0xc
push edi
mov dword [eax], esi
call fcn.0058f3ec
jmp 0x55879a
xor edi, edi
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x84], edi
mov byte [esp + 0x7c], bl
mov dword [esp + 0x8c], ebp
mov dword [eax], edi
mov eax, dword [esp + 0x88]
xor edi, edi
cmp eax, ebp
jbe 0x558874
mov ecx, dword [esp + 0x84]
lea ebp, [ecx + 8]
cmp eax, 1
je 0x558800
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov esi, edi
lea eax, [ecx + edi*4]
test ecx, ecx
je 0x5587fc
mov ebx, edx
sub ebx, ecx
sar ebx, 2
cmp esi, ebx
jae 0x5587fc
cmp dword [eax], 0xffffffff
je 0x5587fc
inc esi
add eax, 4
jmp 0x5587e2
sub esi, edi
jmp 0x558815
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x55880c
xor esi, esi
jmp 0x558815
mov esi, dword [esp + 0x3c]
sub esi, eax
sar esi, 2
lea edx, [esi + esi]
mov dword [ebp - 8], 1
push edx
call fcn.004be2d0
mov dword [ebp], eax
mov dword [ebp - 4], esi
add esi, edi
add esp, 4
cmp edi, esi
mov eax, edi
jge 0x558850
xor ecx, ecx
mov edi, dword [esp + 0x38]
mov edx, dword [ebp]
add ecx, 2
mov di, word [edi + eax*4]
inc eax
mov word [edx + ecx - 2], di
cmp eax, esi
jl 0x558838
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
inc ecx
add ebp, 0xc
cmp ecx, eax
lea edi, [esi + 1]
mov dword [esp + 0x8c], ecx
jb 0x5587d0
mov edx, dword [esp + 0x18]
test edx, edx
je 0x558950
mov edi, dword [esp + 0x1c]
mov eax, edi
sub eax, edx
test eax, 0xfffffffc
je 0x55895a
mov ecx, dword [esp + 0x90]
xor eax, eax
mov ax, word [ecx]
dec eax
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x84]
lea esi, [eax + edx*4]
mov dword [esi], 0
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x5588bf
xor eax, eax
jmp 0x5588c8
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
lea ecx, [eax + eax*2]
shl ecx, 1
push ecx
call fcn.004be2d0
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x1c]
add esp, 4
test ecx, ecx
jne 0x5588e5
xor eax, eax
jmp 0x5588ee
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
lea edx, [eax + eax*2]
xor ecx, ecx
mov dword [esi + 4], edx
xor eax, eax
mov edx, dword [esp + 0x18]
test edx, edx
je 0x558950
mov edi, dword [esp + 0x1c]
mov ebx, edi
sub ebx, edx
sar ebx, 2
cmp ecx, ebx
jae 0x55895a
mov edx, dword [edx + ecx*4]
mov edi, dword [esi + 8]
add eax, 2
mov dx, word [edx]
mov word [eax + edi - 2], dx
mov edx, dword [esp + 0x18]
mov edi, dword [esi + 8]
add eax, 2
mov edx, dword [edx + ecx*4]
add eax, 2
inc ecx
mov dx, word [edx + 4]
mov word [eax + edi - 4], dx
mov edx, dword [esp + 0x18]
mov edi, dword [esi + 8]
mov edx, dword [edx + ecx*4 - 4]
mov dx, word [edx + 8]
mov word [eax + edi - 2], dx
jmp 0x5588f8
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
jmp 0x55895e
mov ebp, dword [esp + 0x28]
xor ebx, ebx
xor esi, esi
cmp ebp, ebx
je 0x5589fb
mov eax, dword [esp + 0x2c]
sub eax, ebp
sar eax, 2
cmp esi, eax
jae 0x5589fb
xor edi, edi
mov eax, dword [ebp + esi*4]
mov ecx, dword [eax + 0x10]
cmp ecx, ebx
je 0x5589b7
mov edx, dword [eax + 0x14]
sub edx, ecx
sar edx, 2
cmp edi, edx
jae 0x5589b7
mov eax, ecx
mov ecx, dword [eax + edi*4]
push ecx
call fcn.004be370
mov edx, dword [esp + 0x2c]
add esp, 4
inc edi
mov eax, dword [edx + esi*4]
mov ecx, dword [eax + 0x10]
mov dword [ecx + edi*4 - 4], ebx
mov ebp, dword [esp + 0x28]
jmp 0x55897d
mov edi, dword [ebp + esi*4]
cmp edi, ebx
je 0x5589e5
mov eax, dword [edi + 0x10]
push eax
mov dword [esp + 0x94], eax
call fcn.004be370
push edi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
call fcn.004be370
mov ebp, dword [esp + 0x30]
add esp, 8
mov dword [ebp + esi*4], ebx
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc esi
jmp 0x558962
xor esi, esi
cmp edx, ebx
je 0x558a28
sub edi, edx
sar edi, 2
cmp esi, edi
jae 0x558a28
mov edx, dword [edx + esi*4]
push edx
call fcn.004be370
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [eax + esi*4], ebx
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc esi
jmp 0x5589fd
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004be370
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x7c], 2
call fcn.00558c10
mov edx, dword [esp + 0x18]
push edx
call fcn.004be370
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.004be370
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x30], ebx
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004be370
mov ecx, dword [esp + 0x80]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret