Function at 0x406d14
Capabilities:
Get number of processors

Disassembly:
outsb dx, byte [esi]
jae 0x406d51
jb 0x406d7d
cmp ax, 0x6822
je 0x406d93
jo 0x406d5b
das
das
ja 0x406d9c
ja 0x406d55
ja 0x406d5c
outsd dx, dword cs:[esi]
jb 0x406d94
das
xor dword [ecx], edi
cmp dword [ecx], edi
das
xor byte [edx], dh
das
xor dh, byte [edx]
sub eax, 0x2d666472
jae 0x406db8
outsb dx, byte [esi]
je 0x406da3
js 0x406d71
outsb dx, byte [esi]
jae 0x406d6a
and bh, byte [esi]
and byte [edx + esi*2], bh
cmp al, byte fs:[ebp + 0x73]
arpl word [edx + 0x69], si
jae 0x406db6
jb 0x406dbe
jo 0x406dcb
imul ebp, dword [edi + 0x6e], 0x66647220
cmp ah, byte [ecx + 0x62]
jb 0x406dc1
cmp ah, byte fs:[ecx + 0x62]
cmp ah, byte [ecx + 0x62]
outsd dx, dword [esi]
jne 0x406dd8
cmp eax, 0x78202222
insd dword es:[edi], dx
insb byte es:[edi], dx
outsb dx, byte [esi]
jae 0x406da8
js 0x406ddd
jo 0x406dbf
dec ebp
dec ebp
cmp eax, 0x74746822
jo 0x406db4
das
das
outsb dx, byte [esi]
jae 0x406dad
popal
outsd dx, dword fs:[esi]
bound esp, qword [ebp + 0x2e]
arpl word [edi + 0x6d], bp
das
js 0x406dec
jo 0x406dbc
xor dword [esi], ebp
xor byte [edi], ch
insd dword es:[edi], dx
insd dword es:[edi], dx
das
and ah, byte [eax]
js 0x406e05
insb byte es:[edi], dx
outsb dx, byte [esi]
jae 0x406dd6
jae 0x406e12
push edx
cmp ax, 0x6822
je 0x406e1a
push 0x3a707474
jo 0x406de2
das
das
outsb dx, byte [esi]
jae 0x406ddb
popal
outsd dx, dword fs:[esi]
bound esp, qword [ebp + 0x2e]
arpl word cs:[edi + 0x6d], bp
outsd dx, dword [esi]
insd dword es:[edi], dx
das
js 0x406e1a
popal
jo 0x406dea
xor dword [esi], ebp
xor byte [edi], ch
xor byte cs:[edi], ch
das
jae 0x406e15
jns 0x406e33
das
push edx
jae 0x406e38
jne 0x406e3d
arpl word [ebp + 0x52], sp
and sp, word gs:[edx]
and byte [eax + 0x6d], bh
insb byte es:[edi], dx
outsb dx, byte [esi]
jae 0x406e13
cmp bh, byte [eax + 0x6d]
js 0x406e48
jo 0x406e1a
and ch, byte [eax + 0x74]
je 0x406e52
cmp ch, byte [edi]
das
outsb dx, byte [esi]
jae 0x406e16
popal
outsd dx, dword fs:[esi]
outsd dx, dword [esi]
bound esp, qword [ebp + 0x2e]
arpl word [edi + 0x6d], bp
arpl word cs:[edi + 0x6d], bp
das
js 0x406e55
jo 0x406e25
xor dword [esi], ebp
xor byte [edi], ch
and ah, byte [eax]
js 0x406e6b
jo 0x406e4d
dec ebp
cmp cl, byte [edi + 0x72]
imul esp, dword [edi + 0x69], 0x446c616e
outsd dx, dword [esi]
arpl word [ebp + 0x6d], si
imul ebp, dword [bp + 0x61], 0x636f446c
jne 0x406e7c
outsb dx, byte gs:[esi]
je 0x406e5c
dec ecx
inc esp
cmp eax, 0x706d7822
imul esp, dword fs:[edx + edi + 0x32], 0x44314638
and bh, byte [eax + 0x6d]
js 0x406e85
jo 0x406e48
imul esp, dword fs:[edx + edi + 0x32], 0x44314638
xor byte [ecx], dh
aaa
cmp byte [ecx], bh
xor byte [edx + 0x45], al
xor dword [ecx], esi
xor dword [ecx + 0x45], eax
cmp dword [eax], edi
cmp byte [ecx], dh
aaa
xor dword [edi], esi
inc ebx
inc ebp
xor dword [ebp + 0x42], eax
inc ebp
inc edx
inc ecx
inc esi
cmp byte [ecx], dh
and ah, byte [eax]
js 0x406eaf
xor dword [edx], esp
and byte [eax + 0x6d], bh
jo 0x406e91
dec ebp
cmp al, byte [edi + ebp*2 + 0x63]
jne 0x406eb8
arpl word [ebp + 0x6d], si
outsb dx, byte gs:[esi]
je 0x406e98
inc esp
js 0x406ec1
jo 0x406e84
imul esp, dword fs:[edx + edi + 0x30], 0x44353346
xor esi, dword [0x37443644]
inc esi
je 0x406ee8
xor esi, dword [0x36443644]
xor eax, 0x43334338
inc ebx
outsd dx, dword [esi]
js 0x406f57