Function at 0x46eed7
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435cfc
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x44a1ac]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x44a1ac]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0xf
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
pop edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov esi, 0x43e85c
push esi
mov dword [esp + 0x1e4], ebx
call dword [fcn.004382fc]
pop ecx
push eax
push esi
lea ecx, [esp + 0x38]
call fcn.0045d8dd
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c8], 0x202e2d2c
mov word [esp + 0x1cc], 0x2f
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
lea eax, [esp + 0x1c8]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1e4], 1
call fcn.0045c171
mov word [esp + 0x84], bx
mov dword [esp + 0x88], ebx
mov byte [esp + 0x8c], bl
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x1e0], 3
cmp dword [ecx + 0x14], 0x10
jb 0x46efd1
mov eax, dword [ecx]
jmp 0x46efd3
mov eax, ecx
mov dword [esp + 0x104], eax
lea eax, [esp + 0x108]
push eax
call fcn.004600a6
lea eax, [esp + 0x10c]
push eax
lea edi, [esp + 0x50]
call fcn.0046f687
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x1e4], 4
call fcn.0046f8c7
mov byte [esp + 0x1e0], 5
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x158]
call fcn.0046f92c
mov cl, byte [eax + 0x4c]
xor edi, edi
inc edi
or dword [esp + 0x14], edi
cmp cl, bl
je 0x46f061
cmp byte [esp + 0xe0], bl
je 0x46f061
mov ecx, dword [eax + 0x44]
cmp ecx, dword [esp + 0xd8]
jne 0x46f071
mov eax, dword [eax + 0x48]
cmp eax, dword [esp + 0xdc]
je 0x46f07c
jmp 0x46f071
xor eax, eax
cmp cl, byte [esp + 0xe0]
sete al
cmp al, bl
jne 0x46f07c
mov byte [esp + 0x13], 1
cmp esi, dword [esp + 0x40]
jb 0x46f080
mov byte [esp + 0x13], bl
test byte [esp + 0x14], 1
je 0x46f0a6
and dword [esp + 0x14], 0xfffffffe
push ebx
push edi
lea ecx, [esp + 0x1ac]
call fcn.0045d36c
lea esi, [esp + 0x154]
call fcn.0046f459
cmp byte [esp + 0x13], bl
je 0x46f159
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jbe 0x46f14e
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x46f0cd
lea eax, [esp + 0x30]
mov al, byte [eax + esi]
cmp al, 0x64
je 0x46f108
cmp al, 0x6d
je 0x46f0f1
cmp al, 0x79
jne 0x46f11b
lea ecx, [esp + 0xe4]
call fcn.0046fc39
movzx eax, ax
mov dword [esp + 0x24], eax
jmp 0x46f11b
lea eax, [esp + 0xe4]
push eax
call fcn.0046fcce
movzx eax, ax
pop ecx
mov dword [esp + 0x20], eax
jmp 0x46f11b
lea ecx, [esp + 0xe4]
call fcn.0046fc39
movzx eax, ax
mov dword [esp + 0x28], eax
lea eax, [esp + 0xe4]
push eax
push dword [esp + 0xe0]
lea eax, [esp + 0xe0]
lea edi, [esp + 0x9c]
call fcn.0046fe72
inc esi
mov byte [esp + 0xe0], al
mov dword [esp + 0x2c], esi
jmp 0x46f01c
push 0x43d9c4
call dword [0x4382d4]
push ebx
push edi
lea ecx, [esp + 0xec]
mov byte [esp + 0x1e8], 4
call fcn.0045d36c
lea esi, [esp + 0x94]
call fcn.0046f459
push ecx
mov ecx, edi
mov eax, esp
mov word [eax], cx
mov ecx, dword [esp + 0x2c]
movzx edx, cx
inc edx
mov dword [esp + 0x1c], esp
cmp edx, 2
jge 0x46f199
call fcn.0046ecc5
cmp cx, 0x1f
ja 0x46f194
push ecx
mov word [eax], cx
mov ecx, esp
mov dword [esp + 0x20], esp
push dword [esp + 0x28]
mov eax, edi
mov word [ecx], ax
call fcn.0046ebce
push ecx
mov ecx, dword [esp + 0x30]
mov eax, esp
mov dword [esp + 0x24], esp
call fcn.0046d34f
push dword [esp + 0x28]
call fcn.0046d3e3
lea esi, [esp + 0x10c]
call fcn.0046f459
lea esi, [esp + 0x4c]
call fcn.0046f459
push ebx
push edi
lea ecx, [esp + 0x38]
call fcn.0045d36c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.00476fa8
mov esp, ebp
pop ebp
ret