Function at 0x7ce388
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ae4fb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4e3a40]
xor eax, esp
mov dword [esp + reloc.MSVCRT.dll_strncpy], eax
push ebp
push esi
push edi
mov eax, dword [0x4e3a40]
xor eax, esp
push eax
lea eax, reloc.MSVCRT.dll_strncpy
mov dword fs:[0], eax
push 0x200
xor edi, edi
lea eax, [esp + 0x40]
push edi
push eax
call fcn.008214e8
add esp, 0xc
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + reloc.MSVCRT.dll_strncpy], edi
mov esi, dword [fcn.004b440c]
push ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], edi
xor ebp, ebp
call esi
test eax, eax
jle 0x7ce4ca
lea ecx, [ecx]
movzx eax, word [ebx + ebp*2]
cmp ax, 0x30
jb 0x7ce425
cmp ax, 0x39
ja 0x7ce425
mov word [esp + edi*2 + 0x3c], ax
add edi, 1
jmp 0x7ce4bc
cmp ax, 0x2f
je 0x7ce435
cmp ax, 0x2d
jne 0x7ce4bc
xor eax, eax
lea ecx, [esp + 0x3c]
push ecx
mov word [esp + edi*2 + 0x40], ax
mov dword [esp + 0x1c], eax
call esi
test eax, eax
jle 0x7ce4b1
lea edx, [esp + 0x3c]
push edx
call fcn.0081ee72
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
add esp, 4
test edi, edi
mov dword [esp + 0x30], eax
je 0x7ce489
mov edx, dword [esp + 0x28]
mov ecx, esi
sub ecx, edi
sub edx, edi
sar ecx, 2
sar edx, 2
cmp ecx, edx
jae 0x7ce489
mov ecx, esi
add ecx, 4
mov dword [esi], eax
mov dword [esp + 0x24], ecx
jmp 0x7ce4ab
cmp edi, esi
jbe 0x7ce492
call fcn.0081e954
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x40]
push ecx
lea eax, [esp + 0x2c]
call fcn.007c8e68
mov esi, dword [fcn.004b440c]
mov edi, dword [esp + 0x18]
mov word [esp + 0x3c], 0
push ebx
add ebp, 1
call esi
cmp ebp, eax
jl 0x7ce408
lea edx, [esp + 0x3c]
push edx
call esi
test eax, eax
jle 0x7ce531
lea eax, [esp + 0x3c]
push eax
call fcn.0081ee72
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
add esp, 4
test edi, edi
mov dword [esp + 0x18], eax
je 0x7ce513
mov edx, dword [esp + 0x28]
mov ecx, esi
sub ecx, edi
sub edx, edi
sar ecx, 2
sar edx, 2
cmp ecx, edx
jae 0x7ce513
mov ecx, esi
mov dword [esi], eax
lea eax, [ecx + 4]
mov dword [esp + 0x24], eax
jmp 0x7ce535
cmp edi, esi
jbe 0x7ce51c
call fcn.0081e954
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.007c8e68
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x7ce5c4
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, 3
jne 0x7ce580
cmp edx, 2
ja 0x7ce55f
call fcn.0081e954
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
movzx esi, word [ecx + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x14], esi
jne 0x7ce577
call fcn.0081e954
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx]
mov dword [esp + 0x2c], eax
jmp 0x7ce5b6
cmp edx, 2
jne 0x7ce5c4
cmp edx, 1
ja 0x7ce597
call fcn.0081e954
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
movzx esi, word [ecx + 4]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x14], esi
jne 0x7ce5af
call fcn.0081e954
mov ecx, dword [esp + 0x20]
movzx edx, word [ecx]
mov dword [esp + 0x2c], edx
cmp si, 0x64
jae 0x7ce5c4
add dword [esp + 0x14], reloc.MSVCRT.dll_strncpy
movzx esi, word [esp + 0x14]
movzx eax, word [esp + 0x2c]
shl esi, 0x10
or esi, eax
test ecx, ecx
je 0x7ce5e0
push ecx
call fcn.007f7cd4
add esp, 4
mov eax, esi
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
xor ecx, esp
call fcn.0081e2f5
add esp, 0x23c
ret