Function at 0x4e2070
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5697e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.005132d2
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], ebp
call fcn.005132d2
mov eax, dword [esp + 0x44]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x40], 1
call fcn.005133da
mov ecx, edi
call fcn.004dd730
cmp dword [edi + 4], ebp
je 0x4e217d
mov ecx, edi
call fcn.004db6d0
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x44], esi
je 0x4e217d
xor ecx, ecx
mov cx, word [esi + 0x32]
push ecx
mov ecx, edi
call fcn.004db720
cmp word [esi + 0x30], bp
mov ebx, eax
jbe 0x4e234a
push ebp
mov ecx, edi
call fcn.004db6e0
mov edx, dword [eax]
mov ecx, edi
push edx
push ebx
call fcn.004db900
mov esi, str..stab
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4e2137
test cl, cl
je 0x4e2133
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4e2137
add eax, 2
add esi, 2
test cl, cl
jne 0x4e2113
xor eax, eax
jmp 0x4e213c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e2154
mov ecx, dword [esp + 0x44]
xor eax, eax
inc ebp
mov ax, word [ecx + 0x30]
cmp ebp, eax
jl 0x4e20fb
jmp 0x4e234a
push ebp
mov ecx, edi
call fcn.004db6e0
mov ebp, eax
xor edx, edx
mov eax, dword [ebp + 0x14]
div dword [ebp + 0x24]
test edx, edx
jne 0x4e217d
mov edx, dword [ebp + 0x18]
mov ecx, edi
push edx
call fcn.004db720
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x4e21a3
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.005132cc
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.005132cc
xor eax, eax
jmp 0x4e236e
mov eax, dword [ebp + 0x14]
xor edx, edx
div dword [ebp + 0x24]
test eax, eax
mov dword [esp + 0x28], eax
je 0x4e234a
mov dword [esp + 0x18], 0
jle 0x4e234a
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
mov ecx, edi
push eax
push ebp
call fcn.004db760
mov esi, eax
test esi, esi
je 0x4e217d
mov ecx, dword [esi]
mov edx, dword [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call fcn.004db900
test eax, eax
je 0x4e2335
mov cl, byte [esi + 4]
cmp cl, 0x64
je 0x4e2204
cmp cl, 0x84
jne 0x4e2335
push eax
lea ecx, [esp + 0x14]
call fcn.005135fc
push 0x5c
push 0x2f
lea ecx, [esp + 0x18]
call fcn.00513950
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4e2335
cmp byte [eax + ecx - 1], 0x5c
je 0x4e2335
push 0x5b7830
lea ecx, [esp + 0x14]
call fcn.00513938
cmp eax, 0xffffffff
jne 0x4e227f
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00513416
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call fcn.004dd4b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 2
call fcn.005133d4
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x40]
jmp 0x4e22c8
push 0x5c
lea ecx, [esp + 0x14]
call fcn.005133ce
lea edx, [esp + 0x44]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.005133c8
mov eax, dword [esp + 0x44]
mov ecx, edi
push eax
mov byte [esp + 0x3c], 3
call fcn.004dd820
test eax, eax
jne 0x4e22bf
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x18]
lea edx, [esp + 0x44]
push edx
push eax
call fcn.00513824
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x44]
call fcn.005132cc
push 0x5c
lea ecx, [esp + 0x14]
call fcn.005133ce
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.00513410
push eax
lea ecx, [esp + 0x24]
push ebx
push ecx
mov byte [esp + 0x44], 4
call fcn.00513932
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.005133d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 4
call fcn.005132cc
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 1
call fcn.005132cc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
call dword [0x5701ac]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4e21c9
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.005132cc
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.005132cc
mov eax, 1
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 8